Favicons in 2026: The Complete Practical Guide

Guide Β· Updated 2026-07-28 Β· Yexla Team

Favicon advice online spans a decade of contradictory cargo cults β€” 30-file "complete" packages, dead Windows tile formats, obsolete sizes. Here's what's actually needed now. Generate everything with our favicon generator (it builds a real .ico too).

The minimal modern set

FileSizePurpose
favicon.ico16+32+48 in one fileLegacy browsers, address bars β€” put at site root
icon.svgvectorModern browsers; supports dark-mode media queries inside
icon-192.png / icon-512.png192, 512Android/PWA via web manifest
apple-touch-icon.png180Γ—180iOS home-screen bookmark
<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.webmanifest">

Design for 16 pixels

Your logo probably doesn't survive 16Γ—16. Favicon design is reduction: one letterform, one shape, one strong color. Test at real size β€” if it's mush at 16px, simplify further. Solid background beats transparency for tab visibility in both themes.

Details that bite

iOS ignores transparency in apple-touch-icons (renders black) β€” use a solid background. SVG favicons can embed prefers-color-scheme CSS for automatic dark-mode variants. The .ico at the root still matters: crawlers and old bookmarks request /favicon.ico unconditionally. And browsers cache favicons aggressively β€” version the filename when you rebrand.

App icons are a different job

Store submissions need platform-specific size sets β€” generate them with the Android, iOS and Windows icon generators.

Frequently asked questions

What favicon sizes do I need in 2026?

A multi-size favicon.ico (16/32/48), an SVG icon, 192px and 512px PNGs for the web manifest, and a 180px apple-touch-icon. That's the complete modern set.

Do I still need a .ico file?

Yes β€” many crawlers, feed readers and legacy contexts request /favicon.ico directly. Keep one at the site root.

Why does my iOS icon have a black background?

iOS strips transparency from apple-touch-icons. Export it with a solid background color.