Skip to content

Placeholder image generator

Generate a placeholder image at any size, background color and label text, and download it as PNG, JPEG or SVG. Nothing is uploaded.

Files are processed on your device and never uploaded to a server.

px
px

1 to 4,096 px per side.

Common sizes
Appearance
#
#
px

Placeholder image

Dimensions
800 x 600
Format
PNG
File size
-

How it works

A placeholder image generator draws a plain rectangle of a chosen size and color, with a label, so designers and developers have a stand-in image before the real one is ready, without needing a placeholder service or a network request.

  1. Set a size

    Type a width and height, or pick a common preset like an OG image or Instagram post.

  2. Pick colors and a label

    The preview updates as you type. Leave the label blank to show the pixel size instead.

  3. Download or copy

    Save the file, or copy the data URI or a ready-to-paste <img> tag.

PNG, JPEG or SVG

All three formats are generated locally in your browser with the Canvas and SVG APIs; no image is ever sent to a server.

  • PNG: lossless, supports transparency-free flat colors cleanly, and is the safest default for mockups.
  • JPEG: usually a smaller file for a photo-like image, but placeholder rectangles compress about the same either way, so PNG is normally the better choice here.
  • SVG: resolution-independent markup that scales to any size with no quality loss and no pixel cap, ideal when the same placeholder needs to work at several sizes.

Nothing leaves your device

The image is drawn entirely on an HTML canvas or built as SVG text in your browser. Downloading, copying the data URI and copying the <img> tag all work offline once the page has loaded.

Frequently asked questions

How do I create a placeholder image for a wireframe or mockup?

Enter a width and height, or click a preset, then pick a background and text color and an optional label. The preview and the download update live as you change any field. Click Download for a file, or Copy for the data URI shown below the preview.

How do I use a placeholder image inline in HTML without a separate file?

Click Copy to copy the data URI from the output box, or click Copy <img> tag for a ready-to-paste element such as <img src="data:image/png;base64,..." width="800" height="600" alt="Placeholder">. Paste either directly into your HTML; no server or file reference is needed.

What common size presets are available?

OG image (1200x630), Instagram post (1080x1080), YouTube thumbnail (1920x1080), Twitter header (1500x500), Phone screen (375x812), App Store screenshot (1290x2796), iPad (768x1024) and Instagram story (1080x1920). Click any preset to apply those dimensions, then customize colors and text.

Can I generate an SVG placeholder instead of a raster image?

Yes. Choose SVG from the File format list. The output is a small, properly escaped <svg> element with a background rectangle, optional diagonal guide lines and a text label. SVG is resolution-independent and has no pixel size cap, unlike PNG or JPEG.

What is the maximum image size this tool can generate?

Width and height are each capped at 4,096 px for PNG and JPEG, because very large canvases can exhaust GPU texture memory on low-end devices and produce a blank output. For a placeholder larger than about 2,048 px on a side, use the SVG format instead, which has no pixel resolution limit.