Image Placeholder API
Placeholders
for Faster Development
Generate customizable, lightweight, and high-performance placeholder images on the fly. No registration, no tracking—just pure developer productivity.
How to use URL parameters
No API keys required. Just build the URL and you're good to go.
Dimensions
Basic width and height in pixels.
imgsrc.pub/300x200Format
Support for SVG, PNG, JPG, WebP, GIF.
imgsrc.pub/400x300.pngColors
Hex codes for background and text.
?bg=ff0000&color=fffCustom Text
Use + for spaces. Default is dimensions.
?text=Hello+WorldTypography
Custom font families and sizes.
?font=roboto&size=30SEO Ready
Semantic HTML with appropriate headers.
alt="Placeholder"HTML Implementation
<img
src="https://imgsrc.pub/800x400.png?bg=4F46E5&color=fff&text=Hero+Banner&font=roboto&size=48"
alt="Placeholder Hero Image"
width="800"
height="400"
/>