About the Placeholder Image Generator
The Placeholder Image Generator draws a solid-color image at the exact dimensions you set, with its size or your own label printed in the middle. Designers and developers drop these into layouts, prototypes and templates while the real images are still being made.
How it works
The tool sets a canvas to your width and height, fills it with the background color, and writes the label centered in the text color. If you leave Custom text empty, the label is the dimensions, for example 600 × 400. The font size is 8% of the shorter side, with a minimum of 12 pixels, so the label stays proportionate on both banners and thumbnails.
Download PNG exports the canvas as a PNG file named after its size, such as placeholder-600x400.png. The copy button next to "Copy as data URL" copies a data:image/png;base64 string you can paste straight into an img src attribute.
How to use
- 1
Enter a Width and Height, or click a preset such as 800x600 or 1200x630.
- 2
Optionally type a label in the Custom text box.
- 3
Choose Background and Text colors with the color pickers.
- 4
Click Download PNG, or use the copy button to grab a data URL.
Worked examples
Default blog image slot
A 600 × 400 slot in a card layout.
Font size = 8% of 400 = 32 pixels.
Social sharing image
Testing how a link preview will look.
8% of 630 is 50.4 pixels.
Frequently asked questions
Can I specify the exact pixel dimensions I need?+
Yes. Width and height can each be any value from 1 to 4000 pixels.
Why use a placeholder image instead of a blank box?+
A real image at the target size behaves exactly like the final one in your layout, and the printed dimensions show collaborators what size to deliver.
What does the image say if I leave the text empty?+
It shows its own dimensions, for example 800 × 600.
Can I link to the placeholder instead of downloading it?+
There is no hosted URL, but you can copy the image as a data URL and paste it directly into HTML.
What file format is the download?+
PNG, named placeholder-WIDTHxHEIGHT.png.