Placeholder Image Generator
Image Tools · Added
Every mockup needs images before the real ones exist. The usual answer is a hotlinked placeholder service, which puts a third party in your layout, breaks when you are offline, and quietly tells someone else what you are building. This draws the image on a canvas in your browser and hands you the file, so the placeholder is a real asset that keeps working.
Your placeholder image
- Dimensions
- 800 × 450pixels
- Aspect ratio
- 16:9
- File size
- —as PNG
Details
- Label
- 800 × 450
- Background
- #475569
- Text colour
- #ffffff
- Text contrast
- 7.58:1
- Font size
- 45 px
- Filename
- placeholder-800x450.png
The image is drawn on a canvas in your browser and saved straight from it — nothing is uploaded, and no external placeholder service is called, so the images keep working when you are offline and do not leak your layout to anyone.
How to use the placeholder image generator
- 1Choose a common size or type any width and height in pixels.
- 2Set the background colour, and leave the text colour blank to have black or white chosen for readability.
- 3Replace the label if you want something other than the dimensions, and adjust the text size as a percentage of the shorter side.
- 4Pick a format and download. PNG is the right default for flat colour and text.
Examples
A card image
- Input
- 800 x 450, background #475569
- Result
- A 16:9 PNG labelled 800 × 450, a few kilobytes in size
Flat colour compresses to almost nothing in PNG, so a placeholder never distorts a page-weight measurement.
A social share image
- Input
- 1200 x 630, custom label
- Result
- An Open Graph sized image with your own text
Useful for checking how a card crops before the real artwork exists.
An avatar row
- Input
- 200 x 200, diagonal cross on
- Result
- A square placeholder that is obviously not real content
The cross is the conventional marking, and it stops a reviewer mistaking the placeholder for a finished asset.
About the placeholder image generator
What a placeholder is for
A placeholder is not decoration; it is a measuring device. It occupies the space the real image will occupy so that the rest of the layout behaves the way it eventually will — text wraps at the right point, the grid reflows at the right breakpoint, and the page does not jump when the real asset arrives. Get the dimensions right and the mockup tells you something. Get them wrong and it tells you about a layout that will never exist.
This is also why the reserved space matters beyond the mockup. An image without width and height attributes causes the content below it to shift as it loads, which is what Cumulative Layout Shift measures. Building the layout against correctly sized placeholders makes it obvious whether the space is being reserved properly.
Making one that reads as a placeholder
The one thing a placeholder must never do is look finished. A tasteful grey rectangle in a review meeting gets mistaken for a design decision; a rectangle with its dimensions written across it and a diagonal cross through it does not. That marking is a convention worth keeping precisely because it is slightly ugly — its job is to be unmistakably temporary.
Mid-tone backgrounds work better than very light ones for the same reason. A near-white placeholder is hard to tell from an empty slot, so it fails to show you that the slot is there at all, which was the point.
Where this fits with the other image tools
This one creates an image; the rest of the image tools on this site transform one you already have. If you need the placeholder at several sizes for a responsive srcset, generate the largest and put it through the image resizer. If you are checking how a real photograph will crop into a slot, the cropper is the tool for that, since a flat rectangle cannot tell you whether a face survives the crop.
For the aspect ratios themselves — working out what height goes with a width to keep 16:9, or what a 3:2 photograph becomes in a 4:5 frame — the aspect ratio calculator does the arithmetic, and the result can be typed straight into the dimensions here.
Frequently asked questions
Why generate a file instead of using a placeholder URL?
What size should a placeholder be?
Why does the label default to the dimensions?
Which format should I choose?
Is the image uploaded anywhere?
Related tools
Image Resizer
Image Tools
Resize images by pixels or percentage, with the aspect ratio locked by default.
Aspect Ratio Calculator
Calculators
Resize without distortion, identify the ratio of any size, or fit an image inside a box.
Favicon Generator
Image Tools
Generate a full favicon set at every size a modern site needs.
Image Color Picker
Image Tools
Click any point in an image to read its colour, and pull out the palette behind it.