Skip to content
hateitall

Placeholder Image Generator

Make a placeholder image at the exact size your layout needs, without relying on an outside image service.

Processed locallyIn: Width, Height, Colour, TextOut: PNG, JPEG, WebP, SVG, Data URI

Loading tool…

How to use placeholder image generator

  1. Pick a preset or type the width and height in pixels.

  2. Set the background and text colours, and a label if you do not want the dimensions shown.

  3. Choose PNG, JPEG, WebP or SVG.

  4. Make the placeholder, then download it or copy it as a data URI.

What this tool does

  • Any size from 1 to 8,000 px on each side.
  • Scales the label to fit the image, and can draw diagonal guide lines.
  • Exports SVG for a tiny file that stays sharp at any size.
  • Gives a data URI you can paste straight into HTML or CSS during prototyping.

How the result is verified

Raster files are decoded again and must come back at exactly the requested width and height; SVG output is parsed again to make sure it is valid.

Frequently asked questions

Why not just use an online placeholder URL?

Hosted placeholder services can go down, slow your page or log your traffic. A file you generate once works offline and never changes.

Which format should I pick?

SVG for mockups in code, PNG for design tools, and JPEG or WebP when a form insists on a photo format.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Encode an image as a Base64 data URI for HTML or CSS

PNG · JPEG · WebP +→ Data URILight on device

Resize by pixels, percentage, or platform preset with contain/cover/stretch modes and upscale warnings.

PNG · JPEG · WebP→ PNGLight on device

PNG, JPEG, and WebP conversion with explicit transparency handling and per-file batch results.

PNG · JPEG · WebP +→ PNGLight on device