Placeholder Image Generator
Create a placeholder image of the exact size you need and download it as a PNG.
Options
Set width and height, a background colour, a text colour and an optional custom label. If you leave the label blank, the image shows its size as WxH.
How to use it
- Enter the width and height.
- Choose colours and an optional label, then press Generate.
- Press Download PNG.
Common use cases
- Layout mock-ups and wireframes.
- Testing responsive images.
- Filling sample content in demos.
Options and limits
Width and height accept 16 to 4000 pixels each, and the preview redraws as you type. The default is 600 by 400 with a blue background (#2563eb) and white text. The label is drawn in bold sans-serif, centred, with a font size of one eighth of the shorter side (never below 14 px), so very long labels can overflow narrow images. If you leave the label empty it shows the dimensions, for example 600 x 400. The download is named placeholder-600x400.png, using the size you generated.
The image is drawn on a canvas in your browser at exactly the requested pixel size, so a 1200 by 630 image is really 1200 by 630. There are no gradients, patterns, rounded corners or image-type options; it is a flat colour with one line of text, and PNG is the only output.
Sizes worth keeping in your toolbox
- 1200 × 630: the common size for Open Graph and social link previews.
- 1920 × 1080: full-HD hero banners and 16:9 video posters.
- 400 × 300: card thumbnails at 4:3.
- 150 × 150 or 64 × 64: avatar placeholders.
- 728 × 90 and 300 × 250: classic ad slots for layout tests.
To test responsive images, generate the same picture at two or three widths with different labels, such as 480w, 800w and 1600w, and use them in a srcset. When the browser picks a file, the label tells you which one it chose.
Good practice
Choose a text colour with enough contrast so the label stays readable on screenshots. Give placeholders a different background colour per slot (hero, thumbnail, avatar) to spot where each image appears. Do not ship placeholder files to production: replace them before launch, and give real images meaningful alt text. Because PNGs of flat colour compress very well, these files are small even at large dimensions.
Using a placeholder in HTML
Always set width and height attributes on the <img> tag to the real dimensions of the file. The browser then reserves the right space before the image loads, which prevents layout shift, and you will notice straight away when the real image has a different aspect ratio from the placeholder you designed around.
Frequently asked questions
Can I set a label?
Yes, with Custom label. Otherwise the size is shown.
What format is the download?
PNG.
Is the image made on my device?
Yes.
Is my data uploaded?
No. This tool runs entirely in your browser, so what you type or paste is not sent to our servers.
What is the largest image I can create?
Up to 4000 by 4000 pixels.
Can I get JPEG, SVG or WebP?
No, the tool saves PNG only.