Placeholder Image Generator
Generate placeholder images in any size from 1 to 4000 px with your own background color, text color and label, then download them as PNG, JPEG, WebP or SVG. Everything is drawn in your browser, with presets for Open Graph, YouTube, Instagram and IAB ad sizes.
Usage examples
Wireframing a landing page
Pick Full HD (1920×1080) or Open Graph (1200×630), type 'Hero image' as the label, and drop the file into your mockup so stakeholders see exactly where the real artwork will go and at what size.
Reserving ad slots in a layout
Generate the IAB Medium Rectangle (300×250) and Leaderboard (728×90) with the label 'Ad' to check that ad units fit your columns and don't push content around before any real campaign is running.
Test files for upload and cropping code
Create images with exact, known dimensions in PNG, JPEG and WebP, such as 4000×3000 or a tall 1080×1350, to test resizing, cropping and validation logic. The size printed on the image makes wrong scaling obvious.
A stand-in social preview image
Before the final design exists, make a 1200×630 image in your brand colors with the page title as text, and point og:image at it so link previews already look intentional.
Inline SVG placeholders in prototypes
Choose SVG and use 'Copy SVG code' to paste a placeholder straight into HTML or JSX. It weighs only a few hundred bytes, scales cleanly, and needs no image file at all.
Quick reference
Common image and banner sizes with their aspect ratios
| Use | Size (px) | Aspect ratio | Decimal ratio |
|---|---|---|---|
| Open Graph / link preview | 1200×630 | 40:21 | 1.9:1 |
| YouTube thumbnail | 1280×720 | 16:9 | 1.78:1 |
| Instagram square | 1080×1080 | 1:1 | 1:1 |
| Instagram portrait | 1080×1350 | 4:5 | 0.8:1 |
| IAB Medium Rectangle | 300×250 | 6:5 | 1.2:1 |
| IAB Leaderboard | 728×90 | 364:45 | 8.09:1 |
| IAB Mobile Leaderboard | 320×50 | 32:5 | 6.4:1 |
| IAB Half Page | 300×600 | 1:2 | 0.5:1 |
| IAB Wide Skyscraper | 160×600 | 4:15 | 0.27:1 |
| IAB Billboard | 970×250 | 97:25 | 3.88:1 |
| HD (720p) | 1280×720 | 16:9 | 1.78:1 |
| Full HD (1080p) | 1920×1080 | 16:9 | 1.78:1 |
| 4K UHD | 3840×2160 | 16:9 | 1.78:1 |
| Avatar | 150×150 | 1:1 | 1:1 |
Frequently asked questions
Are the images created on a server?
No. The preview is an SVG built in your browser, and PNG, JPEG and WebP files are drawn on an HTML canvas on your device. Nothing is requested from a placeholder service, so it works offline and your mockups don't depend on a third-party URL.
Which format should I choose?
PNG is lossless and keeps text edges crisp, which suits most placeholders. JPEG is smaller for photos but softens text edges and has no transparency. WebP is usually smaller than both and works in all current browsers. SVG is tiny, stays sharp at any size and can be pasted directly into HTML.
What text appears on the image?
By default the image shows its own size, such as 1200×630. Type your own label to replace it, and press Enter to add a second line. With font size set to 0, the text is sized automatically so the longest line fits the width and all lines fit the height.
Why does the SVG's font look different on another computer?
The SVG refers to a system font stack (system-ui, Segoe UI, Roboto, Helvetica, Arial and so on), so each device renders the label with its own installed font. PNG, JPEG and WebP files store pixels, so their text looks the same everywhere.
What is the largest image I can make?
Width and height are limited to 1 to 4000 pixels. That keeps the canvas within the size limits of mobile browsers; iOS Safari, for example, refuses canvases larger than about 16.7 million pixels, and 4000×4000 is 16 million.
What aspect ratio is 1200×630?
1200×630 reduces to 40:21, about 1.9:1, the size Meta recommends for link-share (Open Graph) images. The quick-reference table below lists the exact and decimal ratios of other common sizes, such as 16:9 for 1920×1080 and 6:5 for the 300×250 Medium Rectangle.
How do I use the copied SVG code?
Paste it straight into HTML or JSX where the image should appear, or URL-encode it into a data URI for an img src or a CSS background-image. Because it is plain markup, you can still edit the colors or text by hand afterwards.