Lorem Picsum

Generate placeholder images with customizable dimensions. Free, fast, and works entirely in your browser with no sign-up required.

Updated

Share:
Home/Utility Tools/Lorem Picsum

Lorem Picsum

Generate beautiful, customizable placeholder images for your designs and prototypes. Powered by Lorem Picsum.

Image Settings

0/10
NoneMax blur

Preview
800×600

Placeholder preview

Code Snippets

https://picsum.photos/seed/478/800/600

Batch Gallery

Click "Generate Images" to build a gallery

About Lorem Picsum

Features
  • Custom dimensions up to 5000 px
  • Grayscale & blur filters
  • Specific or seeded images
  • Batch gallery with lock/refresh
  • 5 code snippet formats
  • Unsplash source option
Pattern tokens
  • Seeded URLs are reproducible
  • ID #1–1084 for Picsum
  • Grayscale uses ?grayscale
  • Blur range: 1–10
  • Images cached by Picsum CDN
Use Cases
  • UI mockups & wireframes
  • Frontend development
  • Design presentations
  • Content placeholders
  • Testing image layouts

Frequently Asked Questions

What is the difference between using a Picsum image ID and a seed?

Both give you a repeatable image, but they work differently. An image ID pulls one exact photo from the Picsum catalog, which runs from #1 to #1084 — the URL becomes picsum.photos/id/237/640/480, and that specific picture loads every time. A seed is any text string you choose, like your project name; Picsum hashes it into a consistent random photo using a /seed/yourtext/ path. The key distinction is control versus convenience: an ID guarantees a known photo you have already seen, while a seed guarantees the same random photo for every teammate without you needing to pick one. Use an ID when a particular image matters, and a seed when you just want mockups to stop reshuffling on each refresh. This tool builds either URL for you and previews the result instantly.

How do I add a grayscale or blur effect to a Lorem Picsum image?

Picsum applies effects through URL parameters, and this tool adds them for you with a toggle and a slider. For black and white, it appends ?grayscale to the link, producing something like picsum.photos/800/600?grayscale. For blur, it adds ?blur=N where N is a level from 1 to 10 — higher numbers soften the image more, so ?blur=5 is moderate and ?blur=10 is heavily diffused. When you enable both, they combine in a single query string. These effects are useful for low-fidelity wireframes, muted background textures behind text, or checking that overlaid captions stay readable against a busy photo. Flip the grayscale switch or drag the blur slider here, and the live preview and copy-ready snippet update immediately so you can paste the exact URL into your markup.

Why should I include width and height in my placeholder image tags?

Specifying width and height tells the browser how much space an image will occupy before it has finished downloading. Without those dimensions, the browser does not know the image's size, so surrounding content jumps as the picture loads — a problem measured by Cumulative Layout Shift (CLS), one of Google's Core Web Vitals. By reserving the correct space up front, you keep the layout stable and protect your CLS score, which matters even when the final photography replaces your placeholders. That is why the HTML snippet from this tool ships with matching width and height attributes already filled in, alongside loading="lazy", and the Next.js output includes the width and height props that next/image requires. Generate your placeholder here and the copy-ready markup carries the right dimensions automatically, so you build good layout habits from the prototype stage onward.

Can I generate multiple placeholder images at once for a grid layout?

Yes. Beyond a single image, the batch gallery creates several placeholders in one click — pick 4, 6, 9, or 12, or set any count up to 24. You can keep every image at the same dimensions for a uniform grid, or let the tool vary them across common aspect ratios to simulate the mixed content a real masonry or card layout would hold. That variety is what reveals layout problems early: how cards reflow at different shapes, where gaps open, and whether a row breathes on mobile. Each card in the gallery is independent — refresh it for a new photo, lock it to a seed so it stops changing, open it in a new tab, download it as a JPEG, or remove it. It is the fastest way to populate a prototype grid with realistic images instead of gray boxes.

What is the difference between Lorem Picsum and the Unsplash Source option?

Both serve real photographs as placeholders, but from different sources with different controls. The default Picsum mode pulls from the picsum.photos catalog of curated images numbered #1 to #1084, supports exact image IDs and seeds for repeatable results, and accepts grayscale and blur parameters. The Unsplash Source mode fetches from Unsplash's larger, more varied library and is handy when you want fresh, topical-looking photography or a different visual feel. In practice, choose Picsum when you need a specific, reproducible image or a known catalog ID, and switch to Unsplash when you want broader variety and do not need to pin one exact photo. Both options assemble the URL in your browser while the actual images come from those external CDNs. Toggle between the two services in this tool and copy whichever URL fits your mockup.

About Lorem Picsum

Lorem Picsum is a free placeholder image generator that builds ready-to-use image URLs for any design, mockup, or prototype. Instead of hunting for stock photos while you are still laying out a page, you set a width and height, pick a few options, and the tool hands you a live image and the exact snippet to drop into your code. It is built for front-end developers, UI/UX designers, and anyone who needs realistic-looking images before the final assets are ready.

The images themselves are served by the Lorem Picsum CDN (picsum.photos), with an optional Unsplash Source mode. That means the generator assembles and previews URLs in your browser, but the photos are fetched from those external services — nothing you configure is saved to an account, and there is no sign-up or install.

Building a placeholder image

Start with the dimensions. You can enter any width and height from 1 up to 5000 pixels, or click a preset to match a common layout slot: Avatar (150×150), Thumbnail (320×213), Card (400×300), 16:9 HD (1280×720), Hero (1920×600), Social OG (1200×630), Square (600×600), or Portrait (400×600). Two filters refine the look — a grayscale toggle and a blur slider from 0 to 10 — which is handy for backgrounds, low-fidelity wireframes, or testing text contrast over an image.

For repeatable results you have two levers. Enter a specific Picsum image ID (the catalog runs from #1 to #1084) to always pull the same photo, and use the metadata lookup to see that image's author and original dimensions. Or switch on a seed: any seed string produces a consistent random image, so the same mockup looks identical for every teammate who opens it. Without either, the tool serves a fresh random photo each time.

Copy-paste snippets for any framework

Once an image looks right, the generator outputs it in five formats so you can paste straight into your stack:

  • URL — the raw picsum.photos or source.unsplash.com link for use anywhere.
  • HTML — a complete <img> tag with width, height, alt, and loading="lazy" already filled in.
  • Markdown![Placeholder](url) syntax for docs, READMEs, and issues.
  • CSS — a background-image rule with background-size: cover for hero sections.
  • Next.js — a next/image component with the matching width and height props.

Including the real width and height in your markup is not just convenience — it lets the browser reserve space before the image loads, which prevents layout shift and protects your Cumulative Layout Shift (CLS) score.

Generating a whole gallery at once

When one image is not enough, the batch gallery creates several placeholders in a single click. Choose 4, 6, 9, or 12 (or set any count up to 24), and keep every image at the same dimensions or let the tool vary them across a set of common aspect ratios — useful for testing how a real, mixed-content grid or masonry layout will flow. Each card in the gallery can be refreshed for a new photo, locked to a seed so it stops changing, opened in a new tab, downloaded as a JPEG, or removed individually.

Why placeholder images matter

Lorem ipsum text has stood in for real copy for decades; placeholder images do the same job for visual layouts. Real photographs, rather than gray boxes, reveal problems early: how a caption sits over a busy image, whether a card grid breathes at different aspect ratios, or how a hero banner crops on mobile. Because the images come from a fast CDN at the exact dimensions you request, your prototype stays responsive and convincing — and when the final photography arrives, you simply swap the source URL.