Home › Guides
Favicon Sizes in 2026: Which Icon Files Your Website Needs
A favicon is the small icon that represents your site in browser tabs, bookmarks, phone home screens and Google search results. It is a tiny file, but it is one of the most visible parts of a brand online, and getting it wrong means a blurry icon, a generic globe in search results, or a blank square when someone saves your site to their phone.
There is a lot of outdated advice that tells you to create dozens of sizes. You do not need that many. This guide lists the small set of files that cover modern browsers, iOS and Android, and Google Search, with the HTML to add and a few design tips for icons that stay legible at 16 pixels.
The short list
| File | Size | Used for |
|---|---|---|
| favicon.ico | Contains 16×16, 32×32 and 48×48 | Older browsers and anything that requests /favicon.ico directly |
| favicon.svg | Scalable | Modern browser tabs; can adapt to dark mode |
| apple-touch-icon.png | 180×180 | iPhone and iPad home screen and bookmarks |
| icon-192.png | 192×192 | Android and installed web apps (via manifest) |
| icon-512.png | 512×512 | Android splash screens and app install (via manifest) |
With these five files and a web app manifest, almost every place your icon appears is covered.
Where favicons appear
- Browser tabs, bookmarks and history lists.
- Phone and tablet home screens when a visitor saves your site.
- Installed web apps on desktop and Android.
- Google search results on mobile and desktop.
- Some messaging apps and link previews.
The HTML to add
Add these lines inside the head of every page, adjusting paths to match where you store the files:
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
Browsers that support SVG favicons will use the SVG; others fall back to the ICO. Keep a copy of favicon.ico at the root of the site as well, because some tools and browsers request that path directly even without a link tag.
The web app manifest
The manifest is a small JSON file that tells browsers how your site should look when installed or saved to a home screen. Its icons list is where the 192 and 512 sizes go. Google's web.dev documentation says that for Chromium browsers you must provide at least a 192×192 and a 512×512 icon, and that Chrome scales them to fit the device if only those two are provided.
If you want the icon to fill the shaped masks Android uses (circles, squircles and so on), add a maskable version with extra padding so the important part of the design stays inside the safe zone.
Apple touch icon
iOS does not use the standard icon link or manifest icons to choose a home screen icon. As MDN notes, it uses the non-standard apple-touch-icon link instead. Apple's own examples show a 180×180 icon for current iPhones. Use a PNG with a solid background, because iOS fills transparent areas and may add its own rounded corners.
What Google Search requires
Google shows a favicon next to your site in search results on many surfaces. According to Google Search Central:
- The favicon must be square (1:1) and at least 8×8 pixels, though Google recommends larger than 48×48 so it looks good on various surfaces.
- Supported formats are BMP, GIF, ICO, PNG, JPEG, PPM and TIFF. SVG is not on that list, which is one more reason to keep an ICO or PNG favicon alongside an SVG.
- Both the favicon file and your home page must be crawlable by Google. Do not block them in robots.txt.
- Keep the favicon URL stable rather than changing it often.
- Google will not show a favicon it considers inappropriate, and replaces it with a default icon.
After you change a favicon, it can take time for Google to recrawl your home page and update the icon in results. Requesting indexing of the home page in Search Console can help.
Designing an icon that works at 16 pixels
- Simplify. A full logo with a wordmark rarely survives at tab size. Use a symbol, monogram or a single letter.
- Use strong contrast and avoid thin lines, which disappear at small sizes.
- Test on light and dark tabs. An SVG favicon can include a media query for prefers-color-scheme to switch colors in dark mode.
- Fill the square. Large empty margins make the icon look smaller than neighbors in the tab bar.
- Check pixel alignment for the 16 and 32 sizes in the ICO, and hand-tune them if the automatic resize looks soft.
Creating the files
Start from a high-resolution square master, ideally a vector file, then export each size from it. A 512×512 PNG is a good master for the raster sizes. Export the 192 and 180 pixel PNGs, then build the ICO with 16, 32 and 48 pixel layers. Many image editors and free command-line tools can combine PNGs into a single ICO file.
For the SVG, keep the code clean. Remove editor metadata, use simple shapes and a viewBox, and keep the file small. If you add a dark mode version, put a style block inside the SVG with a prefers-color-scheme media query that swaps the fill colors.
Name files plainly and keep them in a stable location, such as the site root or an /icons/ folder. Then reference the same paths on every page so browsers and crawlers always find them.
Favicons and brand consistency
The favicon is often the first piece of your brand a person sees, in a crowded tab bar or a page of search results. Use the same symbol and colors as your logo system so people connect the two. If your brand uses a full logo and a separate icon mark, the icon mark is usually the right starting point for the favicon. Document the favicon in your brand guidelines along with the other logo variations, so future redesigns do not drop it.
Testing your favicon
- Open the site in Chrome, Firefox, Safari and Edge and look at the tab, including in dark mode.
- Load /favicon.ico directly to confirm it returns the file, not a 404.
- Add the site to an iPhone home screen and an Android home screen.
- Check the manifest in your browser's developer tools under the Application panel.
- After Google recrawls, search for your brand and look at the icon in results.
- Clear the browser cache or use a private window when checking changes, because favicons are cached aggressively.
Common mistakes
- Using a wide, rectangular logo that gets squashed into a square.
- Uploading only a 16×16 PNG, which looks blurry everywhere else.
- Blocking the icons folder in robots.txt.
- Forgetting the Apple touch icon, so iOS saves a screenshot thumbnail instead.
- Changing the favicon file name every few weeks, so search engines keep the old one.
- Serving the favicon from a different domain or CDN path that redirects, which some crawlers and browsers handle poorly.
- Leaving a placeholder icon from a website template or theme in place after launch.
Frequently asked questions
What size should a favicon be?
Provide a favicon.ico containing 16, 32 and 48 pixel sizes, an SVG for modern browsers, a 180×180 Apple touch icon, and 192×192 and 512×512 PNGs in a web app manifest. Google recommends a square favicon larger than 48×48 for search results.
Can I use an SVG as my favicon?
Yes, in browsers that support SVG favicons. Add it with a link rel=icon tag and type image/svg+xml, and keep a favicon.ico as a fallback for browsers and tools that do not use SVG.
Why is my favicon not showing in Google search results?
Common causes are a favicon that is not square, a file or home page blocked from crawling, a frequently changing favicon URL, or Google not having recrawled yet. Google may also replace a favicon it considers inappropriate with a default icon.
Do I need a web app manifest just for a favicon?
Not for browser tabs, but the manifest is how Android and installed web apps find your 192 and 512 pixel icons. It is a small file and worth adding.
Why does my old favicon still show after I changed it?
Browsers cache favicons aggressively. Check in a private window or clear the cache. In search results, Google has to recrawl your home page before the new icon appears.