Use this placeholder image generator to make dummy images at an exact size for a website, app, wireframe or presentation. Choose colors and a label, download a single file, or create a ZIP with several named images. PNG, JPEG, WebP and SVG are available, along with copyable SVG markup, data URIs and hosted SVG links.

Create placeholder images

Set a size, choose a design and download. Single images and batches are created in your browser.

Size
Design
Label Up to 200 characters and five lines. Tokens: {width}, {height}, {name}, {index}.
Typography
Text shrinks to fit. Labels are hidden below 40 x 24 px. Generic fonts can vary between devices.
Generated placeholder preview

Download
JPEG fills transparent areas with this color. PNG, WebP and SVG keep transparency.

Copy and embed

Hosted URLs and their labels are public and may appear in server logs. Use local files or data URIs for private labels. Hosted images are SVG only and intended for prototypes.

If copying is blocked, select the code above and copy it manually.
Batch images and ZIP download

One row per image: name,width,height,optional label. No header row. Quote labels containing commas. All rows inherit the design, density and file format above.

Maximum 20 images, 40 megapixels total for raster output. Each image: up to 6000 px per side and 20 megapixels after density. PNG, JPEG or WebP, up to 10 MB and 20 megapixels per file. This replaces the list with file stems and dimensions. Pictures stay on your device and are not included in the ZIP.

Logical sizes: 1-6000 px. Actual output: at most 6000 px per side and 20 megapixels. Downloads run locally. No account needed.

Share this?
WhatsApp X Telegram Facebook LinkedIn Reddit

How to create a placeholder image

  1. Enter the width and height. These are the intended display dimensions in pixels. Use a preset, swap the dimensions, or lock the ratio while resizing.
  2. Choose a design. Start with a solid background, diagonal wireframe, grid, gradient or image icon. Set the colors, corner radius and border.
  3. Set the label. Show the dimensions, add your own text, or remove the label. Custom text can include line breaks and an extra dimension line.
  4. Select a format and density. Choose 1x for matching display and file dimensions, or 2x/3x for a larger pixel file.
  5. Download the image. A save link remains available if your browser does not start the download automatically.

The preview updates as you change the settings. Its on-page size is limited to fit your screen; the size below it tells you the actual dimensions of the exported file. A checkerboard indicates transparency and is not part of the image.

Choose the right placeholder format

FormatUseful forWhat to know
PNGClear labels, wireframes and transparent assetsLossless output. Quality settings do not change the PNG export.
JPEGTesting a layout that expects .jpg filesNo transparency. Transparent areas and rounded corners use the chosen JPEG matte color.
WebPCompact raster placeholders with transparencyQuality is adjustable. Encoding support depends on the browser; an unsupported encoder produces an error.
SVGScalable mockup assets, inline code and hosted linksVector shapes remain scalable. Text uses generic fonts and can look slightly different on another device.

Keep PNG or SVG when crisp edges matter more than matching a particular raster format. Use JPEG when you need to test how an opaque image behaves. A placeholder does not predict the file size or compression quality of the final photograph.

Image dimensions, aspect ratio and 2x output

Width and height define the shape of the image. A 600 x 400 placeholder has a 3:2 aspect ratio. A 1280 x 720 placeholder is 16:9. If a card needs a square image, use equal dimensions rather than stretching a wide image into the slot.

Export density changes the pixel dimensions of the file while keeping its intended display size. For example, a 600 x 400 image at 2x exports at 1200 x 800 pixels. The copied HTML still declares width="600" and height="400". This lets you test a sharper raster asset without doubling the space it occupies in the layout.

The generator accepts whole-number logical dimensions from 1 to 6000 pixels. After density is applied, each side must stay within 6000 pixels and the image must contain no more than 20 million pixels. If a combination exceeds a limit, reduce the size or density. SVG exports follow the same size limits even though their shapes are vectors.

Custom labels and design controls

A dimension label makes it easy to see which asset belongs in each slot. For a more useful wireframe, switch to custom text and name the content: Product photo, Article cover or Team portrait. Use up to 200 characters across five explicit lines.

These tokens are replaced when an image is created:

  • {width} and {height}: the logical dimensions.
  • {name}: the safe output filename stem.
  • {index}: the position in a batch, starting at 1.

For example, {name}: {width} x {height} produces different labels for different batch rows. Text wraps and shrinks to fit the available area. Automatic font sizing chooses a starting size; turning it off uses your specified maximum. Very long text may become too small to read. Labels are omitted when the image is narrower than 40 pixels or shorter than 24 pixels.

Create a batch of placeholder images

Open the batch section to create several assets with one design. Enter one image per row using name,width,height. Add a fourth field when that image needs its own custom label. Do not add a header row.

hero,1200,630
product-card,600,400,"Product photo, front view"
avatar,256,256,Team portrait

Put a label containing a comma inside straight double quotes. Within a quoted field, use two double quotes to represent one quote. Rows without their own label inherit the label settings above. All rows inherit the selected colors, style, density, typography and file format.

A cream instant camera, a landscape image card and a green fern on a coral-colored surface.

You can create up to 20 images per ZIP. Raster batches have a combined limit of 40 million output pixels, with the same per-image limits as a single export. SVG batches do not have the combined raster limit. The tool processes images in sequence and provides a cancel button.

The ZIP includes the images, a JSON size manifest, an HTML example and a short README. Output names include dimensions and, when applicable, density, such as [email protected]. Unsafe filename characters are replaced, existing extensions are removed and duplicate stems receive a numeric suffix.

Read sizes from existing images

Select PNG, JPEG or WebP files to replace the batch list with their filename stems and dimensions. This is useful when rebuilding a template whose image slots already have known sizes. Each selected file must be no larger than 10 MB and stay within the image dimension limits. Some unusual image headers or orientation metadata may not be supported; use the size list for those files.

The selected pictures are inspected on your device. Their content is not uploaded or included in the ZIP. The resulting images contain only the placeholder design. File stems are retained in the output names, with size and density suffixes added.

Copy HTML, SVG or a hosted placeholder URL

The copy section offers five outputs: SVG markup, an SVG data URI, HTML for a downloaded file, a hosted SVG URL, or HTML using that hosted URL. A data URI contains the SVG itself, so it does not need a separate image request. Inline SVG is useful when you want to inspect or adjust the vector shapes.

Hosted links request an SVG from CalcuLife using the settings in the URL. They are convenient for prototypes that need a normal image address. Anyone with the URL can read its label and settings, and requests may appear in server logs. Keep confidential text out of hosted labels. Downloaded files and data URIs avoid those hosted image requests.

The URL service returns SVG only. It does not serve photographs or convert a URL to PNG. Use local exports for deliverables and projects that need to work without a placeholder host. If clipboard access is blocked, the code remains selectable for manual copying.

Use placeholders without creating layout or accessibility problems

The copied HTML includes width and height attributes and responsive sizing. Declaring image dimensions helps the browser reserve the correct aspect ratio before an image loads, reducing one common cause of layout shifts. Your surrounding CSS still determines how the image fits into a particular component.

Visible text inside an image is separate from its alt attribute. Edit the HTML alt text to describe the role of the image in your prototype, or select the decorative option when the image adds no information. Replace placeholder alt text when you add a meaningful final image.

Frequently asked questions

Can I make a transparent placeholder?

Yes. Enable the transparent background and export PNG, WebP or SVG. Labels, lines and borders remain visible. JPEG uses the matte color instead of transparency.

Does this generator create random stock photos?

It creates dummy images with colors, shapes and labels. It does not fetch stock photographs. Use the image-icon style when you want a clear visual sign that an image is still missing.

Can I use the downloads in a client mockup?

Yes. You can use the generated placeholder shapes and labels in mockups, templates and prototypes. Check any text you enter yourself, and replace dummy assets before presenting them as final photography or artwork.

For technical background, see the Canvas image export documentation, the HTML image element reference and guidance on image dimensions and layout shifts.