Favicon Embed
Embed any site's favicon with a single hotlinkable URL — drop it into an <img> tag, CSS, or Markdown. No API key, no hosting, CDN-cached.
Endpoint
GET https://favicon.run/faviconParameters
Example request
https://favicon.run/favicon?domain=github.com&sz=128Preview your embed
Enter any domain to preview its favicon, embedded straight from the URL.
https://favicon.run/favicon?domain=github.com&sz=128Embed 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.
Where to embed it
Real product UIs with embedded favicons — every icon below is live.
Link & bookmark lists
Put a site icon next to each link in a directory, resource list, or bookmark manager.
github.com
stripe.com
vercel.com
Search & URL autocomplete
Show the destination site's favicon in search suggestions or a URL autocomplete dropdown.
Browser tabs & address bars
Render favicons in browser-like chrome — tabs, address bars, or in-app web views.
External-link indicators
Flag outbound links with the destination site's icon in docs, blogs, or changelogs.
This doc ships with Vercel,
Tailwind CSS, and runs on
Cloudflare.
Frequently Asked Questions
Is the favicon embed 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