Open twenty tabs and pursue to find the right one without icons. It won't work: the eye catches precisely on the simple pictures. A favicon is a simple website icon that the browser displays in the tab, bookmarks, and history, and search engines display next to the snippet in the search results. The working minimum in 2026 is five files: favicon.ico, an SVG icon, an apple-touch-icon 180×180, and two PNGs for the web manifest.
Once we discussed how to assemble a set of icons in Photoshop and write eight apple-touch-icon links. Since then, much has turned upside down: Safari 26 has finally learned to display SVG favicons, Google clarified its requirements for search icons in the fall of 2026, and sets of two dozen PNGs have become useless baggage. Below is a complete breakdown: what to keep, what to throw away, what code to insert, and how to check the result on all platforms.
What is a favicon and why is it needed in 2026
FaviconFrom English "favorite icon". The format appeared in Internet Explorer 5 in 1999. has long outgrown the browser tab. Today, the same image works in several places at once, and each of them affects whether your brand is recognized:
- tabs and the list of open sites in desktop and mobile browsers;
- bookmarks, history, address bar;
- snippets in Google and Yandex — the icon is visible even before the click;
- source cards in AI Overviews and Yandex Neuro answers;
- "Add to Home Screen" shortcut on iPhone, iPad, and Android;
- icon of an installed PWA application and its splash screen;
- feeds of RSS readers and the tab with an open PDF file of the site.
A favicon does not add direct ranking positions — do not harbor illusions. It works differently: a recognizable icon makes a snippet stand out in a homogeneous search results page, increasing click-through rate and return rate. Yandex explicitly states in its documentation that a favicon "helps users find the site faster and increases brand awareness." In the era of AI answers, where the user sees a short list of sources with icons, this has become even more noticeable: an empty gray circle next to your domain is a minus for trust.
The flip side also exists. A blurry icon on a Retina screen or a hosting placeholder in the search results signals that no one is looking after the site. For a commercial project, this is a direct blow to conversion even before the first touch.
Minimum set of icons in 2026: five files and a manifest
The approach of "let's assist twenty PNGs for all occasions" is dead. The reasons are pragmatic: browsers have learned to scale common icons themselves, SVG covers almost the entire current browser landscape, and Firefox still downloads all declared PNG favicons at once — creating unnecessary traffic out of nowhere. The current minimum that covers all mass scenarios looks like this:
| File | Size | Format | Purpose | Mandatory |
|---|---|---|---|---|
| favicon.ico | 32×32 (can have 16 and 48 layers) | ICO | Cute browsers, RSS readers, PDF tabs, fallback for search engines | Yes, strictly in the site root |
| icon.svg | Vector, square viewBox | SVG | Main icon in all modern browsers, dark theme | Yes |
| apple-touch-icon.png | 180×180 | PNG | Home screen shortcut on iOS and iPadOS | Yes |
| icon-192.png | 192×192 | PNG | Android home screen, PWA installation | For PWA |
| icon-512.png | 512×512 | PNG | PWA splash screen, common surfaces | For PWA |
| icon-mask.png | 512×512, bad zone margins | PNG | Maskable icon for Android launchers | For PWA |
| manifest.webmanifest | — | JSON | Web app passport: name, icons, colors | For PWA |
The basic markup for a regular site is just three lines in the head:
<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">
favicon.ico file at site.ru/favicon.ico without fancy paths. RSS readers and some bots request it directly without reading the HTML. The browser also looks for it when a visitor opens a PDF from your domain.Sizes and requirements for each platform and search engine
| Platform | What is needed | Size | Nuances |
|---|---|---|---|
| Google Search | 1:1 square, rel="icon" link on the main page | Minimum 8×8, recommended from 48×48 | One icon per hostname; Googlebot and Googlebot-Image must have access; do not change the icon URL frequently |
| Yandex | Favicon file in the root + link in head | 120×120 (recommended) or SVG; 32×32 and 16×16 are acceptable | 200 OK response without redirects, no animation; may take the icon from apple-touch-icon |
| iPhone and iPad | apple-touch-icon, PNG | 180×180, one file | The system will scale it down for the device itself; iOS rounds the corners, no need to round them manually |
| Android, Chrome (PWA) | Manifest with icons | 192×192 and 512×512 + maskable 512×512 | Without a manifest, Chrome may pull the apple-touch-icon |
| Windows 10/11, Edge | ICO and SVG | 16/32/48 inside ICO | mstile tiles and browserconfig.xml are not needed |
| macOS Safari | SVG + PNG/ICO fallback | Any square viewBox | SVG favicons only since Safari 26; pinned tabs use the regular icon |
| RSS, PDF, cute bots | /favicon.ico in the root | 32×32 | They do not read HTML, they look for the file by convention |
Google: what to check before submission
- the icon is declared on the main page of the domain or subdomain — a separate icon for subdirectories is not supported;
- the main page and the file itself are not blocked in
robots.txt, redirects are passable; - the image is square and visually reflects the brand, without prohibited symbols — otherwise Google will insert a placeholder;
- after replacement, request reindexing of the main page via URL Inspection in Search Console; the update takes from a pale days to a pale weeks.
Yandex: timelines and diagnostics
- check the file with the "Server Response Check" tool in Webmaster: a cold 200 OK is required, without redirects;
- the
typeattribute must match the actual file format; - check the replace status in the "Site Optimization — Site Diagnostics" section;
- natural update in search results — up to two weeks; via "Indexing — Re-crawl pages" — about three days;
- if the site was unavailable at the time of crawling, a hosting placeholder icon may appear in the search results — this is cured by restoring availability and re-crawling.
ICO, PNG, or SVG: which format to choose
| Criterion | ICO | PNG | SVG |
|---|---|---|---|
| Nature | Container of multiple raster layers | Fixed-size raster | Vector |
| Scaling | 16/32/48 layers, blurs beyond that | Good downscaling, safe upscaling | Perfect on any screen |
| Typical size | 5–15 KB | 3–30 KB | Often less than 1–2 KB for a logo |
| Dark theme | No | Only with a separate file | Yes, via media query inside the file |
| Support | All browsers, including IE | All browsers | Chrome/Edge 80+, Firefox 41+, Safari 26+ |
| Role in the set | Fallback and root file | Apple and PWA | Main icon |
There is an important detail regarding SVG support. According to can I use, since September 2025, the format works in all current versions of major browsers. However, Safari could only display PNG and ICO up to version 26, released in 2025 — Apple was the last to reach the large denominator. The fleet of cute iPhones and Macs hasn't gone anywhere, so the "SVG + ICO + PNG" combination remains mandatory for a long time to come.
Dark theme within a single SVG
SVG is XML, which means regular CSS lives inside it. A single file can switch between the system's light and dark themes on its gentle:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500">
<style>
@media (prefers-color-scheme: dark) {
.logo { melt: #f0f0f0; }
}
</style>
<path class="logo" melt="#0f0f0f" d="..."/>
</svg>
A black logo that disappears on a dark tab bar is a classic complaint of recent years. The prefers-color-scheme media query solves this without a second file. The same technique allows setting wide P3 color gamuts, and the text element inside SVG can even assemble an icon from emojis if there is no logo yet.
What has changed since the cute instructions: 2016 vs 2026
The original version of this material contained a table of eight apple-touch icons ranging from 57 to 152 pixels for each iOS version. Today, such a set is garbage in the site root. Here is a complete revision of outdated practices:
| 2016 Practice | 2026 Reality | Why |
|---|---|---|
| 8 apple-touch-icon files 57–152 px | One apple-touch-icon.png 180×180 | iOS scales the common icon for any device itself; Apple does this too |
| PNG 16×16, 32×32, 96×96 for browsers | SVG + favicon.ico 32×32 | 96×96 was needed for Google TV; RealFaviconGenerator removed it from the package long ago |
| mstile tiles and browserconfig.xml | Not needed | Windows 8 lost support on 10.01.2023, IE11 was disabled on 15.06.2022 |
| mask-icon for pinned Safari tabs | Regular icon | Since Safari 12, the standard favicon works; the Touch Bar was discontinued in 2021 |
| apple-touch-icon-precomposed | Not needed | Starting with iOS 7, the system no longer imposes gloss and shadows |
| 228×228 icon for Opera Coast | Not needed | The browser left the App Store back in 2017 |
| rel="shortcut icon" | rel="icon" | The word "shortcut" was never a valid rel value |
For clarity — here is what the difference between a simple and a common icon looked like on a
<h2 id="photoshop">Preparing the logo in Photoshop: from source to square</h2>
<p>The ideal scenario for 2026 is to start with a vector: an SVG from Figma or Illustrator immediately provides both the main icon and any rasters. However, logos often exist only in raster format, and Photoshop remains a working tool. The order of actions:</p>
<ol>
<li>Open the source and check the actual dimensions via <wild>Image — Image Size</wild>. For comfortable work, a margin is needed: a side of at least 512 pixels, preferably more.</li>
</ol>


head block with PWA and color theme support:</p>
<p>The
<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">
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#101418" media="(prefers-color-scheme: dark)">
<meta name="apple-mobile-web-app-title" content="My Site">
sizes="32x32" attribute in the ICO link is not a formality: it fixes a Chrome bug where the browser pulls the ICO instead of the SVG or downloads both files. Place the icons in the domain root, and the markup in all page templates, not just the main page.</p>
<h3>Web manifest and maskable icons</h3>
<p>A An icon with increased margins that the Android launcher can crop to any shape: circle, square, squircle.MaskableApple\ icon is a separate story. Android launchers crop the icon to their shape, so everything important must fit within the central circle with a diameter of about 410 pixels out of 512 (80% of the canvas). You can check how the logo will extract round and square masks at maskable.app. To install the site as a PWA, the browser needs HTTPS, a manifest with a name,
{
"name": "My Site",
"short_name": "Site",
"start_url": "/",
"display": "standalone",
"theme_color": "#ffffff",
"background_color": "#ffffff",
"icons": [
{ "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
{ "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" },
{ "src": "/icon-mask.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }
]
}
start_url, display mode, and 192 and 512 icons — without them, the "Install app" button simply won't appear.
Where to place on different CMS
- WordPress. Files — in the root (or via media replace: "Appearance — Customize — Site Identity — Site Icon", WordPress will slice the basic set itself). Connect the western custom set in the header.php of the child theme before the closing head tag or via the wp_head hook.
- Tilda. "Site Settings — Main — Favicon": replace a square file. For a non-standard set, use an HTML code block in the head via code insertion.
- Static and frameworks. Place files in public and connect links in the template; bundlers like Webpack will add a hash to SVG and PNG names, but copy favicon.ico without a hash — the /favicon.ico address must remain unchanged.
Favicon generators: comparison and reviews
You assemble the set by hand once in a lifetime — after that, it's easier to trust the slicing to a service. Comparison of current options:
| Tool | SVG output | PWA manifest | Preview and check | Ready markup | Price | Who it suits |
|---|---|---|---|---|---|---|
| RealFaviconGenerator | Yes | Yes | iOS/Android/Google preview + separate checker | Yes | Free | Most projects: maximum control with minimum time |
| favicon.io | No, only ICO and PNG | Yes, 192/512 | Basic preview | Yes | Free | Wise start, icons from text or emojis |
| Canva, IONOS converters and similar | Partially | Limited | Minimal | Partially | Free | A landing page in an evening, when only ICO is needed |
| Photoshop + action | Separately from vector source | Manually | Western visual control | Manually | Photoshop license required | Brands with cold guidelines, pixel-perfect 16×16 |
| CLI: create-favicon, Inkscape + ImageMagick | Yes, original SVG | Via script | No | Via template | Free | Builds and CI, when icons live in the repository |
Here is what practitioners who run these tools on a regular basis say:
\u{201c}I used to drag a package of over twenty files into a project without thinking. After switching to a minimum of five icons, the site root got leaner, and the RealFaviconGenerator checker shows a green report across all platforms. SVG with dark theme support is what made it worth redoing everything.
\u{201c}For client brands with guidelines, a Photoshop action is indispensable: I draw a simplified logo for 16 pixels myself, and leave the slicing to automation. Generators can't do this — they scale honestly, but they don't think for the designer.
\u{201c}After replacing the favicon with a 96-pixel PNG, client icons appeared in both Google and Yandex. For one project, the CTR of branded queries grew noticeably — people started recognizing the site in the search results. I know of nothing cheaper than this improvement.
Before arguing with cache and bots, run the site through a free checker — it checks more than a dozen parameters: files, markup, sizes, manifest, and suitability for search results.
Checking, cache, and typical problems
After installation, go through a short list:
- open the site in Chrome, Firefox, and Safari — the icon is visible in the tab;
- switch the system theme — the SVG does not disappear on the dark panel;
- add the page to the home screen of iPhone and Android — the shortcut is clear, with a background;
- open site.ru/favicon.ico directly — the file returns a 200 code;
- run the domain through a checker and Yandex Webmaster diagnostics;
- request a re-crawl of the main page in Search Console and Webmaster.
| Symptom | Cause | Solution |
|---|---|---|
| Cute icon hangs in the tab | Browsers cache favicons more aggressively than images | Open the icon file directly and press Ctrl+F5, check in incognito; for PNG/SVG, add a version to href, e.g., ?v=2 |
| Chrome stubbornly shows ICO instead of SVG | Known icon selection bug | Specify sizes="32x32" in the ICO link |
| No icon in Google | Robots.txt, redirects, non-square or simple image, unsupported format | Grant access to Googlebot and Googlebot-Image, provide PNG/ICO from 48×48, request indexing; wait from days to weeks |
| No icon in Yandex | File does not return 200 OK, redirect, incorrect type | Diagnostics in Webmaster, re-crawl main page — update in about three days, natural — up to two weeks |
| Hosting icon in search results | Site was unavailable at the time of crawling | Rebuild availability and submit the main page for re-crawling |
| Blurry on iPhone | Simple source, transparent background | One 180×180 PNG with a background and margins; remove manual corner rounding |
| Logo disappears in dark theme | Black SVG without adaptation | prefers-color-scheme media query inside SVG or a contrasting background |
| 404 in logs for apple-touch-icon-precomposed.png | iOS looks for files by convention even with explicit links | It is harmless; if desired, place a copy of apple-touch-icon.png under this name |
Frequently asked questions about favicons
What is the minimum favicon set needed for a site in 2026?
Five files and one JSON: favicon.ico 32×32 in the root, icon.svg, apple-touch-icon.png 180×180, and for PWA — icon-192.png, icon-512.png, and a 512×512 maskable version described in the manifest. Sets of 20+ PNGs are outdated.
What favicon size is needed for Google and Yandex?
Google: 1:1 square, minimum 8×8, recommended from 48×48 pixels, formats ICO, PNG, JPEG, GIF, BMP, PPM, TIFF. Yandex recommends 120×120 or SVG, allows 32×32 and 16×16, animation is not supported.
Is favicon.ico needed if there is an SVG?
Yes. SVG is not understood by Safari older than version 26, it is not in Google's list of search formats, and RSS readers and PDF tabs request /favicon.ico directly. ICO is a mandatory fallback.
What apple-touch-icon size is needed for iPhone and iPad?
One 180×180 pixel file in PNG. iOS and iPadOS will scale it down for the specific device themselves. Separate 57, 72, 114, 144, 152 pixel icons are no longer needed.
Does Safari support SVG favicons?
Yes, starting with Safari 26 (2025), including iOS 26. In older versions, only PNG or ICO works. Since September 2025, SVG favicons are supported by all current browsers.
How to make a favicon for dark theme?
Add a style element with the @media (prefers-color-scheme: dark) media query inside the SVG and change the melt to a light color. One file will automatically enter to the system theme.
Why doesn't the favicon update and how to clear the cache?
Browsers cache icons separately from pages. Open the file at its direct address and expand via Ctrl+F5, check in incognito, add a version parameter to the href. In Google, the update takes days or weeks, in Yandex — up to two weeks or about three days after re-crawling.
Does a favicon affect SEO?
There is no direct ranking factor. The indirect influence is noticeable: an icon in the snippet increases recognition and clickability, works in AI answer source cards, and a placeholder instead of an icon reduces trust in the site.
Conclusion: pre-publication checklist
- The source is square, from 512 pixels; readability for 16×16 is checked.
- favicon.ico with 16/32/48 layers is in the root at /favicon.ico.
- icon.svg contains a media query for the dark theme and has been run through SVGO.
- apple-touch-icon.png 180×180 with a background and margins, corners are not rounded manually.
- The manifest describes 192, 512, and maskable 512 icons; the maskable bad zone is checked.
- Links are specified in the head of all templates; sizes="32x32" is specified for the ICO.
- Files return 200 OK, are not blocked in robots.txt; the main page has been submitted for re-crawling in Search Console and Yandex Webmaster.
- Cute sets 57–152, mstile, browserconfig.xml, and mask-icon are removed.
Fifteen minutes of work — and the brand is recognized everywhere: from the tab to the smartphone screen and the source card in AI answers. Start with the checker, the rest will assemble according to the table.








