01What is Lorem Picsum Generator?
Lorem Picsum Generator builds image URLs for picsum.photos, a free service that returns real photographs cropped to the size you request. It is handy when a layout needs pictures with real detail and color instead of grey boxes. The tool does not fetch or store any images. It only assembles strings. You set Width (px) and Height (px) between 1 and 5000, and the URL becomes https://picsum.photos/{width}/{height}. Tick Grayscale and ?grayscale is added. Move Blur above 0 and blur={n} is added, up to 10. Both options follow the query parameters described on the Lorem Picsum home page. The Seed field changes the path. With a seed, the URL becomes /seed/{seed}/{width}/{height}, and Picsum returns the same photo for that seed every time. Without one, each request can give a different random photo. The seed is URL-encoded, so a space turns into %20. Quantity goes up to 20, and this is where seeds get clever. When you ask for more than one image, each gets its own seed so the grid shows different pictures that stay put on reload. If you typed a seed like card, the URLs use card-1, card-2 and card-3. If you left it blank, they use 1, 2 and 3. Note that the blank-seed case with a quantity above 1 still produces seeded URLs, not random ones. Here is a worked example. Width 400, Height 300, Seed card, Quantity 3 gives https://picsum.photos/seed/card-1/400/300 and two more URLs ending in card-2 and card-3. Each result has a Copy URL button. Show formats reveals an <img> tag with src, alt, width and height, a Markdown image line, and a CSS block with background-image, background-size: cover and background-position: center. The bulk buttons Copy All URLs, Copy All HTML and Copy All Markdown join every result with line breaks. The presets Hero Banner Images, Thumbnail Grid and Avatar Placeholders just fill in 1920x1080, 300x200 and 128x128. Limits to keep in mind. The tool never checks whether picsum.photos is reachable, so the images depend on that outside service when your page loads them. The alt text is a generic Placeholder image label, which is fine for a mockup but not for a shipped page. And a seed guarantees a stable photo only as long as Picsum keeps the same image library.
Front-end developers and designers who need real-looking placeholder photos at exact sizes for mockups, demo data and stable screenshot tests. The tool runs entirely in your browser, so your data never leaves your device.
02How to use Lorem Picsum Generator
- Enter Width (px) and Height (px), or click a preset such as Hero Banner Images, Thumbnail Grid or Avatar Placeholders.
- Set Quantity, and optionally a Seed (optional), the Blur (0-10) level and Grayscale.
- Click Generate URLs.
- Use Copy URL on a single result, or open Show formats for the HTML, Markdown and CSS versions.
- For many images at once, use Copy All URLs, Copy All HTML or Copy All Markdown.
03Worked examples
- Input:
Width 300, Height 200, no grayscale, blur 0, no seed - Result:
https://picsum.photos/300/200 - With no options the URL is just the size, and Picsum may serve a different random photo on each request.
- Input:
Width 800, Height 400, Grayscale on, Blur 2 - Result:
https://picsum.photos/800/400?grayscale&blur=2 - Grayscale is a bare flag with no value, while blur takes a number.
- Input:
Width 128, Height 128, Seed "user 42" (Markdown) - Result:
 - The seed is URL-encoded and comes before the size, so the same seed returns the same photo.
- Input:
Width 400, Height 300, Seed "card", Quantity 3 - Result:
https://picsum.photos/seed/card-1/400/300 https://picsum.photos/seed/card-2/400/300 https://picsum.photos/seed/card-3/400/300 - Each image gets the seed plus -1, -2 and -3, so the grid shows three different but repeatable photos.
- Input:
Width 1920, Height 1080, no seed, Quantity 2 - Result:
https://picsum.photos/seed/1/1920/1080 https://picsum.photos/seed/2/1920/1080 - With a blank seed and more than one image, the tool numbers the seeds 1, 2 and so on.
- Input:
Width 300, Height 200 (HTML tag) - Result:
<img src="https://picsum.photos/300/200" alt="Placeholder image 300x200" width="300" height="200" /> - From Show formats. Width and height attributes are filled in for you.
04Common use cases
- Filling a product card grid with 12 seeded 400x300 photos so the layout looks real and stays the same on every reload
- Getting a 1920x1080 hero image URL for a landing page prototype in one click with the Hero Banner Images preset
- Testing text contrast over busy photos by generating blurred or grayscale backgrounds for a hero overlay
- Pasting Markdown image lines into a README or docs draft that needs sample pictures
- Seeding a demo database with stable avatar URLs at 128x128 using a seed per user
- Keeping visual regression screenshots stable by using seeded URLs instead of random ones
05Tips
- Generating several images with no seed still gives seeded URLs (/seed/1/, /seed/2/ and so on). Use Quantity 1 with no seed if you really want a random photo per load.
- Pick a seed that describes the slot, like hero or user-7. The same seed with a different size returns a crop of the same photo, which keeps responsive mockups consistent.
- The generated <img> tag includes width and height, so the browser reserves space and the layout does not jump while photos load.
- Replace the generic alt text before anything goes live. Screen reader users get no value from Placeholder image 400x300.
06Related concepts
Placeholder images, Lorem Picsum, Seeded randomness, Responsive images, Prototyping.
Frequently Asked Questions
What is Lorem Picsum Generator?
Lorem Picsum Generator is a free, browser-based developer tool on AIDToolStack. Generate placeholder image URLs It requires no installation or sign-up and works entirely in your browser.
Is Lorem Picsum Generator free to use?
Yes. No sign-up, no fees and no usage cap.
Does Lorem Picsum Generator store my data?
No. It runs in your browser; nothing is uploaded.