Skip to content
ImageDoctor
Guide6 min read

Favicon sizes: which icon files a website actually needs

Lists of 20 favicon sizes are mostly history. A current site needs four things: a favicon.ico, an Apple touch icon, two manifest icons, and a link Google can crawl.

Processed locally in your browser

A favicon is the small icon that represents a website in browser tabs, bookmarks, search results and home screens. Most sites need four files: a favicon.ico holding 16, 32 and 48 pixel versions, a 180 × 180 pixel apple-touch-icon for iPhones and iPads, and 192 × 192 and 512 × 512 pixel PNGs listed in a web app manifest. Make them all from one square image of at least 512 pixels, and keep the design simple enough to read at 16.

The favicon sizes that matter

FileSizeUsed forHow it is linked
favicon.ico16, 32 and 48 px in one fileBrowser tabs, bookmarks, Windows<link rel="icon">
PNG favicons16, 32 and 96 pxTabs on high-density screens, desktop shortcuts, search results<link rel="icon" type="image/png" sizes="…">
apple-touch-icon.png180 × 180 pxHome-screen icon on iPhone and iPad<link rel="apple-touch-icon">
Manifest icons192 × 192 and 512 × 512 pxAndroid home screens and installed web appsListed in site.webmanifest

Where these come from: web.dev says Chromium browsers need at least a 192 × 192 and a 512 × 512 icon in the manifest and scale those for each device (web.dev). Apple's Safari documentation uses apple-touch-icon, with 180 × 180 as the iPhone size in its example (Apple), and MDN notes that iOS ignores ordinary rel="icon" links for home-screen icons (MDN). All checked on 4 November 2026.

Older guides list dozens more sizes — 57, 72, 114, 144 and so on — for devices that are long gone. Browsers pick the most appropriate icon from what you offer and scale it, so extra files rarely help.

What Google Search needs to show your favicon

Google shows a site's favicon next to its results, and has its own rules (Google Search Central, last updated 27 October 2026, checked 4 November 2026):

  • Square, at least 8 × 8 pixels. Google recommends larger than 48 × 48 so it looks good everywhere it is shown.
  • A supported format: BMP, GIF, ICO, PNG, JPEG, PPM or TIFF. SVG isn't on that list, so link an ICO or PNG even if you also use an SVG favicon.
  • Linked from your home page with rel="icon" (Google also accepts shortcut icon, apple-touch-icon and apple-touch-icon-precomposed).
  • Crawlable, by both Googlebot-Image and Googlebot, at a URL that doesn't keep changing.
  • One per hostname. example.com and shop.example.com can have different favicons; example.com/shop can't.

Because Google prefers more than 48 px, the 96 px PNG favicon is worth including: it gives Google a larger icon to use than the biggest frame in a typical favicon.ico. After you change a favicon, Google has to recrawl your home page before the new one appears in results.

ICO, PNG or SVG?

  • ICO is a container that holds several sizes in one file, so one link covers 16, 32 and 48 pixels. It is still the most widely understood favicon format. ImageDoctor stores each size inside the ICO as PNG data, which keeps it small.
  • PNG is the simplest single-size file, and the format the Apple and manifest icons use.
  • SVG scales to any size from one file. caniuse.com lists SVG favicons as supported in about 92% of browsers in use (checked 4 November 2026), and they must be served as image/svg+xml. Because some browsers and Google's favicon list don't cover SVG, use it alongside an ICO or PNG, never instead of one. The SVG vs PNG comparison covers the trade-off more generally.

The HTML to add

Put the files in your site's root folder (or public/ in most frameworks) and add these lines to the <head> of every page:

  • <link rel="icon" href="/favicon.ico" sizes="any" />
  • <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> (and the same for 16 and 96)
  • <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
  • <link rel="manifest" href="/site.webmanifest" />

When several icons are equally suitable, MDN says the browser uses the last one listed, and if its first choice turns out to be in a format it can't use, it moves on to the next best. That is why it is safe to list a range of sizes.

Designing an icon that still reads at 16 pixels

  • Simplify. Use the logo's symbol or a single letter, not the full wordmark. Text smaller than the icon itself turns into a smudge.
  • Fill the square. A wide logo shrunk to fit a square leaves a thin strip in the middle. Crop to the symbol first, or set the generator's Non-square image option to Crop, which fills the square from the centre.
  • Think about both tab colours. Tabs can be light or dark. A transparent icon in dark grey disappears on a dark tab; a solid background or a light outline keeps it visible.
  • Check it at actual size. Look at the 16 px preview, not the 512 px one.

Make the full set in one go

  1. Start from a square image of 512 px or moreAn SVG or a PNG works best. Smaller sources get a warning, because the 512 px icon would be enlarged and look soft. To get a large PNG from a vector logo, see SVG to PNG.
  2. Open the Favicon GeneratorAdd the image to the Favicon Generator. Set padding, a background colour or transparency, and rounded corners up to a full circle; for a non-square image, choose Fit to show all of it or Crop to fill the square.
  3. Download the ZIPIt contains favicon.ico (16, 32 and 48 px), PNGs at 16, 32, 48, 96, 180, 192 and 512 px, a site.webmanifest and the HTML snippet. The snippet only references the files you chose to include. There is also a favicon.ico only download.
  4. Upload and checkCopy the files to your site's root, paste the snippet into the <head> and reload. Browsers cache favicons stubbornly, so open the page in a private window to see the new one.

Everything is generated in your browser; the logo is not uploaded to ImageDoctor. One limit worth knowing: the manifest lists its icons for general use (purpose: any) and the generator doesn't make a separate maskable icon, the kind Android crops into its own shapes. web.dev's manifest article explains how to add one.

Common questions

Make a favicon.ico with 16, 32 and 48 px frames for browsers, a 180 × 180 apple-touch-icon for iOS, and 192 × 192 and 512 × 512 PNGs for the web app manifest. Start from one square image of at least 512 px.

It is still the most widely understood format, it holds several sizes in one file, and Google lists ICO among the formats it supports for search results. Keep one even if you add PNG or SVG icons.

Check that it is square, at least 8 × 8 pixels (ideally larger than 48), in a supported format, linked from your home page and not blocked from Googlebot or Googlebot-Image. Then allow time for Google to recrawl the home page.

Yes, in most current browsers, as long as it is served as image/svg+xml. Keep an ICO or PNG as well, because not every browser supports SVG favicons and Google's favicon format list doesn't include SVG.

Tools in this article

Format reference

All blog