Generate placeholder images dynamically by specifying size and optional colors in the URL. This tool is ideal for prototyping layouts, UI scaffolding, or preview blocks.
Request an image using query parameters:
https://ph.webitor.dev/?w=300&h=200
w — width in pixels (required)h — height in pixels (required)t — set custom text (optional; if omitted, the size is displayed. For no caption, use t=%20c1 — start color in hex (optional, e.g. ff8800 or #36c)c2 — end color in hex (optional; if omitted, a random color is used)Random gradient:
https://ph.webitor.dev/?w=400&h=150
Custom text:
https://ph.webitor.dev/?w=400&h=150&t=hello
Custom start color:
https://ph.webitor.dev/?w=400&h=150&c1=ff8800
Solid color (repeat c1 and c2):
https://ph.webitor.dev/?w=400&h=150&c1=336699&c2=336699