Placeholder Image Generator: Any Size, Any Colour, PNG, JPG or SVG
Need a stand-in picture for a layout, a mock-up or a test? Enter a width and a height, choose a background and text colour, type a label or keep the automatic size label, and save the file. It is created here on your device, so no address of an outside image service ever has to appear in your code.
- Free Forever
- No Login
- No File Uploads
- Browser Processing
Text is drawn with fonts already installed on your device (no fonts are downloaded), so its exact look can differ between a phone, a Mac and a Windows PC. The saved picture keeps the look you see here.
Why make placeholders yourself
Designers and developers use grey boxes with a size on them all the time: they hold the place of a photo until the real one exists, and the printed size reminds the whole team how big the final picture must be. Many people fetch such pictures from a web service by putting its address in the page. That works, but it makes your page depend on someone else's server, it leaks to that server that your page was opened, and it breaks when you are offline. A file you made yourself has none of those problems.
The generator draws a flat background, an optional pair of diagonal lines (the traditional "image goes here" cross) and a centred label. The label defaults to the size, for example 600 × 400, and the text is scaled automatically so it fits inside the picture; you can type your own words or switch the label off. PNG is a good general choice, JPG gives a smaller file for large flat pictures, and SVG is tiny, scales to any size and is often the best format for a web layout. Because an SVG file stores the text as text, it is shown in the fonts of the device that opens it.
For PNG and JPG there is a limit of 16 million pixels (for example 4000 by 4000), because phone browsers cannot draw a bigger canvas. An SVG does not have that limit as it holds only a few lines of text, and the longest side is capped at 5000 for all formats to keep the preview responsive.
- Any width and height from 1 to 5000 pixels, with eight common size presets.
- Background and text colour pickers, an automatic or custom text size, and an optional diagonal cross.
- A label of your own, the size as a label, or no label at all.
- Save as PNG, JPG or SVG; the SVG is a few hundred bytes.
- Label text in SVG is escaped, so what you type can never become code.
- No web request is made to create the picture.
How to use the Placeholder Image Generator
- Type a Width and Height, or press a size preset.
- Choose the Background and Text colours, and write a label if you want one.
- Pick PNG, JPG or SVG as the format.
- Press Download placeholder.
Is it private?
Nothing leaves your device. The picture is built in your browser from the values you type, with no photo involved and no storage, and it exists as a file only if you press Download.
Read our tools privacy policy →
Frequently asked questions
How do I make a placeholder image of 600 × 400?
Type 600 for the width and 400 for the height, or press the 600 × 400 preset, pick your colours and download. The label shows the size unless you change it.
Why is SVG often the best format for a placeholder?
An SVG is a few lines of text, so it is tiny, it stays sharp at any size and the label remains editable in a code editor. Use PNG or JPG when a tool needs a raster picture.
Does it contact an image service?
No. The picture is drawn in your browser from the numbers you enter. No outside address is used or needed.
What is the biggest size I can make?
The longest side can be 5000 pixels. PNG and JPG are also limited to 16 million pixels in total because phone browsers cannot draw more; SVG has no pixel limit.
Why does the text look different in the SVG?
In the SVG the label is real text, so the device that opens it chooses the font. PNG and JPG fix the letters at the time of saving.