Designs are usually built before the photography exists. The layout needs a hero image, three product shots and a banner, but the real pictures arrive next week — so designers drop in grey boxes to hold the spaces. Those boxes are placeholder images, and getting them at the right size matters more than it sounds: a stand-in with the wrong proportions makes a layout look right when it is actually wrong, and the problem only appears when the real photo lands and everything shifts. This generator makes exact-size placeholders in seconds, drawn and downloaded entirely on your device.
The faint diagonal cross and border are deliberate. They mark the image as a structural stand-in rather than a picture, the same convention wireframes have used for decades, so nobody in a review meeting mistakes the grey box for final artwork. The label in the middle shows the dimensions by default — the single most useful fact about a placeholder — or your own text if you type some: "Team photo", "Before / after", "Advertisement". When you present a mockup, those labels quietly explain what each space is waiting for.
Worked example: a shop owner is approving a homepage mockup and the designer needs a 1200 × 630 image for the sharing card and a 728 × 90 strip for a banner. Two preset clicks produce both, in the site's pale blue with slate text, downloaded as PNGs and dropped into the mockup. For the prototype she emails to the owner, she uses the data URL instead: the image travels inside the single HTML file, so nothing arrives as a broken attachment. When the real photos are ready, each placeholder is swapped one-for-one with no layout changes.
Common placeholder sizes
| Size | Typical use |
|---|---|
| 1920 × 1080 | Hero images and full-width banners |
| 1200 × 630 | Social sharing cards (Open Graph images) |
| 800 × 800 | Square product photos and grid tiles |
| 728 × 90 | Leaderboard banner adverts |
| 300 × 250 | Sidebar boxes and in-content adverts |
Choosing between the download and the data URL is simple. Download the PNG when the placeholder belongs to a real project: it is a normal file your CMS, design tool or developer can reference, compress and eventually replace. Use the data URL for throwaway work — a quick prototype, a single-file mockup, a test email — where keeping track of separate image files is more trouble than the extra text in the code. Very large data URLs make HTML files heavy, so for anything over about 1200 pixels wide, the file download is the better habit.
One design tip: match the placeholder to the crop, not just the size. If the final photo will be cropped by CSS into a wide strip, generate the placeholder at that strip's proportions, even if the original photograph is squarer. Layouts break on aspect ratio far more often than on pixel count, and a truthful placeholder exposes the problem while it is still cheap to fix.
Placeholders also earn their keep during responsive testing. Before any real artwork exists, fill a page with placeholders at the sizes each breakpoint will request — a wide 1920 × 1080 for desktop, a squarer crop for tablet, a tall one for phones — and resize the browser. You will see immediately whether the layout holds its shape, whether text wraps where it should, and whether the page jumps around as images load. Reserving the correct space with a truthful placeholder is also exactly how you prevent layout shift in the finished site: the browser knows the image's proportions before the file arrives.
And when the real images finally arrive, do a like-for-like swap and compare the page before and after. If the layout does not move at all, your placeholders did their job perfectly.
Frequently asked questions
What is a placeholder image?
A placeholder (or dummy) image is a temporary stand-in used while designing a page, before the real photos or graphics are ready. It holds the exact space and shape the final image will occupy.
Why not just use an online placeholder service?
Hosted services are handy but depend on their servers being up and load an external request for every image. A downloaded PNG or an inline data URL works offline, loads instantly and never changes or disappears.
What sizes can I generate?
Any width and height from 1 pixel up to 4000 × 4000. Preset buttons cover the common cases: full HD, social sharing cards, square posts and banner shapes.
What is the data URL for?
A data URL embeds the image directly in your HTML or CSS as text, so a mockup can be a single self-contained file with no image files to keep track of. It is ideal for prototypes and email-safe mockups.
Can I put my own text on the placeholder?
Yes. Type anything in the custom text box — a label like 'Hero image' or 'Product photo' — and it replaces the dimensions on the image. Leave it empty to show the size instead.
Which colours should I use?
A light grey-blue background with darker text is the classic choice because it is clearly not a real photo. Using your project's actual section colours also works well when presenting a mockup to a client.
Is the downloaded file a real PNG?
Yes. The preview is drawn on a canvas and exported as a standard PNG that opens in any image editor and works in every browser, CMS and design tool.
Can I use placeholders in client work?
Yes. The images are simple shapes and text generated from your settings; use them in mockups, wireframes and presentations, personal or commercial, without attribution.
Why does the text shrink on wide images?
The generator automatically reduces the font size until your text fits within 90% of the image width, so long labels stay inside the box instead of overflowing the edges.