No signup required. Just build the URL. Custom sizes, colors, text, SVG output. Completely free.
<img src="https://placeholderapi.celpippractice.workers.dev/800/600">
Specify width and height in the URL path. From 1px to 4000px.
Set background and text color via query params. Use any hex color.
Add overlay text to label your placeholders. Great for wireframes.
Get lightweight SVG by default. Add ?format=png for raster output.
FREE
Unlimited requests. No API key needed. No rate limits.
Generate a placeholder image with the given dimensions.
| Param | Type | Description |
|---|---|---|
| width | int (path) | Image width in pixels (required) |
| height | int (path) | Image height in pixels (required) |
| bg | string (query) | Background hex color without # (default cccccc) |
| color | string (query) | Text hex color without # (default 666666) |
| text | string (query) | Custom overlay text (default WxH) |
| format | string (query) | svg or png (default svg) |
https://placeholderapi.celpippractice.workers.dev/400/300 https://placeholderapi.celpippractice.workers.dev/200/200?bg=1a1a2e&color=6ee7b7 https://placeholderapi.celpippractice.workers.dev/600/400?text=Hero+Image https://placeholderapi.celpippractice.workers.dev/100/100?format=png