Favicon API
A free, no-API-key favicon URL service. Hotlink any site's icon in an <img> tag, or fetch it programmatically — served and CDN-cached.
Endpoint
GET https://favicon.run/faviconParameters
Example request
https://favicon.run/favicon?domain=github.com&sz=128Use it
<img src="https://favicon.run/favicon?domain=github.com&sz=128" alt="GitHub" width="32" height="32" />const res = await fetch("https://favicon.run/favicon?domain=github.com&sz=128");
const blob = await res.blob();Response
Returns the favicon image directly (typically image/png). Responses are cached for 24 hours via Cache-Control: public, max-age=86400, and served with Access-Control-Allow-Origin: * so you can fetch from any origin. Errors return 400 for a missing/invalid domain and 500 if the upstream fetch fails.
Live examples
Every icon below is loaded straight from the API — view the page source to see for yourself.
Frequently Asked Questions
Is the favicon API free?+
Yes — no API key, no signup, no billing. Hotlink it in as many pages as you like.
Do I need to host the favicon myself?+
No. Reference the API URL directly in an <img> tag; we fetch, serve, and cache the icon for you.
What sizes are supported?+
16–512 pixels via the sz parameter. If omitted, the default is 32.
Does it support CORS?+
Yes. Access-Control-Allow-Origin is *, so you can fetch the icon from browser-side JavaScript on any origin.
How is it cached, and how fresh is the icon?+
Each response is cached for 24 hours (Cache-Control: public, max-age=86400), so repeated requests are fast and cheap. The underlying icon refreshes on the same schedule.
Can I use it in production / high-traffic apps?+
Yes. It's served from a CDN with generous caching. For very high volume, consider caching responses on your own side too.
Ready to put it into practice?
Fetch any favicon
Enter a URL and get every favicon the site exposes, plus one-line embed code.
Open toolGenerate from image
Upload a logo and download favicon.ico, apple-touch-icon, and PNG icons in one ZIP.
Open toolFrom text or emoji
Type a letter or pick an emoji, choose colors, and generate a full favicon package.
Open toolCheck a site's favicon
Test whether a website's favicon, apple-touch-icon, and manifest are correctly set up.
Open tool