Lorem Picsum:
Random Image Generator

Get a real placeholder photo at the size you need. Preview the crop, then copy a link or download the image.

Colorful mountain slopes in Landmannalaugar
SyonyCC0800 × 600 · JPG

Image settings

Format, seed and effects

Use the image API

Put the size in the URL to embed a photo in HTML, a prototype, or a test fixture. The image API needs no sign-in or key.

Random photo

Use a width and a height in pixels. A single number requests a square, so /640 makes a 640 × 640 photo. The random image generator chooses from the photo collection each time the URL is requested. This works in an image tag, a browser tab, or anywhere that accepts a direct image URL.

The same photo with a seed

Add a seed when a mockup needs to look the same when you reopen it. The same seed selects the same source within the collection, even if you change the requested dimensions. Give different mockup slots distinct seeds to vary the results without introducing a different image on every page reload.

Grayscale and blur

Grayscale is useful when you want to judge contrast without color. Blur takes an integer from 1 to 10 and works well behind text or while you are testing a loading skeleton. You can combine both effects. The changes are included in the downloaded image and in the photo served by the copied link.

WebP format

JPEG is the default. Add .webp when you need to test a WebP pipeline or give your prototype a smaller file. The format is explicit in the URL, so the same link serves the same format in a browser, a build tool, or a test runner. Switch formats without changing your seed or crop.

Embed a photo in HTML

<img src="https://picsum.org/seed/studio/800/600" width="800" height="600" alt="">

Placeholder photos for design and development

Test the layout at its actual size

Match the shape of your component before choosing a photograph. Try 640 × 640 for a square tile, 1200 × 800 for a wide content block, or 600 × 800 for a portrait. The random image generator centers the crop and fills the requested dimensions. A different aspect ratio can show a different part of the same scene. Include width and height in your HTML so the browser can reserve space before the photograph arrives.

Keep mockups and tests repeatable

Use a random URL while you are exploring how the layout handles different subjects. When you need the exact picture shown in the preview, use Copy image link. That link is tied to a photo ID and includes the size, format, and effects you applied. It is a good fit for sharing a design review, reproducing a visual bug, or keeping a screenshot test stable. Give meaningful images your own alternative text based on how they are used.

Browse the collection by photo ID

The image list returns JSON with the photo ID, author, original dimensions, source page, license, and a ready-to-use download URL. It defaults to 30 photos per page. Set page and limit to move through the list, or follow the next and previous URLs in the Link header. For a single record, open /id/{id}/info. Use /id/{id}/{width}/{height} when you already know which picture belongs in a layout.

Browse photo metadata

Common questions

What does this random image generator do?

It selects a photograph from the Lorem Picsum collection and serves it at the pixel dimensions you choose. The real photos work as placeholders in wireframes, prototypes, demos, and test fixtures. For prompt-based image creation and editing, open the Image Prompts gallery from the navigation.

Will a random image URL always return the same picture?

An unseeded URL can choose a different photo on a new request. Repeated random requests may occasionally select the same photo. The Shuffle photo button excludes the current photo when choosing another. Use a seed to make a choice repeatable within the collection, or copy an ID-based URL if you need to pin a specific photo.

Can I reuse the photos in a commercial project?

The placeholder photos in this collection are designated CC0. Each photo links to its source and identifies the creator, so you can check the original record and give credit if you wish. The separate Image Prompts gallery has its own attribution and licensing information on the individual prompt pages.

What if a custom size or effect is temporarily unavailable?

The API supports widths and heights from 1 to 2000 pixels. The four standard presets are stored ready to serve in JPEG and WebP. Other sizes and effects are processed on demand within a shared allowance. If you see a temporary error, select a preset with grayscale and blur turned off, or retry your custom settings later.

Can I use a placeholder link directly in HTML?

Yes. Put the image URL in the src attribute of an img element and give it width, height, and alt attributes appropriate to the page. An ID link is convenient when you have selected a specific image. For final published work, downloading the image lets you manage hosting and caching with the rest of your assets.

Is Lorem Picsum related to the original Picsum Photos project?

This is an independently operated service inspired by the open-source Picsum Photos project. The URL patterns follow its common conventions for dimensions, seeds, and IDs. This site has its own photo collection and its own IDs.