Placeholder Image Generator

Make an exact-size image for a mockup, CMS test or layout. Choose a label and colors, then download a file or copy a self-contained SVG embed. Image generation runs locally in your browser.

Choose settings, then generate an image.

Image settings

Size

Whole numbers, 1 to 4,096. Final output must stay within 4,096 px per side and 8 million pixels. A fixed ratio calculates height from width, rounded to a whole pixel.

Colors and style

Use 3 or 6 hex digits, with or without #.

Label and layout

Up to 240 text units and 6 lines. Emoji can use more than one unit. Add your own line breaks; lines do not wrap automatically.

Manual range: 1 to 256. Auto-fit uses up to 64 px and shrinks the label to fit. Very small images may not have room for legible text.

Preview and export

The generated image is described in the result summary below.

Preview is scaled to fit. Checkerboard means transparency and is never exported.

Generate an image to see its dimensions and memory estimate.

SVG keeps vector shapes and editable text. Fonts are not embedded.

Self-contained embed code

Describe its purpose, or leave blank for a decorative image. Used only in HTML code.

Code always embeds SVG, regardless of the download format. A data URI contains the image itself; it is not a hosted public URL. Upload a downloaded file to your own site if you need a public image URL.

How to create a placeholder image

  1. Choose a preset or enter a width and height. Use a fixed aspect ratio when you want height calculated from width.
  2. Set colors, style and label. Custom labels accept explicit line breaks; auto-fit reduces the font size when needed.
  3. Select Generate image to apply your settings. Review the dimensions, contrast note and any warnings.
  4. Choose a download format, prepare the file, then use the download link. Alternatively, copy the SVG embed code into your prototype.

Dimensions, density and file size

An 800 × 600 image at 2x exports at 1600 × 1200 pixels while the label and HTML width/height still describe an 800 × 600 layout slot. Density changes pixel dimensions, not a guaranteed print resolution. Exported SVG has those intrinsic output dimensions with a logical viewBox. SVG remains scalable.

The 8-million-pixel limit bounds the work, but your device may still fail to encode a large image. The displayed RGBA estimate is pixels × 4 bytes for one raw bitmap, not download size or total browser memory. Preview, encoding copies and browser overhead use additional memory. Reduce dimensions or use SVG if a raster export fails.

Choose an output format

SVG is compact for these shapes and labels. PNG is lossless and retains transparency. JPEG loses transparency, so this tool adds a white background wherever the image is transparent. WebP support and JPEG/WebP quality depend on the browser. If the browser returns a different format, the tool reports it instead of giving the file an incorrect extension. Exact file sizes are known only after preparation.

Rendering and accessibility limits

Generic fonts, emoji and complex-script shaping depend on installed fonts and the browser. SVG text can look different on another device; use PNG to preserve the raster appearance. Tiny images and manually oversized labels can clip text. Explicit left and right alignment are physical positions; choose the direction separately for right-to-left text.

The contrast result compares your solid text and background colors using the WCAG contrast method. It cannot certify a whole image, patterned area or transparent image on an unknown background. Provide appropriate alternative text when using an image in a page. A site's content security policy may disallow data images or pasted inline SVG, in which case host a downloaded file instead.

Local image processing and privacy

The generator does not upload, send, or store your entered labels, settings or generated image. It uses local canvas and SVG, without a remote image service or external fonts. The surrounding website may use its usual analytics. Clipboard access happens only when you press Copy code; if it is unavailable, Select code lets you copy manually. Reset restores defaults. Reloading closes temporary download URLs and clears the generator state.

Technical references: browser canvas serialization and SVG text positioning.