Loading WURK...
RomanMotion
RomanMotion
Product ad & launch videos · 3D product visuals · app & AI builder. Concept to final cut in days. Open for projects.

Favicon sizes: the five files a site needs in 2026

Favicon sizes in 2026 come down to five files: a 32 px ICO, an SVG, a 180 px Apple touch icon and two PNGs for the manifest. Here is the exact set and the HTML.

Published on October 20, 20265 min read

Favicon sizes have been simplified a lot. In 2026 a site needs five files and six lines of HTML: a 32 x 32 favicon.ico for old browsers and feed readers, an SVG icon for modern browsers, a 180 x 180 PNG for iOS home screens, and 192 x 192 and 512 x 512 PNGs referenced from a web manifest for Android and installed web apps. Everything else in the old 20-file generator packs is legacy.

This set follows the Evil Martians article "How to favicon: six files that fit most needs" (evilmartians.com/chronicles), which is the reference most front-end teams use today. I have trimmed it to what I actually ship for client brand kits.

The five files

FileSizeUsed by
favicon.ico32 x 32Legacy browsers, RSS readers, tools that request /favicon.ico blindly
icon.svgany (square viewBox)Chrome, Firefox, Edge, Safari on current versions
apple-touch-icon.png180 x 180iOS and iPadOS "Add to Home Screen"
icon-192.png192 x 192Android home screen, PWA install
icon-512.png512 x 512Android splash screen, PWA install prompt

Plus one manifest file (manifest.webmanifest) that points to the two PNGs.

The HTML

Put this in the head of every page:

<link rel="icon" href="/favicon.ico" sizes="32x32">
<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">

And the manifest:

{
  "icons": [
    { "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
    { "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" }
  ]
}

Two details matter. The sizes="32x32" attribute on the ICO link works around a Chrome quirk where it prefers the ICO over the SVG. And favicon.ico must actually live at the site root, because some tools never read the HTML and just request /favicon.ico.

How to make each file

  1. Start from a square SVG of the mark alone. No wordmark; at 16 px a word is a grey bar.
  2. Export the SVG as icon.svg. Keep it clean: no embedded raster, no fonts (convert text to paths), no filters.
  3. Render a 32 x 32 PNG from the SVG and convert it to ICO with 32-bit colour and 8-bit alpha. ImageMagick does this in one command: convert tmp.png favicon.ico. Check it at 16 px; if it turns to mush, simplify the mark for the ICO only.
  4. Render 180 x 180 for apple-touch-icon.png. iOS puts its own rounded corners on it and ignores transparency, so give it a solid background colour and keep the mark inside the middle 80 percent.
  5. Render 192 x 192 and 512 x 512 PNGs. For Android's adaptive icons keep the mark inside the central 66 percent (a 338 px circle on the 512 version); the launcher will mask the rest.

Dark mode

Browser tabs can be light or dark, and a black mark vanishes on a dark tab bar. The SVG icon can carry its own media query:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
  <style>
    path { fill: #111; }
    @media (prefers-color-scheme: dark) { path { fill: #fff; } }
  </style>
  <path d="..."/>
</svg>

Only the SVG supports this. For the ICO and PNGs pick a mark with a background shape, or a colour that works on both light and dark.

What to delete from the old generator output

If you used an online favicon generator a few years ago, your head probably has a dozen link tags: 16 x 16, 48 x 48, 57 x 57, 72 x 72, mask-icon, msapplication tiles and so on. Browsers that needed them are gone. Remove them; each is an extra request and a maintenance chore when the brand changes.

A test you can run in a minute

  • Open the site in a private window. Is the icon in the tab?
  • Toggle the OS to dark mode. Is it still visible?
  • On an iPhone, Share, then Add to Home Screen. Does the icon look right with rounded corners?
  • On Android Chrome, Add to Home screen. Is the mark centred and not clipped?
  • Request yoursite.com/favicon.ico directly. Does it return the file, not a 404 page?

Design notes for a mark that works at 16 px

  • Two colours at most
  • One shape, or one letter, not both
  • No strokes thinner than 1/16 of the canvas
  • Test at 16, 32 and 180 before committing the whole brand to it

Related reading: Logo file formats: what to ask your designer for covers the full export set the favicon comes from, and What is a brand kit? The minimum a startup actually needs puts the favicon in context.

FAQ

What favicon sizes do I need in 2026? 32 x 32 (ICO), a scalable SVG, 180 x 180 (Apple touch icon), 192 x 192 and 512 x 512 (manifest PNGs).

Do I still need a 16 x 16 favicon? No separate file. Browsers scale the 32 x 32 ICO or the SVG down. Check the ICO looks acceptable at 16 px though, since that is the size most tabs use.

Should the favicon be ICO or PNG? Ship both the ICO (for legacy tools) and the SVG (for modern browsers). PNG is only used for the Apple touch icon and the manifest icons.

Why does my favicon not show on iPhone? iOS reads apple-touch-icon.png, not favicon.ico. Add a 180 x 180 PNG with a solid background and the link tag above.

Can a favicon be SVG? Yes, in every current major browser. Keep the ICO beside it for older clients and for tools that request /favicon.ico directly.

Does the favicon affect SEO? Google shows the favicon next to the site name in mobile results and reads it from the link tag or /favicon.ico. A missing or broken one shows a default globe, which looks unfinished next to competitors.

If you need the mark, the favicon set and the wordmark made together, the text logo plus favicon set gig on my store is $6: https://rmgo.sites.tab.bot/logo?s=blog

Conversation

Join the conversation

Share your thoughts with the author and other readers.

Comments0

Checking your account…

Latest comments

0
No comments yet. Be the first to share your thoughts.