Skip to content
Toolbento

Placeholder image generator

Make a dummy image of any size and colour, as SVG, PNG or a data URI to paste into code.

Everything stays on this device

Placeholder image generator runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

600 by 400 pixels. Sizes go up to 4,000.

Preview

Placeholder image, 600 by 400

Use it in code

  • HTML
    <img src="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22600%22 height=%22400%22 viewBox=%220 0 600 400%22%3E%3Crect width=%22100%25%22 height=%22100%25%22 fill=%22%23d4d4d8%22/%3E%3Ctext x=%2250%25%22 y=%2250%25%22 fill=%22%233f3f46%22 font-family=%22system-ui, sans-serif%22 font-size=%2292%22 font-weight=%22600%22 text-anchor=%22middle%22 dominant-baseline=%22central%22%3E600 %C3%97 400%3C/text%3E%3C/svg%3E" width="600" height="400" alt="">
  • CSS
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22600%22 height=%22400%22 viewBox=%220 0 600 400%22%3E%3Crect width=%22100%25%22 height=%22100%25%22 fill=%22%23d4d4d8%22/%3E%3Ctext x=%2250%25%22 y=%2250%25%22 fill=%22%233f3f46%22 font-family=%22system-ui, sans-serif%22 font-size=%2292%22 font-weight=%22600%22 text-anchor=%22middle%22 dominant-baseline=%22central%22%3E600 %C3%97 400%3C/text%3E%3C/svg%3E");
  • Data URI
    data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22600%22 height=%22400%22 viewBox=%220 0 600 400%22%3E%3Crect width=%22100%25%22 height=%22100%25%22 fill=%22%23d4d4d8%22/%3E%3Ctext x=%2250%25%22 y=%2250%25%22 fill=%22%233f3f46%22 font-family=%22system-ui, sans-serif%22 font-size=%2292%22 font-weight=%22600%22 text-anchor=%22middle%22 dominant-baseline=%22central%22%3E600 %C3%97 400%3C/text%3E%3C/svg%3E
  • SVG
    <svg xmlns="http://www.w3.org/2000/svg" width="600" height="400" viewBox="0 0 600 400"><rect width="100%" height="100%" fill="#d4d4d8"/><text x="50%" y="50%" fill="#3f3f46" font-family="system-ui, sans-serif" font-size="92" font-weight="600" text-anchor="middle" dominant-baseline="central">600 × 400</text></svg>

Missing a feature or found a bug in Placeholder image generator? Tell me on X (@_andrewtran) or by email.

How to use Placeholder image generator

  1. Enter the width and height in pixels.
  2. Choose the colours and, if you wish, a label.
  3. Download the SVG or PNG, or copy the HTML.

Questions and answers

Is anything uploaded?

No. The image is drawn by your browser on this device.

Should I use SVG or PNG?

SVG is tiny and sharp at any size, and fits in a data URI. Use PNG where a tool needs a real bitmap.

What is the data URI for?

It is the whole image as text. Paste it as an image address and the placeholder works with no file and no network request.

Esc

Loading tools