That tiny icon in the browser tab — the one next to your page title — is your favicon, and it is doing more work than its 16 pixels suggest. It marks your site in tab bars crowded with dozens of open pages, appears in bookmarks, history, and mobile home screens, and quietly signals that a site is finished rather than thrown together. Creating one takes minutes. If you want to skip straight to the result, upload any image to our free favicon generator and download every size you need in one click.
In this guide we will cover what a favicon actually is, which sizes you need in 2026 (and which legacy ones you can stop worrying about), the ICO versus PNG versus SVG question, practical design tips for something readable at 16 pixels, and the exact HTML to add it to your site.
"Favicon" is short for "favorite icon," a leftover from the days when it appeared next to bookmarked sites in Internet Explorer. Today it shows up in far more places: browser tabs, the address bar on some browsers, bookmark lists, browser history, search results on mobile, and home-screen shortcuts on phones and tablets.
Why it matters beyond decoration: in a row of twenty open tabs, users find your page by its icon, not its truncated title. Sites without a favicon show a generic globe or blank document icon, which reads as unfinished. It is a small trust signal, and it costs almost nothing to get right.
The honest answer for 2026 is simpler than most guides admit. You need three things:
.ico file can contain both.apple-touch-icon.png — what iOS uses when someone adds your site to their home screen. Without it, iOS takes an ugly scaled screenshot of your page instead.The old advice about generating fifteen different sizes is outdated. Modern browsers are good at scaling, and the set above covers tabs, bookmarks, iOS, and Android. An SVG favicon is also worth adding: it is resolution-independent, tiny in file size, and supported by all modern browsers except as the sole format (keep the ICO as fallback).
.ico file can bundle 16×16, 32×32, and 48×48 versions. Every browser supports it. Keep favicon.ico in your site root as the fallback.prefers-color-scheme media query inside the SVG. Great as the primary icon for modern browsers, with ICO as the safety net for older ones.The pragmatic 2026 stack: an SVG favicon for modern browsers, a multi-size ICO fallback, a 180×180 apple-touch-icon PNG, and the manifest PNGs. That covers everything with four files.
Designing for favicon size is its own discipline. What looks great at 500 pixels can become gray mush at 16. Rules that work:
A common winning pattern: your brand's initial letter in a bold typeface, white on your brand color, inside a rounded square. Simple, recognizable, and it matches the rest of your identity.
Place your files where they belong, then reference them in the <head> of every page (or your site template):
<!-- SVG favicon for modern browsers -->
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<!-- ICO fallback -->
<link rel="alternate icon" href="/favicon.ico">
<!-- Apple touch icon (180x180 PNG) -->
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<!-- Web app manifest (references 192x192 and 512x512) -->
<link rel="manifest" href="/site.webmanifest">
Browsers also check /favicon.ico in the site root automatically, without any HTML, which is why keeping that file there is good hygiene even with the link tags in place. The manifest file itself is a small JSON:
{
"name": "Your Site Name",
"icons": [
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
]
}
/favicon.svg?v=2 to force a refresh.If any of that sounds like work you would rather skip, our favicon generator takes your logo or image and produces the ICO, PNGs, and SVG plus the HTML snippet, ready to drop into your site.
A favicon is a fifteen-minute task that pays off every time someone has your site open among thirty tabs. Design one bold, simple mark, export the handful of sizes that matter in 2026, add four lines of HTML, and keep a root favicon.ico as backup. Your site will look finished everywhere it appears.
The essential sizes are 16×16 and 32×32 (bundled in one .ico file), 180×180 for the Apple touch icon, and 192×192 plus 512×512 PNGs for Android. An SVG favicon covers all resolutions in a single tiny file for modern browsers.
Use all three strategically: SVG as the primary icon for modern browsers, ICO as the universal fallback in the site root, and PNGs for the Apple touch icon and Android manifest. Each format covers a gap the others leave.
Browsers cache favicons very aggressively. Hard-refresh, check the file path in your link tags, make sure the file actually exists at that URL, and try a cache-busting query string like ?v=2. It can also take a restart of the browser in stubborn cases.
Yes, via an SVG favicon containing the emoji as text — it is a popular trick for quick projects. It works in modern browsers but renders in each platform's native emoji style, so it will look different on Windows, macOS, and Android.