HomeImage UtilitiesPlaceholder Image Generator

any size. instant image.

generate placeholder images with custom dimensions, colors, and text. download as PNG.

What this tool does

Generate a placeholder image at any pixel size, with custom background and text colors. Download as PNG, or copy as a data URI to drop directly into HTML or CSS.

Why placeholder images exist

When you are building a layout — wireframing a landing page, mocking up a card component, prototyping a feed — you usually have empty image slots before the real photography exists. You can either leave them blank, which makes the layout collapse and reads as broken, or fill them with stock photography, which biases the design toward whatever those specific images happen to look like.

A neutral placeholder occupies the space at the right dimensions, displays the dimensions on the image so you can verify your layout, and signals “this is filler” clearly enough that nobody confuses it for finished work.

Common sizes by use case

  • Hero image — 1920×1080 or 2560×1440 for full-bleed sections.
  • Card thumbnail — 600×400 for a standard 3:2 card image.
  • Avatar — 200×200, displayed at 80-100px.
  • Square feed image — 1080×1080 for Instagram-style feeds.
  • OG card — 1200×630 for Open Graph previews.
  • Featured article image — 1280×720 for 16:9 article hero shots.

The data URI option

Embedded directly in HTML or CSS, the data URI version skips a separate request:

html
<img src="data:image/png;base64,..." alt="Placeholder" />

Useful for prototype HTML files where you want everything in one self-contained document, for email templates that have to inline all assets, or for development environments where a separate placeholder asset would be one more thing to check in. The PNG file is also available for cases where the data URI approach is wrong (large images, externally- hosted templates, when you want a real asset path).

Browser-only generation

The image is rendered on a canvas in your tab and exported. No external service. The placeholder “industry” of via.placeholder.com and similar services exists only because not every codebase has access to a canvas primitive — a static site generator might. For ad-hoc placeholder generation in the browser, this tool is the simpler answer.

What this tool does

Generate a placeholder image at any pixel size, with custom background and text colors. Download as PNG, or copy as a data URI to drop directly into HTML or CSS.

Why placeholder images exist

When you are building a layout — wireframing a landing page, mocking up a card component, prototyping a feed — you usually have empty image slots before the real photography exists. You can either leave them blank, which makes the layout collapse and reads as broken, or fill them with stock photography, which biases the design toward whatever those specific images happen to look like.

A neutral placeholder occupies the space at the right dimensions, displays the dimensions on the image so you can verify your layout, and signals “this is filler” clearly enough that nobody confuses it for finished work.

Common sizes by use case

  • Hero image — 1920×1080 or 2560×1440 for full-bleed sections.
  • Card thumbnail — 600×400 for a standard 3:2 card image.
  • Avatar — 200×200, displayed at 80-100px.
  • Square feed image — 1080×1080 for Instagram-style feeds.
  • OG card — 1200×630 for Open Graph previews.
  • Featured article image — 1280×720 for 16:9 article hero shots.

The data URI option

Embedded directly in HTML or CSS, the data URI version skips a separate request:

html
<img src="data:image/png;base64,..." alt="Placeholder" />

Useful for prototype HTML files where you want everything in one self-contained document, for email templates that have to inline all assets, or for development environments where a separate placeholder asset would be one more thing to check in. The PNG file is also available for cases where the data URI approach is wrong (large images, externally- hosted templates, when you want a real asset path).

Browser-only generation

The image is rendered on a canvas in your tab and exported. No external service. The placeholder “industry” of via.placeholder.com and similar services exists only because not every codebase has access to a canvas primitive — a static site generator might. For ad-hoc placeholder generation in the browser, this tool is the simpler answer.

more free tools

PDF utilities, image tools, developer helpers — all free, no signup.

Something wrong?