Placeholder Image Generator
Make exact-size dummy images to download or paste into a mockup, with no hotlinked service.
runs entirely in your browserGenerated on your device. No external image service, no tracking pixel.
An exact-size image without another network request
A placeholder image holds the space that a real photo, illustration, or card will occupy later. Set the exact width and height, choose the background and text colors, and leave the label blank to print the dimensions in the center. The preview updates as you type, so a banner, avatar, thumbnail, or social card is ready before you have to press anything.
Hosted placeholder services solve a different job. They give you a short URL that can live in an image source, which is convenient when the image needs to change by editing the URL. This generator gives you a PNG or SVG file, plus a data URI, so the placeholder has no outside host, request, tracking pixel, or service outage attached to it.
Download a file or embed the image directly
Use PNG when a mockup, email editor, slide deck, or upload field expects an ordinary raster image. Use SVG when the placeholder may be resized later or when you want a small, editable vector file. Both formats contain the same dimensions, colors, and centered label shown in the preview.
A data URI puts the image bytes directly in HTML or CSS. It works offline and avoids a separate request, which is useful for prototypes, email tests, and self-contained examples. It also makes the document itself larger and cannot be cached as a separate image, so a normal file is the better choice for repeated or production assets. The copied img snippet includes the generated dimensions and is ready to paste.
fair questions
- How do I create a placeholder image with exact dimensions?
- Enter the width and height in pixels, or start from a size preset. The preview redraws immediately. Dimensions are whole pixels from 1 through 4096, and the downloaded filename includes the final width and height.
- What's the difference between a placeholder URL service and a downloaded file?
- A hosted placeholder service creates an image from a hotlinkable URL, which is handy when you want to change size or text by editing that URL. A downloaded file or data URI has no service dependency and works offline. Use the URL service when a short remote source is the goal; use this generator when you need a file or self-contained embed.
- Can I use a data URI instead of hosting a placeholder?
- Yes. Copy the data URI or the ready-made img snippet and the image travels inside the document, with no separate request. This is useful for prototypes and offline examples. For an image repeated across many pages, host the file instead so it can be cached once and your HTML stays smaller.
- Should I use PNG or SVG for a placeholder image?
- PNG is the safest choice for upload fields, email editors, slides, and apps that expect a normal image file. SVG stays sharp at any display size and is usually smaller for a flat-color placeholder, so it is better for web mockups and editable vector workflows.
- Can I put custom text on the image?
- Yes. Type a label of up to 200 characters (combined emoji can count as more than one) and it replaces the automatic width by height text. Long labels shrink to fit the image. Accents, emoji, and non-Latin scripts are preserved in the SVG and data URI, and the text is escaped before it enters the SVG markup.
related tools
- Image ResizerGet any image to the exact pixels or percentage you need, without uploading it anywhere.
- Image ConverterConvert JPG, PNG, WebP, HEIC, and AVIF images in one place, all inside your browser.
- SVG to PNGRender any SVG to a crisp PNG at exactly the size you need, without it leaving your browser.
- CSS Gradient GeneratorBlend through OKLab, so the middle of the gradient never slides into gray.
- Open Graph PreviewSee exactly how your link renders on X, WhatsApp, Facebook, LinkedIn, Telegram, Discord, and Slack.