Which favicon files do you need in 2026?
A short list covers nearly every site: a favicon.ico, a 180 px Apple touch icon, and 192 and 512 px PNGs named in a web manifest, with an SVG as an
optional extra. That is close to the set the Evil Martians favicon guide recommends. Older advice asks for 20 or more files, mostly for
browsers that no longer matter.
| File | Pixels | Read by | Needed? |
|---|---|---|---|
| favicon.ico | 16, 32, 48 | Older browsers and anything that asks for it at the site root | Keep one |
| favicon-32x32.png, favicon-16x16.png | 32, 16 | Browser tabs, through link tags | Optional |
| apple-touch-icon.png | 180 | iPhone and iPad Home Screen shortcuts | Yes, if people might add your site |
| android-chrome-192x192.png, ...512x512.png | 192, 512 | Web app manifest; Chrome install | Only for installable apps |
| maskable-icon-512x512.png | 512 | Android icon shapes that crop the corners | Optional |
| icon.svg | scalable | Chrome, Edge, Firefox, Safari 26 and later | Optional; you supply it |
Source: Evil Martians, How to favicon in 2026; Apple Safari Web Content Guide; web.dev install criteria; Can I use.
Which favicon sizes still matter?
Six sizes still matter: 16 and 32 for tabs, 48 as a third frame in the ICO, 180 for Apple, and 192 and 512 for the manifest. Apple's guide says iOS
scales from the closest larger icon, so one good 180 px file covers iPhones and iPads. MDN adds that a manifest icon marked maskable must
keep its content inside a safe zone so the system can mask away the rest.
Do you still need favicon.ico if browsers read PNG and SVG?
Yes, keep one, because it costs a few kilobytes and works everywhere. SVG favicons are supported in Chrome, Edge and Firefox, and in Safari from version 26; Can I use shows about 92.5% global support, which leaves a gap that an ICO or PNG fills.
An SVG stays sharp at any size and can switch colors for dark mode with a media query inside the file. This tool does not write one, because text in an
SVG depends on fonts the visitor may not have. If you add your own icon.svg, tick the box under "Site name, folder and manifest options": the ICO line is then marked sizes="32x32",
the workaround Evil Martians give for a Chrome quirk that can pick the ICO over the SVG.
How do you keep an icon readable at 16 pixels?
Use one shape or one or two letters, a heavy weight and strong contrast: a 16 px icon has 256 pixels in total, so thin strokes and photos turn to mud. Aim for a contrast ratio of at least 3:1 between letter and background, which is the WCAG minimum for graphics; the tool warns you below that.
- Crop a logo to its core. A wordmark will not survive 16 px. Take the symbol, or the first letter, and square it with crop image before you upload.
- Start large. Give the tool a square image of 512 px or more.
- Check both tab colors. A dark logo on a transparent background vanishes in a dark tab; the preview shows light and dark strips for that reason.
- Pick colors by value. If you only have a brand color as text, the hex to RGB converter turns it into numbers for other tools.
How do you add the files to a site?
- Upload all the files to the folder shown in "Folder on your site" (the root,
/, unless you changed it). - Paste the tags from the box above inside the
<head>of every page, or of your site template once. - Open
/favicon.icoon your own domain in a browser to confirm it loads and is not a 404 page. - Reload hard. Browsers cache favicons for a long time; close the tab, or reopen the site in a private window to see the new one.
An apple-touch-icon.png in the root folder applies to the whole site, Apple's guide says. To shrink the PNGs further, use
compress image.
Why does Google Search show a different icon than my tab?
Google picks its own file and refreshes it slowly. It reads the rel="icon" tag on your home page, and recrawling can take from several days to several weeks.
| Rule | Google says |
|---|---|
| Shape | Square, 1:1 |
| Size | At least 8 × 8 px; larger than 48 × 48 px recommended |
| Formats | BMP, GIF, ICO, PNG, JPEG, PPM, TIFF |
| Where | A link tag on the home page; one favicon per host name |
| Crawling | Home page and icon file must not be blocked, including by robots.txt |
| Stability | Keep the icon URL the same; a favicon is not guaranteed to appear |
Source: Google Search Central, Define a favicon to show in search results.
What goes wrong with favicons most often?
- A rename that breaks the root request. Evil Martians says to keep
/favicon.icowithout a hash or folder in the name, because tools look for that exact path. rel="shortcut icon". MDN calls theshortcutkeyword non-conforming and says authors must not use it. Userel="icon".
Sources
- Evil Martians: How to favicon in 2026
- MDN: HTML rel attribute (icon, apple-touch-icon, shortcut)
- MDN: Web app manifest icons
- web.dev: What does it take to be installable?
- Google Search Central: Define a favicon to show in search results
- Apple: Configuring Web Applications (Safari Web Content Guide)
- Can I use: SVG favicons
- Wikipedia: ICO (file format)
Last reviewed November 17, 2026. Support figures and Google's rules change; check the sources before you rely on a number. Not verified here: how every browser and phone launcher crops or scales each file.
Related tools