![]()
Any website's icon as a clean, safe SVG, with colours that fit every theme.
Try it on favicons.page · API · Self-hosting · Security
One URL per site
No key, no query parameters, CORS open. Every response is an edge-to-edge SVG, and its headers carry the colours to put around it:
x-icon-shape: square x-icon-light-plate: #ebecfa
x-icon-fill: bleed x-icon-dark-plate: #181b3f
x-icon-accent: #5a67f2 x-icon-dark-text: #6b77f3
Or let the server draw the badge for you, on a rounded square or an iOS-style superellipse in the right colour for each theme:
Need a single-colour icon for a toolbar or a tab bar? Ask for the mask and tint it with CSS:
}
Why favicons
- Vector, always. Sites that ship SVG keep their exact shapes. Bitmaps are
traced into smooth vectors, so even a 32 px
favicon.icoscales to any size. - Looks right on light and dark. Badge, text and mask colours for both themes, checked against WCAG contrast. No more black logo on a black row.
- The real logo first. The owner's BIMI mail logo, then the site's own icons and manifests, then optional fallback providers. A generated identicon only when nothing exists, and the headers say why.
- Built to be attacked. Every image is decoded in a throw-away seccomp sandbox with no files, network or exec, then rebuilt by an allowlist SVG writer. No SSRF, no decompression bombs, no scripts in your icons.
- Private by design. Requests collapse to the registrable domain, so per-recipient subdomains can't become read receipts. Lookups go over encrypted, malware-filtering DNS. Client IPs are never logged.
- Fast and small. About 170 000 cached icons per second on a laptop, 10 000 on a 4-core Celeron thin client, in about 50 MB of RAM. Benchmarks.
Self-hosted apps by name
Optional catalogs serve icons by slug, with the same palettes, masks and plates. favicons.page carries about 17 000 of them: Simple Icons, selfh.st, Dashboard Icons, Devicon and theSVG, each response naming its license:
Compared with the usual options
| favicons | Google S2 | DuckDuckGo icons | |
|---|---|---|---|
| SVG output | ✓ | PNG | ICO |
| Monochrome mask | ✓ | ||
| Theme colours in the response | ✓ | ||
| Malicious domains flagged | ✓ | ||
| Sandboxed decoding of site images | ✓ | n/a | n/a |
| Self-hostable, open source | ✓ |
Self-host in one command
Two containers from a 9 MB image: the API, and a renderer with no network, a
read-only root and no capabilities. ghcr.io/peleda-app/favicons-site adds this
page with its fonts; release binaries are on GitHub Releases,
and cargo install favicons builds the API. Built-in Let's Encrypt, local
disk or S3, GCS and Azure caches, blocklists and every other option are in
docs/SELF-HOSTING.md.
For agents and automations
/llms.txt explains the API to language
models, /openapi.json describes it for
tools, and every response exposes its headers and timings to any origin.
Documentation
- How it works: sources, tracing, caching, the request path
- HTTP API: statuses, headers, palettes, fallback reasons
- Security model: threats, sandbox, hardening checklist
- Self-hosting: Docker, binaries, TLS, small servers
- Performance: wrk numbers and the k6 load test suite
&& &&
MIT. The banner shows logos of open-source self-hosted projects, each a trademark of its project (list); page icons by Phosphor (MIT) and Fluent Emoji (MIT).