Home β€Ί Developer Tools β€Ί Placeholder Image Generator

πŸ–ΌοΈ Placeholder Image Generator

Create a dummy image at the exact size your layout needs, with your own colors and label, and download it in one click.

Common image sizes

Pick one of these from the preset menu, or type any width and height up to 4,000 pixels.

UseSize (px)Aspect ratio
Open Graph / link preview (Facebook, LinkedIn, Slack)1200 Γ— 6301.91:1
X (Twitter) in-feed image1600 Γ— 90016:9
X (Twitter) header1500 Γ— 5003:1
YouTube thumbnail1280 Γ— 72016:9
Instagram square post1080 Γ— 10801:1
Instagram portrait post1080 Γ— 13504:5
Stories and Reels1080 Γ— 19209:16
Leaderboard banner ad728 Γ— 90β€”
Medium rectangle ad300 Γ— 250β€”
Wide skyscraper ad160 Γ— 600β€”
Mobile banner ad320 Γ— 50β€”
App icon / avatar512 Γ— 5121:1

Social platforms change their recommended sizes from time to time; the ratios above are the ones that have stayed stable. Ad sizes are the standard IAB display units.

Why generate placeholders locally

Placeholder images stand in for real artwork while you design a page, build a template or test a layout. They make the shape of the design visible β€” how a card grid wraps, how a hero image crops on a phone, whether a banner slot is the right size β€” before the final photos exist.

Hotlinking a third-party placeholder service is convenient until it slows down, changes its URL scheme or disappears, and every request tells that service which pages you are building. This generator draws the image on a canvas in your own browser and hands you the file: nothing is uploaded, nothing is tracked, and the image keeps working because it lives in your project.

Labeling each placeholder with its pixel size (the default) also catches layout bugs early: if a 1200 Γ— 630 image looks squashed, the problem is the CSS, not the asset. And because the file has real dimensions, you can give the img tag matching width and height attributes and keep layout shift at zero.

Choosing a format

PNG keeps flat colors and text perfectly crisp and is the safest choice for mockups. JPG makes smaller files but softens hard edges around the label; use it when you are testing photo-heavy layouts and file size matters. WebP is usually the smallest of the three with good quality and is supported by every current browser.

Embed this Placeholder Image Generator on your site

Free for blogs, classrooms and business sites. Paste this code where you want the tool to appear. It stays up to date automatically and loads fast.

Frequently Asked Questions

What is a placeholder image?

A temporary image used in a design or web page until the real image is ready. It has the right dimensions so the layout can be built and tested, and usually shows its size as a label.

Is this placeholder generator free and private?

Yes. The image is drawn in your browser with the canvas API and downloaded straight to your device β€” it is never uploaded, and there is no sign-up or watermark.

What size should an Open Graph image be?

1200 Γ— 630 pixels, a 1.91:1 ratio, is the standard size for link previews on Facebook, LinkedIn, Slack and most other apps. It is the default size in this generator.

Can I add my own text?

Yes. Type any label in the text box β€” a section name, β€œHero image” or the final file name. Leave it empty to show the image dimensions, which is the most useful label while building a layout.