Placeholder Image Generator
Create “W×H” placeholder boxes as SVG for wireframes, prototypes and missing-image fallbacks. Set the size, background and text colour, and override the label.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
The SVG that comes back
Give a width and height and the tool returns an SVG as a base64 data URI: a filled rect with a monospace label centred on it. The output renders as an image preview and is also offered as a downloadable placeholder.svg file, so you can save it once and reuse it across a layout.
Filling a wireframe or broken image
Use it while a design or a real asset is still being produced. Drop a box of the right size into a mockup to hold the space, or wire it up as a missing-image fallback so a blank spot shows the intended dimensions instead of a broken icon.
Options that shape the box
Width and height set the canvas in pixels, clamped between 16 and 4000. Background and text colour accept any hex value such as #e2e8f0. The label overrides the default WxH caption, and font size defaults to auto — roughly a sixth of the smaller side, never below 8 points — or a fixed number up to 400.
What is fixed and what it expects
Colours must be real hex (3 to 8 digits) or the tool errors rather than emitting a malformed SVG. Width and height outside 16 to 4000 are rejected the same way. The label is escaped so characters like & or < never break the markup.
Generated locally, nothing fetched
The SVG is built by string concatenation in this tab and encoded to base64 in place. Nothing is requested from placeholder services such as via.placeholder.com, so it works offline and never transmits your layout choices.
Questions
Why SVG instead of PNG?
SVG is text — a few hundred bytes, infinitely scalable, and it can be committed to a repo or inlined into HTML. No raster generation is needed.
Can I use any colours?
Any hex colour works. The image is generated in your browser, so nothing is fetched from placeholder services like via.placeholder.com.
How do I control the size of the caption text?
Leave font size at 0 and the tool picks one automatically — about a sixth of the shorter side, with a floor of 8. Set a number instead to pin the size in points, up to 400, and the label stays centred on both axes in a monospace face.
Related tools
See categoryQR Code Generator
Generate QR codes for text, URLs, Wi-Fi, email, SMS and locations as crisp SVG.
Data URI Converter
Encode text or an image as a data: URI, or decode a data: URI back to text or an image file.
Resize Image
Resize images by percentage or to exact dimensions, entirely in your browser.
Barcode Generator
Create Code 128, Code 39, EAN-13/8, UPC-A, ITF-14 and DataMatrix barcodes as crisp, scannable SVG.