The quick answer

This placeholder image generator draws labeled gray-box stand-ins at any size — 600×400, 1200×630, any pixel pair — as PNG files. Set dimensions, background color, text color and label; the PNG renders on a local canvas in your browser. No upload, no hosted service, no rate limits, and URLs share your exact settings.

The wireframe needs an image that does not exist yet

Placeholder images are the professional answer: labeled, correctly sized, brand-colored stand-ins that carry exactly what a layout review needs and nothing it does not. For years the standard was a hosted service — type a URL, get a gray box with dimensions. Those work until they are slow, rate-limited, or shut down, which is a memorable discovery mid-review.

This generator does the same job without the service. Dimensions, colors and label in; canvas-rendered PNG out, with URL parameters for the share-and-reload workflow developers actually use. No network dependency, no quota, no third party whose uptime matters to your design review — just arithmetic, color and text, which is all a placeholder ever was.

Generating a placeholder in seconds

  1. Type the dimensions

    Width and height in pixels — 600×400, 1920×1080, anything the layout calls for. The preview renders instantly at proportional scale, and the label updates to match.

  2. Pick background and text colors

    Hex values for both. The auto-contrast button picks a text color that clears accessibility contrast against your background — handy when the background is a mid-tone brand color.

  3. Set the label

    The default label is the dimensions themselves, which is what most reviews want. Override with a role — HERO, AVATAR, LOGO SLOT — when the placeholder should communicate intent instead of geometry.

  4. Generate and download

    One click renders the canvas and downloads a PNG at the exact dimensions you typed. Batch mode takes a list of sizes and delivers the whole set.

  5. Or copy the URL

    The generator's settings live in the URL — dimensions, colors, label as parameters. Copy it into documentation, a teammate's chat, or a component library example, and anyone opening it gets the identical placeholder.

How a canvas becomes a labeled PNG

The pipeline is three drawing calls and one export. A canvas is created at your exact pixel dimensions, the background is one fillRect in your chosen color, and the label is drawn with fillText — sized at roughly one-twelfth of the canvas width, capped so long text never overflows, and centered using the browser's text metrics API.

The URL parameter support is the part that echoes the classic services. Dimensions, background, text color, and label are encoded with the browser's URLSearchParams — the same mechanism behind every search box you have ever used. That gives placeholders shareable addresses: change 600x400 to 1200x630 in the link and the same page regenerates at the new size. Deterministic, stateless, and self-documenting, which is why the pattern has survived a decade of frontend churn.

Text color selection has a little math inside it worth knowing. The auto-contrast option computes the background's relative luminance — the same weighted red, green, and blue calculation accessibility checkers use — and picks white text on dark backgrounds or near-black on light ones. On a background of #1F2937, a common dark UI gray, white text lands around 14-to-1 contrast; on #F9FAFB, near-black clears roughly 15-to-1. Either way the label stays readable at any size, including the tiny ones.

Font choice is quieter but real: the label renders in a monospace stack so that 600×400 reads as a measurement rather than a word. Proportional fonts make numerals drift and widths lie; monospace makes the label a specification. Small detail, and the difference between a placeholder that feels engineered and one that feels generated.

The output file size is the last quiet property worth knowing: flat-color PNGs compress to almost nothing because the format's DEFLATE pass collapses long runs of identical pixels. A 1920×1080 placeholder in one gray with a short label typically lands under 20 KB, where the same canvas carrying a photograph would weigh hundreds. That makes a full placeholder set cheap to commit to the repository itself, where the files outlive the redesign as a record of what each slot was built to hold.

A full mockup set, generated

Here is the standard website set — the one that covers nearly every slot in a contemporary layout. A dark gray for the hero, light gray for content slots, white labels on dark and near-black on light. Every slot announces its geometry, and a mis-sized slot in the responsive build is visible from across the room.

SlotSizeAspectLabel
Hero banner1920×108016:9HERO
Social share card1200×630≈1.9:1OG IMAGE
Content card600×4003:2CARD
Classic 4:3 media800×6004:3MEDIA
Square social crop1080×10801:1SQUARE
Avatar200×2001:1AVATAR
Thumbnail320×20016:10THUMB
Email banner600×2003:1EMAIL HERO
Eight files, one batch, every common layout slot covered
The URL-parameter version of the same set

Input

A link built for the 1200×630 social slot, dark background, white text

Output

The generator URL with its size, background, text, and label parameters — paste it into documentation or a component story, and the placeholder regenerates identically on every machine that opens it. Change one parameter, get the variant, no files to redistribute.

The set illustrates the quiet advantage of placeholders over real images during layout work: consistency. Every slot announces its geometry, every label states its role, and a mis-sized slot in the responsive build is visible from across the room — the 320×200 thumbnail rendering at full card width announces itself in a way a pretty photograph never would. The placeholder is the only image in the build whose job is to be wrong loudly.

The platform cheat sheet: real slot sizes for real destinations

Half the placeholder requests in a modern project are not page slots at all — they are social and search surfaces, each with its own published geometry. Generating those stand-ins at the right numbers before content exists keeps the launch checklist honest, and the table below collects the current numbers worth memorizing.

DestinationRecommended pixelsAspectNotes
Open Graph (Facebook, LinkedIn shares)1200 × 630≈1.91:1Minimum 600 × 315 for reliable rendering
X / Twitter summary_large_image1200 × 67516:9Fills the feed card edge to edge
Instagram feed portrait1080 × 13504:5Tallest feed crop that still shows full-width
Instagram square1080 × 10801:1Grid-crop safe
YouTube thumbnail1280 × 72016:9Minimum 640 px wide
Pinterest pin1000 × 15002:3The format the feed is built around
Email hero banner600 × 200 to 600 × 4003:1 to 3:2600 px is the classic email body width
Aspect ratios are reduced fractions: 1200 × 630 is 40:21, which rounds to the 1.91:1 every card guide quotes.

The aspect column matters more than the pixel column once a responsive build starts serving several widths from one source file. 40:21 keeps its shape at 600 × 315, 1200 × 630, and 2400 × 1260; a placeholder that states the ratio in its label — OG 1.91:1 — survives a re-specification better than one that states a single pixel pair nobody remembers the origin of.

One slot, checked against the cheat sheet

Input

A launch email needs a hero banner placeholder, and the same graphic doubles as the campaign's share card

Output

Hero slot: 600 × 200, label EMAIL HERO, brand dark background.
Share card slot: 1200 × 630, label OG 1.91:1, same palette — generated as a second file rather than stretched from the first, because 3:1 and 1.91:1 are different rectangles and the placeholder exists to say so.

When a destination changes its mind — and social surfaces do, every couple of years — the placeholder set absorbs the change in a batch regenerate rather than a photography reshoot. That is the quiet economic argument for the whole discipline: mockup geometry is cheap to revise, delivered assets are not, and the placeholder is the wall between them.

Placeholders versus real images — when to swap

The swap point — when placeholders become real photography — is a project-management decision as much as a design one, and the phases have clean boundaries. Structural reviews run on gray boxes; content reviews need the real thing. The list below marks where each phase ends and what should be true before the next begins.

  • Wireframing — pure geometry. Dimensions and roles only; color optional. The placeholder set is doing structural work.
  • Visual design — brand colors on, labels shortened, proportions real. Placeholders now carry palette and hierarchy.
  • Staging and QA — placeholders stay until real assets exist, because they make missing slots obvious in staging builds and QA screenshots.
  • Launch — the swap. Every placeholder is a deliberate stand-in by design; if one ships to production, it fails loudly enough to be caught, which is the entire strategy.

Local generator versus hosted placeholder service

The hosted-placeholder model — a service that draws gray boxes from URL parameters — has been around since the early 2010s, and the comparison is worth making explicit. A local generator trades a shareable public URL for zero runtime dependency: no external host inside your mockups, demos or documentation, and no dead placeholder URLs in old docs.

This generator (local)Hosted serviceStock photos / real assets
Network dependencyNone after page loadEvery image requestEvery image request
Service lifetime riskNone — it is your browserThe service can retireFiles persist
CustomizationAny size, colors, labelWhat the service offersWhatever exists
Communicates geometryYes, by designUsuallyNo
Appropriate at launchNo — meant to be replacedNoYes
Different tools for different phases — placeholders are scaffolding, not architecture

The hosted model earned its place in dev culture and deserves respect — a URL that draws a box is a genuinely elegant idea. What time has added is the caveat: external image hosts introduce a runtime dependency into mockups, demos, and documentation that can outlive the host itself. Dead placeholder URLs in old documentation are their own small genre of link rot. The local generator draws the same box with no one else's server in the loop, which is the whole pitch, and why the URL parameters exist for sharing while the rendering stays in-browser.

Nothing to upload, nothing to leak

Privacy is almost a category error for this tool — there are no inputs to protect. No photographs, no client files: just numbers you type and colors you pick. The canvas renders locally, the PNG encodes locally, and the download appears locally. The only thing that could leave the page is the URL you choose to copy and share.

That is worth stating plainly in a world where the equivalent hosted services log every generated URL — dimensions and labels that, in aggregate, sketch out what a team is building. A URL like the generator's is only visible to whoever you hand it to. For internal projects under wraps, that distinction is minor. For product launches where even the shape of a screen is sensitive, it is not — and it costs nothing to have.

Where placeholder discipline breaks down

Most placeholder failures happen one step before the generator — at the moment the slot gets specified — and they cluster into four recognizable patterns. Each is a ten-minute fix at wireframe time and a costly one after photography has been invoiced against the wrong numbers.

  • Specifying at display size instead of asset size — a slot that shows at 600×400 on a standard-density screen needs a 1200×800 file to stay sharp on a 2x display, and 1800×1200 to hold up on a 3x phone. If the placeholder requests 600×400, the delivered asset will measure exactly that, and every high-density screen renders it soft. Generate at asset size and let the layout scale down, never up.
  • Aspect ratio drift between design and build — the mockup draws 3:2, the built component crops to 16:10, and the gap stays invisible until real photography loses its edges to the crop. The cure is mechanical: measure the slot as built, then regenerate the placeholder to match reality rather than the design file.
  • The placeholder that ships to production — brand-colored, unlabeled, quietly attractive, it passes QA because it looks deliberate. Visible dimensions and loud labels are the defense; a placeholder that can be mistaken for content has already failed its one job.

The pattern underneath all four: a placeholder is a specification wearing the costume of an image, and it stops working the moment anyone treats it as decoration. Teams that keep the discipline for years standardize one label vocabulary across projects — role names like HERO and CARD, dimensions always visible, colors drawn from the actual brand palette — so any mockup reads in seconds, regardless of who drew it.

An image-slot audit, worked end to end

Before a redesign touches a pixel, the existing page gets audited for image slots, and this generator is the instrument. The scenario: a mid-sized SaaS marketing site, six template families, and a photography budget that must cover exactly what the templates need. The audit takes about an hour and routinely saves a reshoot.

  1. Walk every template

    Open each template at desktop, tablet, and phone widths and log every place an image renders — img elements, CSS backgrounds, video posters, and og:image metas all count. The browser inspector's box model panel shows each slot's rendered dimensions directly.

  2. Record display size and target density

    Note the CSS display dimensions plus the highest device pixel ratio you intend to support. A card that displays at 600×400 and must survive 2x screens needs its asset generated at 1200×800, and the placeholder should carry that larger number.

  3. Generate the set in one batch

    Every slot at its asset size, labels naming roles rather than files, dark gray for full-bleed slots and light gray for inline ones. The batch takes a minute and produces the complete shot list as a side effect.

  4. Hand the files to the photographer

    The placeholder set is the delivery specification: filenames state exact pixel dimensions, labels state roles, and nothing arrives at the wrong resolution or crop because nothing was specified in prose.

TemplateSlotsDistinct sizes neededRole labels
Home51920×1080, 1200×630, 600×400, 200×200HERO, OG, CARD ×2, AVATAR
Pricing21200×630, 320×200OG, THUMB
Blog index13600×400, 1200×630, 1600×900CARD ×10, OG, FEATURE
Blog post41200×630, 800×600, 1200×1200OG, MEDIA ×2, SOCIAL
About7800×1000, 1200×630PORTRAIT ×6, OG
Careers31600×900, 600×400CULTURE, CARD ×2
Thirty-four slots across six template families, each now an unambiguous file specification

The number that surprises teams is the total: thirty-four slots reads like a full day of photography until the breakdown shows only nine distinct sizes, and two of them — 600×400 with fourteen slots and 1200×630 with five — account for more than half the set. The placeholder table turns an intimidating shot list into nine line items, which is exactly the argument you want in hand when the photography quote arrives.

The audit's most useful output

Input

Thirty-four placeholders, labeled by role, named by dimension, committed to the repository

Output

A shot list a photographer can quote against without a meeting: nine size classes instead of thirty-four line items, a filename convention the build inherits, and a reusable reference for the next redesign.

Frequently asked questions

What is a placeholder image?

A stand-in image used while the real one does not exist yet. It shows the exact dimensions of the slot it occupies, usually with a label like 600×400, so designers and developers can build layouts before photography, product shots, or illustrations arrive. A good placeholder communicates size, aspect ratio, and intent — and never gets mistaken for final content.

How do I generate a placeholder image at a custom size?

Enter width and height in pixels, pick a background color and a text color, optionally type a label — the dimensions are the default — and generate. The image renders on a canvas in your browser and downloads as a PNG. There is no size list to choose from: any dimensions you can type, the canvas draws.

Why do placeholder images show their dimensions on them?

Because the label is the point. When a layout breaks, a placeholder reading 600×400 tells you instantly whether the slot got the size it was designed for — the image itself is a debugging instrument. Substituting an attractive stock photo hides exactly the information placeholders exist to expose; save the beauty for when the real assets land.

Can I link to a generated placeholder by URL?

Yes — the generator exposes its settings as URL parameters, following the pattern that made classic placeholder services useful: dimensions, background color, text color, and label all live in the query string. Bookmark a configured URL, share it with a teammate, or paste it into a tool that accepts image URLs, and it regenerates the same placeholder every time.

Does the generator work offline?

Yes. The placeholder is drawn on a browser canvas with local JavaScript and no network calls — once the page has loaded, you can disconnect entirely and keep generating. There is no service to reach, which also means no downtime, no rate limits, and no dependency on a third-party site still existing when your project ships.

Is there a limit on how large a placeholder can be?

The practical ceiling is the browser's canvas limit — most current browsers cap a canvas side at 16,384 pixels and enforce total-area limits as well. That covers every layout slot you will ever define. For genuinely enormous sizes, generate at the largest standard size and let the layout scale it; a placeholder's job is to communicate geometry, not to tax memory.

Should a placeholder match the on-screen size or the delivered asset size?

The asset size. A slot that displays at 600×400 CSS pixels needs a 1200×800 file to stay sharp on a 2x screen and 1800×1200 to hold up on a 3x phone. Generate the placeholder at the largest size the slot will serve, note the display size in the label if the distinction matters, and let the layout scale down — scaling up is what softens images.

How do I cover a responsive slot that serves several widths?

Generate one placeholder per srcset entry. A card that serves 400, 800, and 1200 pixel widths gets three labeled files, and batch mode renders the set in one pass. Laying the set side by side also exposes aspect-ratio mismatches between breakpoints before they reach the build.

Why export placeholders as PNG instead of JPG?

Flat color and hard text edges are PNG's ideal input: its lossless compression collapses runs of identical pixels, so a labeled placeholder weighs a few kilobytes where a JPG of the same canvas would cost several times more and smear compression artifacts around the label. When the label is a specification, crispness is the whole point.

What size should an Open Graph placeholder be?

1200 × 630 pixels is the reliable recommendation — a 1.91:1 ratio that fills link cards on Facebook and LinkedIn. The Open Graph specification floor is much lower (200 × 200), but crawlers render anything under 600 × 315 inconsistently, and oversized images above 8 MB get skipped. Generate the placeholder at 1200 × 630 and the delivered asset inherits a shape every major card layout displays without cropping.

How do I keep a placeholder set consistent across a team?

Two conventions do the work: dimension-based filenames and shared URLs. Because the generator encodes size, colors, and label in the URL parameters, the canonical hero placeholder is a link in the team wiki rather than a file in someone's downloads folder — anyone who opens it regenerates the identical image. Combine that with a fixed label vocabulary (HERO, CARD, OG, AVATAR) and every mockup on the project reads the same way regardless of who built it.

Sources and further reading

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.