Placeholder Image Generator
Any size, any colour, ready to paste into a mockup.
At a glance
- Input:
- PNG · JPG · WebP
- Output:
- Placeholder image in PNG, JPG or WebP — or a data URI
- Processing:
- Runs locally in your browser
- Limits:
- Practical limits depend on your device's memory
- Privacy:
- Your files stay on your device — nothing is uploaded to a server
Last updated: 2026-11-15
Common use cases
- Making a 1200×630 Open Graph placeholder while a design is still in progress
- Dropping a 1080×1080 square into a layout mockup to check spacing
- Generating a 300×250 ad slot placeholder for a page template
- Pasting a tiny data-URI placeholder into an HTML prototype without a file
- Testing an image grid with same-size placeholders in different colours
About this tool
A free placeholder image generator that runs entirely in your browser: pick any size — or a preset for Instagram, Open Graph, YouTube, phones and ads — choose a background and text colour or a theme, and download a PNG, JPG or WebP, or copy the image as a data URI to paste straight into HTML or CSS. No account, no upload, no watermark.
How to use it
- Enter a width and height, or pick a preset like 1080×1080 or 1200×630.
- Choose a theme or set the background and text colours yourself.
- Type a label, or leave it empty to show the size on the image.
- Download the PNG, JPG or WebP — or copy the data URI.
Worked examples
Input: Preset Open Graph / Facebook link, light grey theme, no label
Output: A 1200×630 PNG reading “1200×630” in dark grey on light grey
The default: no label typed, so the image shows its own size — the classic placeholder look.
Input: Custom size 300×250, blue theme, label “Ad slot”
Output: A 300×250 PNG reading “Ad slot” with “300×250” underneath, white on blue
A custom label plus the dimensions line — the checkbox adds the size under any label you type.
Input: Preset favicon 32×32, dark theme, JPG at quality 92
Output: A 32×32 JPG, black background, white “32×32” label
Tiny sizes still get a label, sized to fit — the font scales with the short side of the canvas.
Practical tips
- Use the data URI for prototypes: one paste into an <img> src and there is no file to manage.
- Pick the preset before typing colours — changing size never resets your theme.
- Use Auto contrast after picking a background colour — it picks dark or white text that actually reads.
- JPG quality 92 is the sweet spot for placeholders; below 70 the flat colours start to band.
Common mistakes
- Pasting a data URI for a huge image into HTML — Base64 adds ~33%, so download the file instead for anything over a few hundred KB.
- Typing a size over 10000 px and wondering why it is refused — the cap keeps the tab responsive.
- Forgetting the format: PNG is the default, so switch to JPG or WebP before downloading when size matters.
- Using a long label on a tiny canvas — keep labels short on favicon sizes, the text scales down with the image.
How this compares
Placeholder services hand you a URL that hotlinks their server — it breaks when they are down and leaks your page's referrer. This tool draws the image on a canvas in your tab: a real file you own, in PNG, JPG or WebP, plus a data URI you can paste anywhere. The tradeoff: no hosted URL to share — the image lives in your download or your code, not on a server.
Good to know
- Sizes cap at 10000×10000 px to keep the tab responsive.
- One placeholder at a time — no batch generation.
- Labels are single centred lines, up to 60 characters; no custom fonts or logos.
- Data URIs are about 33% larger than the file — best for small placeholders.
Frequently asked questions
Are the images uploaded anywhere?
No. The image is drawn on a canvas in your browser tab and never sent to gargloo or any server. The download and the data URI are both generated from that same canvas.
What sizes can I generate?
Any whole-pixel size from 1×1 up to 10000×10000. Presets cover the common cases: Instagram post 1080×1080, story 1080×1920, Open Graph 1200×630, YouTube thumbnail 1280×720, Full HD 1920×1080, favicon 32×32, and ad sizes like 300×250 and 728×90.
Which format should I pick — PNG, JPG or WebP?
PNG for crisp flat colours and text (the default for placeholders). JPG when the file must be small and the background is photographic — set quality 85–92. WebP for the smallest files where the destination accepts it. All three download, and all three can be copied as a data URI.
How do I use the data URI?
Copy it and paste it as an <img> src or a CSS url() value — it is a complete image in text form, starting with data:image/png;base64, (or jpeg/webp for the other formats). Data URIs run about 33% larger than the file, so they suit small placeholders, not large photos.
Can I put my own text on the image?
Yes — type any label (up to 60 characters) and it is drawn centred on the image. Leave it empty and the image shows its own size instead, e.g. 1200×630. The 'Show dimensions' checkbox adds the size under a custom label.
Why is there a 10000 px cap?
A canvas bigger than 10000 px on a side would freeze most browsers and phones while it draws and encodes. 10000 px already covers every real placeholder use, including print mockups.

