How to Create Placeholder Images for Website Mockups

You're building a mockup and every image slot is empty, or worse, filled with a random photo you grabbed from your camera roll that's completely the wrong shape. The layout looks broken before anyone's even judged the actual design, and stakeholders keep getting distracted by "who is that in the photo?" instead of reviewing the page structure.

The fix isn't finding better stock photos — it's using placeholder images built for the job. A good placeholder is the exact pixel size of the real image slot, clearly labeled as a placeholder, and visually neutral enough that nobody mistakes it for finished content. Get those three things right and your mockups read cleanly from wireframe to dev handoff.

Quick Answer

The fastest way to create placeholder images for a website mockup is to generate a box at the exact pixel dimensions of the real image slot, with the dimensions printed on the image itself. Use a neutral flat color rather than a real photo so reviewers focus on layout, not content. For multi-slot mockups, generate all placeholders in one batch so naming and sizing stay consistent across the file.

What is a placeholder image, exactly?

A placeholder image is a stand-in graphic used in a wireframe, mockup, or prototype to occupy the space where a real image will eventually go. It's a temporary asset, and its job is to represent shape and size, not content. A few things define a good one:

The key insight: a placeholder's only job is to describe the slot it occupies — the moment it starts looking like finished content, it stops doing that job and starts distracting reviewers instead.

Why placeholder images matter

Using proper placeholders isn't just a cosmetic detail — it directly affects how smoothly a design moves from wireframe to finished build:

📊 Quick stat Matching the exact aspect ratio of the final image slot prevents the majority of layout-shift issues that show up later in development — far more than getting the exact color or file size right.

Step-by-step: creating placeholder images for a mockup

  1. Identify the real image slot dimensions. Check your layout or design spec for the exact width and height the image will occupy (e.g. 1200×400 for a hero banner, 300×300 for a product card).
  2. Generate the placeholder at those exact dimensions. Avoid scaling a generic placeholder to fit — generate it at the precise pixel size so the aspect ratio is guaranteed to match.
  3. Print the dimensions on the image. Include the width×height as visible text on the placeholder itself, so anyone opening the file later can confirm the slot size instantly.
  4. Pick a neutral background color. A flat gray, or a distinct brand-neutral color, keeps focus on layout. Reserve bold colors for slots you specifically want reviewers to notice.
  5. Keep file size small. Since placeholders are temporary, export them as compressed JPEG or PNG — there's no reason for a placeholder to be heavier than the real asset it stands in for.
  6. Name files by slot or section. Use descriptive filenames like "hero-1200x400.jpg" or "product-card-300x300.png" so developers can match placeholders to their intended slot without guessing.
  7. Generate the full set in one batch. If your mockup has multiple image slots, create all placeholders together so labeling and sizing stay consistent across the whole file.
Try the Rebrixe Placeholder Image Generator — free Set exact dimensions, add labels, and download instantly for your mockup.
Generate a Placeholder →

Common mistakes that break mockups and handoffs

1. Using the wrong aspect ratio

A placeholder that's the wrong shape makes a layout look correct in review, then breaks the moment a real image of a different ratio is dropped in. Always match the real slot's width-to-height ratio, not just a similar overall size.

2. Using a random photo instead of a plain placeholder

Grabbing a stock photo "close enough" to the final content feels convenient, but it biases feedback toward the photo itself and often isn't the right dimensions anyway. A plain, correctly-sized placeholder keeps review focused on layout.

3. Forgetting to label the placeholder

An unlabeled gray box can be mistaken for a finished design choice by someone reviewing quickly. Printing the dimensions or a clear "placeholder" label removes any ambiguity about what still needs to be replaced.

4. Leaving placeholders in the production build

Placeholders are meant to be temporary. If one slips through to a live page, it counts as a real image and adds to page weight and load time just like any other asset — always track which slots still need real content before launch.

💡 Pro tip Keep a simple checklist of every image slot and its required dimensions alongside your mockup file. It makes it easy to confirm every placeholder has been generated correctly, and just as easy to confirm every one has been replaced before shipping.
Building a mockup with many image slots? Generate a full set of correctly labeled placeholders in one pass.
Open Placeholder Generator →

Real-world placeholder examples

These are common image slots found in typical website mockups, along with the placeholder dimensions that match them:

Hero banner
Full-width header image
1200×400
Standard wide aspect ratio for landing page headers.
Product card
E-commerce grid thumbnail
300×300
Square ratio, common across catalog and grid layouts.
Avatar / profile
User or team photo
150×150
Small square slot used in cards, comments, and bios.
Blog thumbnail
Article preview image
800×450
16:9 ratio, common across blog and news card layouts.

The pattern is consistent: matching the exact ratio and pixel size of the real slot is what makes a placeholder useful, and generating labeled sets in bulk keeps a multi-slot mockup consistent from the first review to final handoff.

Comparison: which placeholder style should you use?

Different placeholder styles suit different stages of a project. Here's how the common approaches compare:

Style Best stage Bias risk Effort Best for
Flat color box + dimensions Early wireframes None Low Layout and structure review
Diagonal pattern placeholder Wireframes None Low Distinguishing image slots from empty space
Labeled slot placeholder Dev handoff None Low Confirming exact sizes with developers
Generic stock photo Late-stage mockups Moderate Medium Client presentations wanting a "real" feel
Bulk-generated placeholder set Any stage None Low (per image) Multi-slot mockups and full-page prototypes
Random unrelated photo Not recommended High Low Only quick, throwaway sketches

Free tool: Placeholder Image Generator

The Rebrixe Placeholder Image Generator runs entirely in your browser. Set the exact dimensions, choose a background color, and add a label — your images are never uploaded to a server. No account, no file size limit, no watermarks.

Generate the exact placeholder your mockup needs

Set your width, height, and label, and download a clean placeholder image in seconds.

Open the Placeholder Image Generator →

Frequently asked questions

Match the exact pixel dimensions of the real image slot in your layout — for example 1200x600 for a hero banner or 400x400 for a product thumbnail. Using the correct dimensions from the start avoids layout shift when real images are dropped in later.
Yes, for internal wireframes and dev handoffs. Printing the dimensions directly on the image (e.g. "800x400") helps developers and stakeholders instantly confirm the slot size without opening dev tools, and prevents confusion during review.
JPEG or PNG both work fine since placeholders are temporary and low-detail. PNG is slightly preferred when the placeholder includes flat colors or text, since it compresses solid colors more efficiently than JPEG.
Yes, and it often gives stakeholders a more realistic sense of the final design. The tradeoff is that a real-looking photo can bias feedback toward the photo itself rather than the layout, so plain colored placeholders are usually better for early-stage wireframes.
For more than a handful of image slots, bulk generation is faster and keeps naming and dimensions consistent across the whole mockup, which matters when handing files off to a developer.
Yes, this is the most important detail to get right. A placeholder with the wrong aspect ratio will make a layout look correct in the mockup but break as soon as a real image of a different shape is inserted.
Yes, if a placeholder is left in production it counts as a real asset and adds to page weight the same as any other image. Placeholders should always be flagged clearly and swapped out before launch.

Stop hunting for stock photos that don't fit

The Rebrixe Placeholder Image Generator runs entirely in your browser — no uploads, no account, no file size limits. Set your dimensions and download instantly.

← Back to blogs