Skip to content

Favicon sizes: what you actually need in 2026

Five files cover every browser and device in 2026 — here is the list, the HTML, and a generator for the set.

Updated September 2, 2026 · 5 min read · by the InfyTool team

Favicon tutorials love to prescribe twenty files: 57×57, 72×72, 114×114, 152×152… That list is a fossil from 2013. Modern browsers, iOS and Android are covered by five files and two lines of manifest. Here is the short list, the HTML to paste, and the reasoning — so you can delete the other fifteen files with confidence.

The five files you actually need

FileSizeWho uses it
favicon.svgvectormodern browsers — sharp at every size, dark-mode capable
favicon.ico32×32legacy browsers, crawlers and tools that request /favicon.ico blindly
apple-touch-icon.png180×180iOS home screen and Safari
icon-192.png192×192Android / PWA install
icon-512.png512×512Android splash / PWA, app stores

The HTML

<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.webmanifest">

…and inside manifest.webmanifest:

{
  "icons": [
    { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable" }
  ]
}
Generate the full set from one image

Drop one SVG or PNG — get all five files, the ICO, the manifest and the HTML, zipped. Free, in your browser.

Design rules that survive 16 pixels

  • One shape, not a scene. At tab size a favicon is ~16 CSS px. A single bold glyph or mark reads; a miniature logo lockup with text does not.
  • Test on dark tabs. Browser UIs are dark for half your visitors. An SVG favicon can carry a prefers-color-scheme media query inside it; otherwise avoid pure-black marks on transparency.
  • Solid background for the Apple icon. iOS composites transparency onto black. Give apple-touch-icon.png its own background colour.
  • Mind the maskable safe zone. Keep the mark inside the centre 80% of the 512 px icon so Android's circular masks do not amputate it.

Starting from an existing logo

If your logo is an SVG, you are two minutes away: the favicon generator renders every size from it with live previews of tab, home-screen and Android shapes, and lets you set the Apple background colour and maskable padding before downloading the set. Starting from a PNG works too — use the largest, squarest version you have. Need just one odd size for some platform's form? The SVG to PNG converter renders any exact pixel size.

Frequently asked questions

Do I still need a favicon.ico file in 2026?

Yes — one, at 32×32 (or 32+16 combined). Legacy crawlers, RSS readers, and some tools still request /favicon.ico by path without reading your HTML. It is the one piece of 2005 that refuses to die.

What size should an apple-touch-icon be?

180×180 PNG. iOS scales it down for every device it supports; one file is enough. Give it a solid background — iOS fills transparency with black, which usually looks wrong.

Should my favicon be an SVG?

Serve an SVG favicon first — modern browsers prefer it, it is tiny, and it stays sharp on every display; it can even adapt to dark mode with a media query inside the SVG. Keep the ICO and PNGs as fallbacks for everything else.

Why does my favicon not update?

Favicons are cached aggressively — browsers may keep the old one for days. Bump the URL (e.g. /favicon.svg?v=2) or use a different filename, and it refreshes immediately.

What is a maskable icon?

Android displays PWA icons inside shapes (circle, squircle) that vary by launcher. A maskable icon has its content inside a safe zone (about the middle 80%) so nothing important gets clipped. The manifest declares it with "purpose": "maskable".

Tools used in this guide