Why your favicon is not showing (and the sizes that actually work)
You uploaded the file, it opens fine, and the tab is still blank. In most cases the image is not the problem — the declaration is, or the browser is still showing you a cached icon from last week.
Last verified 2026-11-24
The short answer
A favicon that will not show is usually not a missing file: browsers quietly request /favicon.ico when there is no <link rel="icon">, then cache whatever they get for a long time. Ship one multi-size .ico (16, 32, 48 px inside a single file) at the site root, add apple-touch-icon.png at 180 px, and test in a fresh profile before assuming the file is wrong.
Tools used in this guide
What the browser actually asks for
With no icon declaration at all, browsers fall back to a root-level convention: they request /favicon.ico and use it if it answers with an image. That single rule explains most "it works locally but not in production" reports — the file exists at /assets/favicon.ico but not at the site root, or the server returns your SPA's index.html with a 200 status for that path, so the browser receives HTML where it expected an icon and gives up.
If you do declare an icon, declare it with an absolute path so it keeps working on nested routes and under a base path:
| Tag | File | Covers |
|---|---|---|
| <link rel="icon" href="/favicon.ico" sizes="any"> | favicon.ico | Desktop tabs, bookmarks, history |
| <link rel="icon" type="image/png" sizes="32x32" href="/icon-32.png"> | 32×32 PNG | Browsers that prefer PNG over ICO |
| <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> | 180×180 PNG | iOS home screen, Safari pinned tabs |
| <link rel="manifest" href="/site.webmanifest"> | 192 & 512 PNG | Android install, PWA splash |
What is inside a .ico that works
An .ico is a container, not an image format: a small directory followed by several independent images, each with its own size. Modern browsers expect PNG data inside that container (the older BMP variant only matters for Internet Explorer). Convert a 512 px source with the Icon Converter and you get a single file this shape — these are the actual bytes from a test conversion:
| Entry | Bytes in file | Where it gets used |
|---|---|---|
| 16×16 | 202 B | Browser tab, bookmark bar |
| 32×32 | 371 B | Taskbar, high-DPI tabs |
| 48×48 | 816 B | Windows site shortcut |
| 64×64 | 734 B | Safari and macOS surfaces |
| 128×128 | 1,850 B | Retina tab and dock scaling |
| 256×256 | 5,194 B | Windows large icons, scaled contexts |
Two things follow. First, a 9 KB file is cheap — there is no reason to ship a single 16 px icon and let the browser upscale a blurry square for a Retina tab. Second, the 16 px entry is not a scaled-down copy of the 32: at that size a letter or a monogram needs to be redrawn with more weight, or it turns into a smudge. That is why the favicon generator draws text at the target size rather than resizing one big image.
The cache is why your fix looks like it did nothing
Favicons are cached far more aggressively than page HTML, and they are cached per browser profile, not per tab. Chrome keeps them in its own database on disk and has historically ignored a normal reload. So after replacing the file, verify in a way that cannot be poisoned by the old copy:
- Open the site in a private window or a second browser profile — this is the only quick test that bypasses the icon cache.
- Fetch the file directly (yoursite.com/favicon.ico) and confirm it downloads as an image, not as HTML.
- Check the response Content-Type. A .ico served as text/html or application/octet-stream is silently rejected by some browsers.
- If a service worker is registered, unregister it once: it can keep serving the old icon from its own cache while the network has the new one.
- Bookmarks and pinned tabs hold their own copy. A tab that has been open for weeks will keep the old icon until it is closed.
If the site is installable
An installable PWA reads icons from the web app manifest, not from the link tags. Those icons need to be 192 and 512 px, and if you mark one as maskable, the platform may crop it to its own shape — the manifest specification reserves a safe zone equal to a circle 80% of the icon's width, so keep the important part of the artwork inside that circle and let the corners bleed. A logo that fills the square edge to edge gets its edges cut off on Android.
A five-minute checklist
- favicon.ico exists at the site root and returns an image content type.
- The .ico contains at least 16, 32 and 48 px entries (a 512 px source converted with the Icon Converter gives six).
- The <link rel="icon"> href is root-absolute, not relative.
- apple-touch-icon.png is 180×180 with no transparency — iOS puts it on a background of its own, and transparent edges turn black or white depending on the OS theme.
- You looked at it in a private window, not the tab that has been open since yesterday.
Frequently asked questions
Can I just use one PNG instead of an .ico?
Yes for Chrome, Firefox and Safari — a single 32×32 or 48×48 PNG declared with <link rel="icon" type="image/png"> works and is easier to cache-bust. The .ico still wins for one reason: it is the file browsers request by convention when a page declares nothing, and it carries several sizes so Windows shortcut icons are not blurry.
Why does the icon look sharp in one browser and soft in another?
Because they pick different entries from the same file. A browser on a 2× display asks for a 32 px source to fill a 16 px slot; if the .ico only contains 16 px, it upscales. Shipping 16 through 256 in one file removes the guesswork.
Does the favicon affect SEO?
Not rankings directly, but it appears in search results on mobile and in browser tabs among a row of competitors. A blank or blurry icon is the cheapest credibility loss available, and fixing it costs one 9 KB file.
My icon shows in Chrome but not in Safari. Why?
Safari is strict about the declaration and about transparent padding; it also uses apple-touch-icon and pinned-tab artwork in places Chrome never looks. Add the apple-touch-icon tag and make sure the PNG inside the .ico is not a 1×1 placeholder.
Is anything uploaded when I convert?
No. The conversion runs in your browser with the Canvas API and builds the ICO container in memory, so the source image never leaves your device. Input is capped at 5 MB because that is roughly what a tab can hold comfortably.