Placeholder Image Generator

Create sized placeholder images for mockups, PNG, SVG or a copy-paste data URI.

Adjust the settings to preview.


Placeholder preview

Features

  • Any size up to 4000×4000
  • Eight common presets for social and ad formats
  • Custom text, colours and font size
  • PNG and SVG export
  • Copy a data URI or a complete img tag

How to use it

  1. Set the dimensions, or pick a preset.
  2. Add text, or leave it blank to show the size.
  3. Choose your colours.
  4. Download, or copy a data URI to paste into your code.

Placeholder images and layout stability

The main reason to use correctly sized placeholders during development is Cumulative Layout Shift. If an image has no dimensions, the browser cannot reserve space for it, so everything below jumps down when it finally loads. That is measured by Core Web Vitals and it is genuinely annoying to use. Always set explicit width and height attributes, or an aspect-ratio in CSS, and the browser reserves the right box before a single byte of the image arrives.

The data URI option is useful but has a real cost. Embedding an image directly in your HTML or CSS avoids a network request, which is worth it for tiny assets. But Base64 encoding inflates the data by roughly 33%, the bytes cannot be cached separately from the document, and a large data URI bloats every page load. As a rough guide, inline anything under about 2 KB and link to everything larger.

SVG is usually the better format for placeholders specifically. It stays crisp at any size, and a solid-colour rectangle with a line of text compresses to a few hundred bytes, far smaller than the equivalent PNG. It is also editable as plain text, so you can adjust the colour in your editor without regenerating anything.

Frequently asked questions

Yes, completely. Placeholder Image Generator is free with no usage limits, no account and no sign-up. There is no paid tier and no trial that expires. Tools marked Premium on this site carry that label to indicate a deeper feature set, not a price.
Placeholder Image Generator covers any size up to 4000×4000, eight common presets for social and ad formats, custom text, colours and font size, among other things. Everything is available immediately with no account, no sign-up and no usage limit.
The main reason to use correctly sized placeholders during development is Cumulative Layout Shift. If an image has no dimensions, the browser cannot reserve space for it, so everything below jumps down when it finally loads. That is measured by Core Web Vitals and it is genuinely annoying to use. Always set explicit width and height attributes, or an aspect-ratio in CSS, and the browser reserves the right box before a single byte of the image arrives.
Everything happens inside your browser. The text you enter is processed by JavaScript running on your own device and is never sent to a server, there is no backend to send it to. You can confirm this in your browser's Network tab while you use the tool. Because nothing depends on a server, the tool also keeps working offline once the page has loaded, the site registers a service worker that caches it after your first visit.

Related tools

Further reading

📖 Placeholder Images: Why Designers Use Them and How to Generate One

Read the full guide on the 123MiniApps blog.

Pick a theme

Ten hand-tuned palettes.