/tools/image-placeholder-generator

Image Placeholder Generator

Make a solid-color placeholder image at the exact dimensions a layout needs, labeled with its size or your own text, then download it or link to it directly from your HTML.

Private & secure

How to use the Image Placeholder Generator

01
Set size
Enter the width and height you need.
02
Style it
Pick colours and an optional label.
03
Download
Save as PNG or copy the snippet.

Setting up a placeholder

Enter a width and height from 1 to 4000 pixels. The label defaults to the size, such as 1200 × 630, or you can type your own text of up to 60 characters, like Hero image or Product photo. Choose a background and text color from the swatches. The label is centered and scaled to fit, so it stays readable on a tall banner or a small thumbnail.

Nothing is uploaded: the image is drawn on the server from these settings, and the preview updates a moment after each change. Download PNG saves it with the size in the file name.

Embedding a placeholder by URL

The Use it directly box gives you an img tag with a full URL plus width and height attributes. The URL takes simple parameters: w and h for the size, bg and fg for the background and text colors as hex without the hash, and text for a custom label. Through the URL you can use any hex color, not just the swatches, and add format=jpeg or format=webp to change the file type.

Generated images are sent with long-lived cache headers, so a page that uses the same placeholder many times only downloads it once.

Why designers and developers use placeholders

Placeholders let you build and review a layout before final images exist, in wireframes, prototypes, CMS templates and email designs. With the width and height attributes set, they reserve the correct space so the page doesn't jump when the real image arrives. They are also handy for testing how responsive crops and object-fit settings behave at different shapes. Swap them for real images before launch.

Supported formats

PNGJPGWebP

Files up to 25 MB. Large, high-resolution photos are supported.

Privacy

Your file is sent over HTTPS, processed in memory and returned straight away. It is never stored, never shared and never used for anything else. No account needed. How we handle files.

Image Placeholder Generator FAQ

What is the maximum placeholder size?

4000 × 4000 pixels.

Why is the default size 1200 × 630?

It is a common size for social link preview images, which makes it a useful starting point for blog and page templates.

Can I use colors other than the swatches?

Yes, through the URL. Set bg and fg to any hex color, such as bg=0F172A&fg=F8FAFC.

Can I get a JPG or WebP instead of PNG?

The download button saves PNG. Add format=jpeg or format=webp to the image URL for the other formats.

Can I use my own text on the image?

Yes. Type up to 60 characters in the Label field, or leave it empty to show the dimensions.

Are my images safe?

Your file is sent over HTTPS, processed in memory and returned straight away. It is never stored, never shared and never used for anything else.

Is it free?

Yes. No account, no watermark and no limit on how many images you process. Files can be up to 25 MB.

Related tools

See all 8 utilities tools →