Placeholder Image Generator

Generate placeholder image URLs from popular services. Custom sizes, colors, text, and formats. Copy URL, HTML, or Markdown.

Size Presets
Preview
Placeholder 600x400
Generated URLs
placehold.co
https://placehold.co/600x400/222222/AAAAAA.png
picsum.photos
https://picsum.photos/600/400
dummyimage.com
https://dummyimage.com/600x400/222222/AAAAAA.png

Why Use Placeholder Images?

Placeholder images are essential during web development and design prototyping. They let you build layouts, test responsive designs, and demonstrate UI components without waiting for final image assets. Using consistent placeholder dimensions helps teams collaborate on layout before content is ready.

Placeholder services also help with testing — you can verify that your image loading, lazy loading, error handling, and responsive image markup all work correctly before switching to real assets.

Choosing the Right Placeholder Service

For wireframes and technical mockups, solid-color placeholders with dimension text (placehold.co, dummyimage.com) are ideal — they clearly show the image dimensions at a glance. For client presentations and realistic prototypes, photographic placeholders (picsum.photos) make designs feel more polished and real.

Consider format support too. If you need SVG placeholders for resolution-independent mockups, placehold.co is your best option. For testing image optimization pipelines, WebP support matters. Choose the service that best matches your workflow.

Common Image Sizes for Web Development

Different contexts call for different image dimensions. Social media cards (Open Graph) use 1200×630 pixels. Hero banners typically span 1920×1080 or wider. Thumbnails range from 100×100 to 300×300. Avatar images are usually 32×32 to 128×128. Product images in e-commerce commonly use 800×800 or 1000×1000 square formats.

Mobile-first design uses viewport-relative sizes, but testing with fixed dimensions like 375×812 (iPhone) or 390×844 (newer iPhones) helps validate mobile layouts. Banner ads follow IAB standards: 728×90 (leaderboard), 300×250 (medium rectangle), 160×600 (skyscraper).

Integrating Placeholders in Your Code

In HTML, use a standard img tag with the placeholder URL as the src attribute. In React, use the next/image component or a regular img element. For CSS background images, set the URL in background-image. In Markdown, use the standard image syntax with the generated URL.

For responsive images, generate multiple sizes and use the srcset attribute or picture element to serve the right size at each breakpoint. This tool generates URLs for your exact dimensions, making it easy to create the URLs you need for responsive image testing.

Frequently Asked Questions

Related Tools

Explore More Tools

Find this tool useful? Buy us a coffee to keep DuskTools free and ad-light.