You Only Need 3 Favicons in 2026 (Stop Making 22 Files)
Old answer to 'what favicon sizes do I need?' was endless grid of 15+ files. In 2026 modern browsers accept SVG natively, iOS ate Apple Touch Startup Image, and Windows tiles quietly died. Here is minimum viable favicon setup plus everything you need to know about SVG + ICO, dark mode, PWA, cache invalidation.

Table of Contents
TL;DR - minimum viable favicon 2026
Ship 4 files: favicon.ico (multi-size 16/32/48), icon.svg, apple-touch-icon.png (180x180), icon-512.png (PWA). Add 4 HTML link tags in your <head>. Done - covers every browser including dark mode. Copy-paste code below.
2026 minimum viable favicon setup
Most favicon generators from 2015 produced 15-30 files because every browser + OS version expected specific slot. Most of those slots dead now. In 2026 you ship three files:
public/
├── favicon.svg # modern browsers, infinite scaling
├── favicon.ico # multi-size container (16/32/48/+)
└── apple-touch-icon.png # iOS home screen (180×180)Plus four HTML tags in document <head>. That complete setup. Everything else either redundant or only needed for specific edge cases (PWA manifest, dark mode, legacy Windows tiles).
Every favicon size that still matters
| Size | Where it appears | Required? |
|---|---|---|
| 16x16 | Browser tab, bookmarks bar | Required |
| 32x32 | Retina browser tabs, some macOS contexts | Required |
| 48x48 | Windows taskbar site pinning | Required |
| 64x64, 128x128 | HiDPI Windows / Chrome desktop shortcuts | Recommended |
| 180x180 | iOS home screen (apple-touch-icon) | Required (if any iOS traffic) |
| 192x192, 512x512 | PWA manifest, Android install prompts | Required if PWA |
| 256x256 | Windows 10/11 large tiles | Optional |
| 1024x1024 | App store submission (separate from web favicon) | App-only |
For deep coverage of app icon sizes specifically, see our SVG to PNG developer guide.
SVG + ICO: hybrid approach
SVG favicons future - one file, infinite resolution, CSS-themable. But as of April 2026 their support has gaps:
- Chrome, Firefox, Edge, Safari 14+: full support for SVG favicons in tabs.
- iOS Safari home screen: still expects raster (apple-touch-icon.png).
- Windows taskbar pin: uses ICO variants, ignores SVG.
- Many email clients / RSS readers: parse only ICO or PNG.
- Slack, Discord, link previews: some respect SVG, some do not.
Hybrid approach solves this: modern browsers fetch + render SVG first, legacy clients fall back to ICO or apple-touch-icon PNG. Browser picks automatically based on link rel ordering and Accept header.
Four HTML tags you actually need
<!-- Legacy fallback (ICO) -->
<link rel="icon" href="/favicon.ico" sizes="any">
<!-- Modern browsers (SVG) -->
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<!-- iOS home screen -->
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<!-- PWA manifest (only if you ship a PWA) -->
<link rel="manifest" href="/manifest.webmanifest">Three lines if you do not ship PWA, four if you do. Anything more ceremony or legacy bloat. sizes="any" on ICO link tells modern browsers “ignore this file and prefer SVG” - critical for hybrid to work.
Dark-mode favicons (and why Safari behind)
Black favicon on dark browser tab disappears. White favicon on light tab disappears. Fix is to embed CSS media query inside SVG itself:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<style>
circle { fill: #171717 }
@media (prefers-color-scheme: dark) {
circle { fill: #ffffff }
}
</style>
<circle cx="32" cy="32" r="28"/>
</svg>This works in Chrome, Firefox, Edge - browser re-evaluates SVG styles based on user OS theme. Safari ignores favicon SVG media queries as of April 2026. Fallback is to pick neutral base color (medium gray, or brand color that reads on both light and dark) so Safari tab not broken.
PWA manifest icons
If site installable as Progressive Web App, browser needs two PNGs declared in manifest.webmanifest:
{
"name": "Your App",
"short_name": "App",
"icons": [
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" },
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png",
"purpose": "maskable" }
]
}maskable purpose matters for Android - it tells OS it can crop icon into any shape (circle, squircle, rounded square) without breaking. Keep 20% padding around visible logo so maskable crop does not cut content.
iOS home screen + apple-touch-icon
When someone taps “Add to Home Screen” in iOS Safari, iOS fetches /apple-touch-icon.png (or /apple-touch-icon-180x180.png, or whatever declared via <link rel="apple-touch-icon">) and uses it as app icon on home screen.
iOS requires 180x180 PNG without transparencyand without rounded corners - iOS applies rounded-square mask itself. If you ship transparent PNG, iOS composites it on white background automatically, which usually looks fine but can surprise you. For maximum control, flatten to brand-color background.
Windows pinned sites + tile.xml corpse
Circa 2012-2019 Windows wanted you to ship browserconfig.xml with tile colors and dedicated set of PNGs for Internet Explorer 11 pinned sites and Windows 8/10 Start Menu tiles. IE11 died, Windows 11 removed Live Tiles - none of it needed anymore. Most favicon generators still produce these files out of inertia.
Skip tile.xml + browserconfig.xml. If you inherited them from old project, delete them - nothing breaks.
RSS readers, chat previews, long tail
Long tail of favicon consumers: Feedly, Reeder, Inoreader, NetNewsWire, Slack link previews, Discord embeds, Microsoft Teams cards, various podcast apps. Behavior inconsistent - some fetch SVG, some ICO, some Open Graph image. You cannot test them all.
What works reliably across long tail: 192x192 PNG served at /icon-192.png, discoverable via Open Graph image meta tag or manifest. Most readers that cannot parse SVG fall back to this.
How to force favicon cache refresh
You updated favicon. It has been hour. Nothing changed in browser tab. This infuriating and universal. Browsers cache favicons for weeks, sometimes months. Clearing normal browser cache does not clear favicon cache.
Only reliable fix is query-string version:
<link rel="icon" href="/favicon.ico?v=2" sizes="any">
<link rel="icon" href="/favicon.svg?v=2" type="image/svg+xml">Bump version string every time favicon changes. Some build systems automate this with content hashing (favicon.abc123.ico), which even better for long-lived caching.
Common pitfalls
- Too-detailed logo at 16x16. Anti-aliasing turns any logo with thin lines into mush at this size. Test 16x16 render before shipping - simplify if needed.
- Transparent favicon on iOS. Safari composites white background by default. Intentional-looking or surprising depends on logo.
- ICO without 16x16 variant. Some ICO generators default to 32+ only. Browser tabs end up rendering blurry downscaled 32. Always include 16.
- Missing sizes="any" on ICO link. Without it, Chrome + Firefox prefer ICO over SVG. Modern browsers miss SVG benefit.
- SVG with external fonts or images. Favicons load in restricted context - external resources do not load. Inline everything or convert text to paths.
Full build workflow
- Design logo as SVG. Square canvas (e.g. 64x64 viewBox) with logo centered + some padding.
- Test SVG at 16x16 by scaling it in browser - if it becomes illegible, simplify.
- Save
public/favicon.svg. - Open omnikitbolt Favicon Generator, drop SVG, pick 16/32/48 (+ 64/128/256 optionally), download
favicon.ico. - Run SVG through omnikitbolt SVG to PNG at custom width 180, save as
public/apple-touch-icon.png. - (Optional) Same tool at width 192 + 512 for PWA icons.
- Add four HTML tags to layout
<head>. - Hard-refresh, confirm favicon renders on Chrome, Firefox, Safari, iOS.
Total time: 15 mins once you know shape. For reference on format tradeoffs read our complete image format guide and PNG to JPG vs WebP analysis.
Free browser-based favicon tools
| Goal | Tool | Notes |
|---|---|---|
| Multi-size favicon.ico | Favicon Generator | SVG/PNG/JPG/WebP → 16/32/48/64/128/256 |
| SVG → apple-touch-icon.png | SVG to PNG | Custom width 180 px, transparency preserved |
| Compress output PNGs | Compress Images | Extra 20-40% reduction on 180/192/512 |
| Convert raster → WebP | WebP Converter | Only for manifest icons if CDN supports WebP |
Full set of 96 tools on omnikitbolt homepage.
FAQ
What favicon sizes do I actually need in 2026?
Minimum viable setup is three files: favicon.svg for modern browsers, favicon.ico with 16/32/48 variants, apple-touch-icon.png at 180x180. Add 192x192 + 512x512 PNGs if you ship PWA.
Can I use single SVG as entire favicon?
Modern browsers accept it, but iOS home screen, Windows taskbar, many RSS readers need ICO or PNG. Ship SVG + ICO + apple-touch-icon for full coverage.
How do I make favicon that adapts to dark mode?
Embed CSS media query inside SVG with prefers-color-scheme dark. Works in Chrome, Firefox, Edge. Safari does not respect it yet - fall back to neutral color that reads on both themes.
Why does my favicon not update when I change it?
Browsers cache favicons aggressively in separate long-lived cache. Force refresh with query-string version bump like href=/favicon.ico?v=2 whenever you change it.
What is difference between favicon.ico and apple-touch-icon?
favicon.ico is legacy multi-size container for browser tabs + Windows taskbar. apple-touch-icon is single 180x180 PNG used by iOS for home screen shortcuts. Both needed for full coverage.
Can I generate all favicon files from one SVG without installing any tool?
Yes. omnikitbolt Favicon Generator builds multi-size ICO. Run SVG through SVG to PNG at 180 pixels for apple-touch-icon. No upload, no signup.