Placeholder image API

Build a dummy image URL in seconds.

Tune the size, text, colors, font, format, and background image, then copy a ready-to-use URL for your project.

/placeholder inline image /download attachment
Size
Text
Appearance
Background Image

Live preview

Generated image

300 x 200 PNG
Generated placeholder preview

API reference

Copyable examples

Custom size

https://www.dummyimg.in/placeholder?width=600&height=400

Text label

https://www.dummyimg.in/placeholder?text=Hello%20World

Hex colors

https://www.dummyimg.in/placeholder?bg_color=%23245bd8&text_color=%23ffffff

Download

https://www.dummyimg.in/download?width=1200&height=630&format=WEBP
Supported query parameters
Parameter Default Accepted values
width, height 300, 200 Numbers from 10 to 3000
text Image size Text up to 240 characters
bg_color, text_color lightgray, white CSS color names or hex colors
font_size Auto Numbers from 1 to 512
format PNG PNG, JPEG, JPG, WEBP, GIF, BMP
text_position center Center, edges, and corner positions
font_style arialuni arial, arialuni, comic, comicy, disko, comic-queens
bg_image_url None A readable image URL