Generate a
Placeholder Image
A free tool for developers to create custom placeholder images, animated videos, QR codes, social media OG images, and favicons using simple URL parameters.
Placeholder Image Generator
Preview
Your placeholder image will appear here
Documentation
Generate placeholder images using the following URL format:
https://imgsrc.pub/[width]x[height]
Example:
https://imgsrc.pub/300x200Image Parameters:
-
Extension: Add
.ext
(e.g.,.png
for png) -
Background Color: Add
bg=hexcode
(e.g.,bg=ff0000
for red) -
Text Color: Add
color=hexcode
(e.g.,color=ffffff
for white) -
Custom Text: Add
text=YourText
(use + for spaces) -
Font Size: Add
size=size
(e.g.,size=20
for 20px) -
Font Family: Add
font=font
(e.g.,font=roboto
for roboto)
Supported fonts: roboto, sans-serif, serif, monospace, arial, helvetica, tahoma, verdana, georgia, garamond, lucida
Example with parameters:
https://imgsrc.pub/400x300?bg=3498db&text=Hello+WorldAdvanced Examples:
SVG with custom font:
https://imgsrc.pub/500x200.svg?bg=e74c3c&color=ffffff&text=SVG+Format&font=georgia&size=30High-resolution banner:
https://imgsrc.pub/1200x400.png?bg=9b59b6&color=ecf0f1&text=High+Resolution+Banner&font=helvetica&size=48Square profile placeholder:
https://imgsrc.pub/300x300?bg=34495e&color=ffffff&text=Profile&font=roboto&size=24Limits:
- Dimensions: 1px to 4000px (width and height)
- Font Size: Minimum 5px (auto-calculated if not specified)
- Color Format: 6-character hex codes (without #)
- File Formats: PNG, JPG, JPEG, BMP, WebP, GIF, SVG