Placeholder Image Generator

Make placeholder images at any size and colour, as SVG, PNG or a data URI you can paste straight in.

The Placeholder Image Generator runs entirely in your browser. The SVG is built and rasterised on your device, and nothing is uploaded.

Open the Open Graph Generator

About Placeholder Image Generator

Placeholder services put a network request in the middle of a layout you are still designing, and a page full of them is slow, offline-hostile and one outage away from broken. Generating the same grey rectangle locally removes the dependency entirely: the result is an SVG you can save, rasterise to PNG, or paste as a data URI that needs no request at all. Sizes cover the ones people actually reach for — social cards, ad units, avatars, hero banners — and the label defaults to the dimensions, which is exactly what you want while a grid is being debugged. Colours, corner radius and the wireframe cross are all adjustable.

Features

How to use the Placeholder Image Generator

  1. Set the width and height, or pick one of the presets
  2. Choose colours and a label, or leave the dimensions as the label
  3. Copy the data URI, or download an SVG or PNG
  4. Paste the HTML, CSS or JSX snippet straight into your layout

Example

Input

1200 × 630 · #e5e7eb background

Output

<img src="data:image/svg+xml,%3Csvg…" width="1200" height="630" alt="" />

An Open Graph card placeholder as a data URI — no request, no outage, and it renders identically offline.

Common errors & troubleshooting

Frequently asked questions

How do I make a placeholder image of a specific size?
Type the width and height above and the image is generated immediately. Download it as SVG or PNG, or copy the data URI to paste directly into markup.
Why use a data URI instead of a placeholder service?
It removes a network request per image, works offline, and cannot break when a third-party service goes down or starts rate-limiting. For a page of forty placeholders that is forty fewer requests during development.
SVG or PNG for placeholders?
SVG for anything on screen — it is a few hundred bytes and stays sharp at any size. PNG when a tool insists on a raster image, such as a design app or an image field that validates the file type.
What size should an Open Graph image be?
1200 by 630 pixels, which is the preset here. It is the size Facebook, LinkedIn and most link-preview renderers crop to, giving a 1.91:1 card.
Can I use the generated images in production?
Yes. The output is plain SVG or PNG that you own outright — there is no attribution requirement and no external dependency once the file or data URI is in your project.

Related tools

All ArrayKit tools