IconShark

Home › Guides

Favicon Sizes in 2026: Which Icon Files Your Website Needs

Published November 21, 2026

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

FileSizeUsed for
favicon.icoContains 16×16, 32×32 and 48×48Older browsers and anything that requests /favicon.ico directly
favicon.svgScalableModern browser tabs; can adapt to dark mode
apple-touch-icon.png180×180iPhone and iPad home screen and bookmarks
icon-192.png192×192Android and installed web apps (via manifest)
icon-512.png512×512Android 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

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:

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

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

  1. Open the site in Chrome, Firefox, Safari and Edge and look at the tab, including in dark mode.
  2. Load /favicon.ico directly to confirm it returns the file, not a 404.
  3. Add the site to an iPhone home screen and an Android home screen.
  4. Check the manifest in your browser's developer tools under the Application panel.
  5. After Google recrawls, search for your brand and look at the icon in results.
  6. Clear the browser cache or use a private window when checking changes, because favicons are cached aggressively.

Common mistakes

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.

Sources