Building a bookmark manager, a link directory, or a dashboard? You need favicons for arbitrary domains. FaviconHub makes this a one-liner.
The simplest call
Just request the domain as a path:
GET https://faviconhub.app/github.comThe response is the icon bytes with the correct Content-Type, so it works directly in an image tag.
Getting a larger icon
Add the larger query parameter for a higher-resolution version:
<img src="https://faviconhub.app/api/favicon/stripe.com?larger=true" alt="Stripe" />FAQ
Is the API free?
Yes, the icon endpoint is free and CDN-cached for 24 hours.
What happens if a site has no favicon?
FaviconHub returns a clean generated letter-icon fallback so your UI never shows a broken image.
Written by
FaviconHub Team
Building the free favicon API, generator and converters at FaviconHub — and writing about favicons, icons and web branding.