Favicon.im logoFavicon.im
0M+monthly requests

Favicon.im/{domain}

Instantly fetch, display, and download any website's favicon.Simple, fast, and free favicon API for developers.

Favicon API Usage

Enter a domain to get the embed code

Default Size (32px)

<img src="https://favicon.im/github.com" alt="github.com favicon" loading="lazy" />

Large Size (up to 256px)

<img src="https://favicon.im/github.com?larger=true" alt="github.com favicon (large)" loading="lazy" />

Tip: Use our URL directly in your pages and apps. Always add loading="lazy" to avoid loading too many icons at once. For Next.js, add favicon.im to your trusted image domains.

Frequently Asked Questions

Favicon.im is a free, fast service that allows you to instantly fetch, display, and download any website's favicon. It provides a simple API that developers can use directly in their pages and applications.

A favicon (short for "favorites icon") is a small icon associated with a website. It appears in browser tabs, bookmarks, and history to help users identify websites visually.

Favicons improve brand recognition, enhance user experience, make bookmarks and tabs more identifiable, and contribute to a professional web presence.

Not all websites store their favicon at /favicon.ico. Many declare icons in HTML <link> tags, use different formats (PNG, SVG, etc.), or specify multiple sizes. Our service handles all these cases automatically.

We support ICO, PNG, SVG, GIF, JPEG, and WebP formats. Our API automatically detects and serves the best available icon format from each website.

When you request a favicon, we scan the target website for icon declarations in HTML, check for apple-touch-icons, parse Web App Manifests, and fall back to /favicon.ico. Results are cached globally via CDN for instant access.

Yes! Our API is free to use. Simply reference our URL in an <img> tag: <img src="https://favicon.im/example.com" />. No API key or registration required.

We don't impose restrictive rate limits for normal usage. The service is designed to handle high traffic with global CDN caching. For extremely high volume, please contact us.

Latest from Blog

View all

What is a Favicon? Complete Guide for 2024

Learn everything about favicons - from history to modern best practices for web developers.

Favicon Sizes: The Definitive Guide

All the sizes you need for favicons in 2024, covering browsers, mobile devices, and social media.

How to Add a Favicon in Next.js

Step-by-step guide to adding favicons in Next.js App Router with multiple sizes and formats.