Skip to content
faker.tools
All 79

Plate V · Media, Image & Asset Placeholders

Placeholder Image URL Generator

Sized placeholder URLs from four providers, or an inline data URI.

#URLWidthHeightFormat
1https://placehold.co/640x480.png?text=640x480640480PNG
2https://placehold.co/640x480.png?text=640x480640480PNG
3https://placehold.co/640x480.png?text=640x480640480PNG
4https://placehold.co/640x480.png?text=640x480640480PNG
5https://placehold.co/640x480.png?text=640x480640480PNG
6https://placehold.co/640x480.png?text=640x480640480PNG
7https://placehold.co/640x480.png?text=640x480640480PNG
8https://placehold.co/640x480.png?text=640x480640480PNG
9https://placehold.co/640x480.png?text=640x480640480PNG
10https://placehold.co/640x480.png?text=640x480640480PNG
10 rows · 951 BGenerated in your browser · Placeholder Image URL Generator

A layout that works with square images breaks with portrait ones. Lock an aspect ratio here, generate a batch, and you find out whether your grid actually holds — or take the inline data URI option and get images that need no network at all.

What you can control

  • Aspect-ratio locking recomputes the height, so a batch stays consistent at 16:9 or 3:2.
  • The inline SVG option embeds the image as a data URI — no request, no dependency, works offline.
  • Five file formats, including SVG and WebP, for testing format negotiation.
  • Markup mode emits a complete <img> tag with width, height, alt text and lazy loading.

What this is not

Three of the four providers are external services. The inline option is the only one that keeps working without a network, which makes it the right choice for tests that must not depend on someone else's uptime.

Questions

Which provider should I use?

Inline SVG for anything running in CI — it has no external dependency. Lorem Picsum when you need actual photographs rather than grey rectangles.

Why does the markup include width and height?

Because without them the browser cannot reserve space, and the page jumps as images load. That layout shift is measured by Core Web Vitals.

Can I generate images that fail to load?

Point the custom provider at a non-existent path. Testing the broken-image state matters more than most teams assume.

Next in Media

All 8