The Complete Favicon Guide for 2026
Favicons are the small icons that appear in browser tabs, bookmarks, home screens, and search results. A proper favicon implementation requires multiple sizes, formats, and meta tags to look sharp across every platform. This guide covers everything from creating your icon to deploying the full set of tags and files.
What Is a Favicon?
A favicon (short for "favorites icon") is the small icon associated with a website. It originally appeared only in browser bookmark lists, but today it shows up in browser tabs, address bars, browser history, PWA home screen shortcuts, search engine results pages, social media link previews, and reading lists.
The favicon is often a user's first visual impression of your brand in a browser. A missing or default favicon makes a site look unfinished. A crisp, well-implemented favicon signals professionalism and attention to detail.
Why Favicons Matter
Beyond branding, favicons serve a practical navigation function. When users have dozens of tabs open, the favicon is the primary way they identify and switch between sites. A distinctive favicon makes your site findable in a sea of tabs.
Google shows a favicon next to each result's site name. Its documentation sets the rules: the icon must be square and at least 8×8 px (larger than 48×48 is recommended), it must be declared with a <link rel="icon"> tag on the home page, and Googlebot-Image must be allowed to crawl the file while Googlebot can crawl the home page. Without a usable icon, Google shows a generic one.
For Progressive Web Apps (PWAs) and home screen bookmarks on mobile devices, your favicon effectively becomes your app icon. This is where high-resolution versions (192px, 512px) become essential.
Essential Favicon Sizes
Modern favicon implementation requires several sizes to cover all platforms and use cases. Here are the essential files you need:
You don't need every conceivable size. The six listed above cover all major platforms. Some guides recommend dozens of additional sizes, but those are edge cases that add complexity without meaningful benefit.
Formats: ICO vs PNG vs SVG
ICO (legacy)
The ICO format is a container that can hold multiple image sizes in a single file. It was the original favicon format and is still recognized by all browsers. Its main advantage is backward compatibility — very old browsers that don't support PNG favicons will still display an ICO file placed at /favicon.ico in your site root.
PNG (current standard)
PNG is the most widely used favicon format today. It supports transparency, looks sharp at all sizes, and is easy to generate. Most modern favicon implementations use PNG files in specific sizes linked via meta tags in the HTML head.
SVG (modern option)
SVG favicons are vector-based, meaning they scale perfectly to any size without quality loss. They support CSS media queries — including the ability to detect dark mode and adapt colors automatically. Chrome, Edge and Firefox have used SVG favicons for years; Safari was the holdout until Safari 26 (September 2025), which WebKit announced as supporting SVG for icons everywhere in its interface, favicons included. Visitors still on Safari 18 or earlier get the PNG instead, so keep both.
Creating Your Favicon
Start with a square source image at least 512×512 pixels. This gives you enough resolution to generate all required sizes through downscaling. If you're designing from scratch, work at 512×512 and pay attention to how the design looks when scaled down to 16×16 — fine details disappear at small sizes.
Design tips for effective favicons: use simple shapes with strong contrast, limit your palette to 2–3 colors maximum, avoid text (it becomes illegible at small sizes), ensure the icon reads clearly against both light and dark browser chrome, and test at the actual sizes your users will see.
The Ultimate Design Tools Favicon Generator lets you upload a source image and instantly generate all six required sizes with proper formatting, ready to download and deploy.
HTML Meta Tags
The complete set of HTML tags for a modern favicon implementation goes in the head section of your HTML. Here's the recommended minimum:
Browsers choose among the declared icons themselves, and not always as you would expect: MDN's compatibility notes (from caniuse) record that Chrome, Edge and Opera pick an ICO over a PNG when the ICO lists a better-matching size, and that Safari has always preferred an ICO when both exist. Keep the sizes in the tags truthful and the files actually that size. Also keep a /favicon.ico in the site root even with no tag pointing to it: browsers still request that path when a page declares no icon and when they show a PDF or image file directly in a tab.
Apple Touch Icons
When an iOS user adds your site to their home screen, Safari uses the Apple Touch Icon as the app-like icon on the home screen. The recommended size is 180×180 pixels. iOS automatically applies rounded corners, so your source image should be a square with no rounded corners or transparency.
Unlike regular favicons, Apple Touch Icons should have a solid background (no transparency). iOS home screens render the icon against a wallpaper, and a transparent background will result in a black or unexpected-colored fill behind your icon.
Web App Manifest Icons
The web app manifest (site.webmanifest) is a JSON file that defines your site's name, theme color, and icon set for PWA functionality. Android Chrome and other browsers use these icons when a user installs your site or adds it to their home screen.
Chrome's install prompt looks for a 192×192 and a 512×512 icon; the larger one is also used for the launch screen. Transparency is allowed in manifest icons. What matters is the purpose member: an icon marked "purpose": "maskable" may be cropped to a circle, squircle or other shape by the platform, and the W3C manifest spec guarantees only a safe zone, a centered circle with a radius of 40% of the icon size. Keep logos inside that circle (an 80% diameter), fill the rest with background, and offer a separate "any" icon for places that show the full square.
Dark Mode Favicons
With more users running dark mode, a favicon designed for light browser chrome might become invisible on a dark tab bar. SVG favicons solve this elegantly with an embedded CSS media query:
This SVG automatically switches between a dark and light version based on the user's system preference. For PNG favicons, there's no automatic switching — you'd need JavaScript to detect the color scheme and dynamically update the favicon link tag.
Worked Example: Auditing Our Own Favicon Set
We checked this site's own files against the guide above (Pillow, October 13, 2026). Two problems turned up, and both are now fixed:
| File | Found | Now |
|---|---|---|
| /favicon.ico | Missing: every request for it returned 404 | 16, 32 and 48 px in one 2,398-byte file |
| apple-touch-icon.png (180×180) | Transparent rounded corners (alpha 0) | Opaque, corners filled with the site background #0B0D17; iOS applies its own rounding |
| favicon-16/32, 192, 512 PNG | Correct sizes, 218 B to 6.7 KB | Unchanged |
| favicon.svg | 250 bytes | Unchanged; its ⚡ is an emoji character, so it is drawn by each system's emoji font and looks different on Windows, macOS and Android. A drawn path would look the same everywhere. |
The whole set is under 14 KB, and the SVG alone is smaller than the 32×32 PNG. That is the practical case for SVG: one small file that stays sharp at any size and can follow dark mode, with PNG and ICO kept for older browsers and for the places that ask for /favicon.ico directly.
Testing & Troubleshooting
After implementing your favicons, test across multiple browsers and devices. Common issues and their fixes:
If the favicon doesn't appear, check that the file paths in your meta tags match the actual file locations. Paths are relative to the HTML file or absolute from the site root (starting with /). The most reliable approach is absolute paths.
If you see a cached old favicon, browsers aggressively cache favicons. Hard-refresh with Ctrl+Shift+R (Cmd+Shift+R on Mac). For persistent caching, add a version query string: href="/favicon-32x32.png?v=2".
If the Apple Touch Icon shows a screenshot instead of your icon, the apple-touch-icon meta tag may be missing or the file doesn't exist at the specified path. Verify the file is a 180×180 PNG with a solid background.
Complete Implementation Checklist
Upload any image and get all required favicon sizes instantly. Free, no signup, download as a ready-to-deploy package.
⚡ Open Favicon Generator- [1]Google Search Central: Define a favicon to show in search results (checked Oct 13, 2026) ↗
- [2]WebKit blog: News from WWDC25 — WebKit in Safari 26 beta (SVG icons, including favicons) ↗
- [3]MDN Browser Compatibility Data: <link rel="icon"> (ICO vs PNG selection notes, checked Oct 13, 2026) ↗
- [4]W3C Web Application Manifest: 2.3 Icon masks and safe zone (40% radius) ↗
- [5]WHATWG HTML Standard: link type "icon" and the /favicon.ico fallback ↗
