Search for favicon advice and you will find two extremes. One camp says a single favicon.ico in the root folder is all anyone needs. The other hands you a download with twenty-something PNG files and a wall of markup to go with them. Neither is a useful answer for a working site.

The honest answer is a short checklist, and each item on it exists because a surface asks for it: a browser tab, a phone home screen, an Android launcher, a search result. This guide walks that checklist size by size, then shows how to audit your site with the free Favicon Link Checker on Ovatly, which reads the icon declarations in your page's HTML and tells you which standard ones are missing.

Contents

  • Quick answer
  • The checklist, size by size
  • Why one big PNG is not enough
  • How to check your site, step by step
  • Worked example: a head with two declarations
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

You need six declarations. In the HTML head: a 16x16 PNG and a 32x32 PNG for tabs and browser UI, a favicon.ico, and a 180x180 apple-touch-icon for home screens. In the web app manifest: 192x192 and 512x512 PNGs for Android and search results. One shortcut exists: an SVG icon declared with sizes="any" satisfies both the 16 and 32 requirements, because the browser scales it to fit. To audit an existing site, paste its head into the Favicon Link Checker and read the missing list.

The checklist, size by size

16x16 and 32x32 PNG. These are the tab icons, the smallest versions of your mark. The 16-pixel size sits in the tab and the bookmarks bar; 32 covers higher-density displays and other browser UI. At these sizes a detailed logo turns to mush, which is why sites often use a simplified version of the mark rather than a shrunk copy of the full logo.

favicon.ico. The legacy format, and still worth having. Browsers request /favicon.ico by default when a page declares nothing, and an .ico file can bundle several sizes into a single file. It is the safety net under everything else on this list.

180x180 apple-touch-icon. When someone saves your site to an iPhone or iPad home screen, this is the icon they get. It never appears in a browser tab, so it is easy to forget, and its absence shows up when a visitor's home screen displays a screenshot of your homepage instead of an icon.

192x192 and 512x512, in the manifest. These two are declared in the web app manifest rather than the page HTML. Android uses them for home screen icons and install prompts, and search results draw on the larger icon set as well. Because they live in a different file, they are the pair most often missing without anyone noticing.

The SVG shortcut. An SVG icon declared with sizes="any" satisfies both the 16 and 32 requirements in a single file, since a vector scales cleanly to whatever slot asks for it. If your mark works as a simple vector, this replaces the two small PNGs. It does not replace the touch icon or the manifest pair.

Not on the list: mask-icon. A mask-icon is the Safari pinned-tab icon, a separate declaration with its own single-color format. Worth adding for Safari users, but it is an extra, not one of the standard sizes.

Why one big PNG is not enough

It is tempting to declare a single large PNG and let every surface scale it down. The problem is that each surface asks for a declared size, and several surfaces do not go looking in the HTML at all. The home screen wants the touch icon. Android and search want the manifest entries. A surface that finds no declaration does not use your big PNG; it falls back to a default globe or a miniature screenshot of the page. Declaring the set is what puts your mark in each place, and it is only six items long.

How to check your site, step by step

  1. Open any page of your site, view its source, and copy the <head> section.
  2. Paste it into the Favicon Link Checker.
  3. Read the list of icon tags found. Each one is shown with its rel, sizes and href, so you can see exactly what the page declares.
  4. Read the missing list and compare it against the checklist above: 16, 32, the .ico, the 180 touch icon, and the 192 and 512 manifest icons.
  5. Fix any gaps by adding the declarations to your HTML. The icon files themselves are made with a favicon generator.
  6. Open your web app manifest separately and confirm the 192 and 512 entries there, since the checker cannot see them in the HTML.

Worked example: a head with two declarations

Take a typical head that declares only a favicon.ico and an apple-touch-icon at 180. Pasted into the checker, it reports "2 icon declarations found", listing the .ico and the 180px touch icon. The missing list names the rest: the 16x16 PNG, the 32x32 PNG, and the 192 and 512 manifest icons.

Read that result surface by surface. Tabs are covered, by the .ico. Home screens on Apple devices are covered, by the touch icon. The two PNG sizes are open, which one SVG declaration with sizes="any" would close in a single line. The manifest pair is open too, and no change to the HTML fixes that; those two declarations go in the manifest file. Four gaps, two files to edit, and the audit took under a minute.

Limitations and honest tradeoffs

The checker reads declarations only. It cannot confirm that the file an href points to actually exists on your server, and it cannot render a preview of how the icon will look in a tab. A declaration can be perfect and still 404.

The manifest blind spot cuts both ways. Because the 192 and 512 icons do not appear in the HTML, the checker will list them as missing, even on a site that declares them correctly in its manifest. Treat the missing list as a prompt to check the manifest, not as proof the icons are absent.

And the checklist itself is a floor, not a ceiling. It covers the standard surfaces. A site with a strong reason to support an unusual platform may need more, but no site needs the twenty-file bundle for these surfaces.

Common mistakes

  • Shipping the twenty-file bundle. Sizes nobody requests are weight and clutter. The checklist is six declarations.
  • Relying on favicon.ico alone. Tabs are covered; home screens, Android and search are left to fallbacks.
  • Declaring the manifest sizes in the HTML. The 192 and 512 belong in the web app manifest. Pasted into the head, they do nothing, and the checker will still report them missing.
  • Counting the mask-icon as a standard size. It serves Safari pinned tabs only. The tab and touch slots still need their own declarations.
  • Trusting a declaration without opening the file. The checker cannot verify that an href resolves. Open each icon URL once yourself.

FAQs

What favicon sizes does a website actually need? Six declarations cover the standard surfaces: 16x16 and 32x32 PNG icons for tabs and browser UI, a favicon.ico file, a 180x180 apple-touch-icon for home screens, and 192x192 plus 512x512 icons declared in the web app manifest for Android and search results.

Can one SVG favicon replace the 16 and 32 PNGs? Yes. An SVG icon declared with its sizes attribute set to any satisfies both the 16 and 32 requirements, because the browser scales the vector to whatever size the slot needs. You still need the touch icon and the manifest icons for the other surfaces.

Why does the checker say my 192 and 512 icons are missing when I have them? Those icons are declared in the web app manifest, not in the page HTML. The checker reads the HTML you paste, so manifest icons never show up in its list. Open the manifest file itself to confirm they are declared there.

Is the mask-icon one of the required sizes? No. A mask-icon is the Safari pinned-tab icon, a separate declaration with its own format. It is a nice extra for Safari users, but it does not count toward the standard checklist of sizes.

Does the checker confirm my favicon files exist? No. It reads the declarations in the HTML you paste and lists each tag's rel, sizes and href, plus which standard declarations are missing. It cannot confirm the referenced files exist on the server or render how the icon will look.

Conclusion

Six declarations, split across two files, cover every standard surface: the 16 and 32 PNGs (or one SVG standing in for both), the favicon.ico, the 180 touch icon in your head, and the 192 and 512 pair in your manifest. Anything beyond that is waste; anything less leaves a surface bare. The Favicon Link Checker turns the audit into a paste and a read. Once your sizes are settled, our guide on checking favicon tags after moving a site covers the other moment declarations quietly break. For more guides in this series, see our Website and Webmaster Tools guides, which pair each technique with the free tool that performs it.

References