search
Favicon Generator
Generate simple letter or emoji favicons as scalable SVGs. Use them as site icons, PWA icons, or quick brand placeholders—no image editor required.
terminal Basic Usage
Request the endpoint with optional query parameters. The response is an SVG with long-lived caching.
GET https://placehold.cloud/favicon
Parameters
text
Letter(s) or emoji (default: P, max 2 characters)
size
Pixel size (default: 64, min 16, max 512)
bg
Background hex color without # (default: 6366f1)
fg
Foreground hex color without # (default: ffffff)
radius
Corner radius as percent of size (default: 12, 0–50; 50 is a circle)
format
Output format (default: svg; only SVG is supported today)
font
CSS font-family value (default: sans-serif)
Preview
How to Use
Add a link tag in your HTML head:
<link rel="icon" type="image/svg+xml" href="https://placehold.cloud/favicon?text=P&bg=6366f1">
Swap the domain for your own when self-hosting, or point directly at placehold.cloud for quick prototypes.