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 browserA 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
| File | Size | Used for | How it is linked |
|---|---|---|---|
favicon.ico | 16, 32 and 48 px in one file | Browser tabs, bookmarks, Windows | <link rel="icon"> |
| PNG favicons | 16, 32 and 96 px | Tabs on high-density screens, desktop shortcuts, search results | <link rel="icon" type="image/png" sizes="…"> |
apple-touch-icon.png | 180 × 180 px | Home-screen icon on iPhone and iPad | <link rel="apple-touch-icon"> |
| Manifest icons | 192 × 192 and 512 × 512 px | Android home screens and installed web apps | Listed 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 acceptsshortcut icon,apple-touch-iconandapple-touch-icon-precomposed). - Crawlable, by both Googlebot-Image and Googlebot, at a URL that doesn't keep changing.
- One per hostname.
example.comandshop.example.comcan have different favicons;example.com/shopcan'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
- 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.
- 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.
- 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.
- 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
Tools in this article
Format reference
Keep reading
- SVG vs PNG: when to use each formatSVG vs PNG compared for logos, icons, websites, print and cutting machines: how each format works, which one is smaller, transparency, and when to convert.
- How to make an image background transparentWhat transparency actually is, which formats keep it, how to turn a white background into a real transparent one, and how to check the result before you use it.
- Cropping and aspect ratios: getting the framing rightWhen to crop instead of resize, which aspect ratio to use where, how to straighten a crooked horizon, and how to make one photo work in every social format.Guides