Placeholder Image Generator
NEWGenerate placeholder images of any size with custom colors and text, as PNG or SVG.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
Presets
Quick Examples
Typical inputs and the results this tool produces.
Overview
A placeholder image is a neutral stand-in picture that holds the space of a real photo while you design or develop a page. Designers use them in mock-ups, front-end developers in templates and tests, and writers in documentation — a clearly labelled grey box with its own size on it makes layout problems easy to spot.
This placeholder image generator creates one for any width and height up to 4096 px. Choose the background and text colours, keep the default "W × H" label or write your own text, and export PNG, JPG, WebP or a tiny vector SVG. You also get the image as a data URL and a ready-to-paste <img> tag, so it works without hosting anything.
Everything is rendered in your browser, so there is no external placeholder service, no request to a third party and no tracking — and the images work offline.
Why use this tool?
- No dependency on an external placeholder URL that can go down
- Exact pixel sizes with presets such as 150×150, 300×200 and 1200×630 Open Graph
- Data URL and <img> tag to paste straight into HTML
- PNG, JPG, WebP or a few-hundred-byte SVG
- Private and offline-friendly
Features
Any size
Width and height from 1 to 4096 px with common presets one click away.
Custom colours
Pick the background and text colours, optionally add diagonal cross lines.
Smart label
Defaults to "W × H", auto-fits the font size, or lets you set both yourself.
Four formats
PNG, JPG, WebP and SVG, with a quality slider for JPG and WebP.
Data URL and <img> tag
Copy a self-contained data URL or a complete image tag with width, height and alt text.
Live preview
The image and the file size update as you type.
How to Use
Set the size
Enter a width and height or click a preset such as 1200×630.
Choose colours and text
Pick background and text colours; leave the text empty to show the size.
Select a format
PNG, JPG and WebP for raster images, SVG for a tiny scalable file.
Copy or download
Copy the data URL or <img> tag, or download the image file.