ImageMar 6, 2026 · Updated Oct 13, 2026 · 8 min read

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.

Wold map, single line, drawing — illustrating The Complete Favicon Guide for 2026
⭐
Try the Favicon Generator
Upload an image and generate all favicon sizes instantly — free tool
→
DG
Derek Giordano
Designer & Developer
In this guide
01What Is a Favicon?02Why Favicons Matter03Essential Favicon Sizes04Formats: ICO vs PNG vs SVG05Creating Your Favicon06HTML Meta Tags07Apple Touch Icons08Web App Manifest Icons09Dark Mode Favicons10Worked Example: Auditing Our Own Favicon Set11Testing & Troubleshooting12Complete Implementation Checklist

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:

16×16Browser tab (standard)PNG or ICO
32×32Browser tab (Retina/HiDPI)PNG
180×180Apple Touch Icon (iOS home screen)PNG
192×192Android Chrome / PWAPNG
512×512PWA splash screen / installPNG
AnyModern browsers (scalable)SVG

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.

<!-- SVG favicon with dark mode support --> <link rel="icon" href="/favicon.svg" type="image/svg+xml">

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:

<head> <!-- Standard favicon --> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <!-- Apple Touch Icon --> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <!-- SVG favicon (optional, modern) --> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <!-- Web App Manifest --> <link rel="manifest" href="/site.webmanifest"> </head>

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.

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">

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.

{ "name": "Ultimate Design Tools", "short_name": "Ultimate Design Tools", "icons": [ { "src": "/favicon-192x192.png", "sizes": "192x192", "type": "image/png" }, { "src": "/favicon-512x512.png", "sizes": "512x512", "type": "image/png" } ], "theme_color": "#0B0D17", "background_color": "#0B0D17", "display": "standalone" }

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:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"> <style> circle { fill: #0A0A0F; } @media (prefers-color-scheme: dark) { circle { fill: #FF6B6B; } } </style> <circle cx="16" cy="16" r="14" /> </svg>

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:

FileFoundNow
/favicon.icoMissing: every request for it returned 40416, 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 PNGCorrect sizes, 218 B to 6.7 KBUnchanged
favicon.svg250 bytesUnchanged; 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

□Create a 512×512 source image with your icon/logo
□Generate all sizes: 16, 32, 180, 192, 512
□Place favicon-16x16.png and favicon-32x32.png in site root
□Place apple-touch-icon.png (180×180) in site root
□Place favicon-192x192.png and favicon-512x512.png in site root
□Add all <link> tags to your HTML <head>
□Create site.webmanifest with 192 and 512 icons
□Link the manifest in <head>
□Optionally create an SVG favicon with dark mode support
□Place a favicon.ico in site root for legacy support
□Test in Chrome, Safari, Firefox, and on mobile
Generate your favicon set

Upload any image and get all required favicon sizes instantly. Free, no signup, download as a ready-to-deploy package.

⚡ Open Favicon Generator
DG
Derek Giordano
Written by the creator of Ultimate Design Tools. BA in Business Marketing.
⚡ Try the free Favicon PNG Size Generator →