Advertisement

Placeholder Image Generator

Make a placeholder image of any size in seconds — set dimensions, colours, shape, border, text and pattern, then download it as PNG, JPG, WebP or SVG (also @2x and @3x for Retina) or copy it as an <img> tag, Markdown, CSS or React code with the image inlined. No hot-linking, no upload.

Advertisement

Sizes:

Images are drawn in your browser. Nothing is uploaded, and the images are free to use anywhere without attribution.

Advertisement

Download it or inline it

Pick a format for the job. SVG is a few hundred bytes for a simple placeholder and stays sharp at any size. PNG keeps flat colours and text crisp and is the most widely accepted bitmap. WebP works in every current browser and is usually smaller than PNG, also for flat colours. JPG is for tools that insist on it: it has no transparency and can show banding on gradients. For bitmaps, choose @2x or @3x to get a sharp image on high-density screens at the same CSS size; very large images are scaled down to about 16 megapixels, the canvas limit of Safari and many phones.

Copy as gives you the image embedded as a data URI in the code you need: an <img> tag with width and height, Markdown for READMEs and docs, a CSS background-image with the matching aspect-ratio, or a React <img>. The SVG is URL-encoded rather than base64-encoded, so the code stays readable and is usually no larger than base64 would be.

Need a URL like /600x400?

Online placeholder services return an image for a URL such as /600x400. They are convenient until one of them shuts down or changes its URLs, and every mockup that hot-linked it breaks at once; they also add a third-party request to each page view. An inline data URI is a self-contained replacement: copy it once and it works offline, in prototypes, Storybook stories and test fixtures. Two exceptions: many email clients, Gmail included, don’t display data-URI images, so download a PNG for emails; and very large inline images make your HTML heavy, so download big ones as files.

Advertisement

Three meanings of “placeholder image”

Common placeholder sizes

UseSize (px)Ratio
Open Graph / link preview (Facebook, LinkedIn)1200 × 630≈ 1.91:1
X (Twitter) large image card1200 × 6002:1
Instagram square post1080 × 10801:1
Instagram portrait post1080 × 13504:5
Stories, Reels, TikTok1080 × 19209:16
YouTube thumbnail, HD video1280 × 72016:9
Full HD hero or slide1920 × 108016:9
Blog or card image600 × 400 / 800 × 6003:2 / 4:3
E-commerce product image1000 × 10001:1
Medium rectangle ad (MPU)300 × 2506:5
Leaderboard ad728 × 90≈ 8:1
Wide skyscraper ad160 × 6004:15
Mobile banner ad320 × 5032:5
Avatar / profile picture150 × 150 (circle)1:1

Social networks change their recommended sizes from time to time, so check the platform’s current specification before you produce final artwork.

Placeholders that don’t hurt your layout

Frequently asked questions

What is a placeholder image?

An image that stands in for the real one: a box of the right size and colour, often labelled with its dimensions, used in designs, prototypes and templates until the final picture is ready. The term is also used for fallback images shown when content has none, and for the blurred previews shown while an image loads.

What size should a placeholder image be?

The exact size of the final image, or at least its aspect ratio — 1200 × 630 for link previews, 1080 × 1080 for square posts, 1920 × 1080 for a full-width hero. Matching sizes show layout and cropping problems before the real images arrive.

Are the placeholder images free to use?

Yes. They are generated on your device from your own settings, so there is nothing to license: use them in commercial projects, templates and client work without attribution.

Can I make a transparent or round placeholder?

Yes. Tick Transparent background for PNG, WebP or SVG (JPG has no transparency and gets a white background), and choose the circle or rounded shape, with an optional border, for avatars and cards.

What is the largest size I can create?

Up to 4000 × 4000 pixels at @1x. Large PNG and WebP files take a moment to encode; SVG is instant at any size.

Related tools

Advertisement