HARNESS TRAIL BLOG

Favicon sizes: a complete web, Apple and Android guide

Choose the correct favicon dimensions, formats and HTML links for browser tabs, Apple touch icons and web app manifests.

IN-DEPTH EXPLAINER

A favicon looks like a tiny design task, yet it is delivered to several unrelated surfaces: a browser tab, a saved bookmark, a search result and an installed web app. Those surfaces do not all request the same file.

The useful question is not which single size wins. It is how to create a small, stable package from one master artwork and then verify each destination without mistaking a cache for a broken file.

Direct answer

A reliable favicon package uses 16, 32 and 48 px for classic browser use, 180 px for Apple touch icons, and 192 and 512 px for installed web apps.

Practical reference

Browser favicon16×16, 32×32 and 48×48
Apple touch icon180×180 PNG
Web app manifest192×192 and 512×512 PNG
Master artwork1024×1024 square source

Step-by-step workflow

  1. 1Start with simple square artwork and enough margin to remain legible at 16 px.
  2. 2Export ICO for compatibility, SVG for scalable browsers and PNG for device icons.
  3. 3Add icon, apple-touch-icon and manifest links to the document head.
  4. 4Test a private window, bookmark and home-screen installation after clearing old cache.

Common mistakes

  • Using detailed artwork that collapses at tab size.
  • Stretching a non-square source instead of padding or cropping it.
  • Publishing only one large PNG and assuming every platform will resize it correctly.
  • Changing the file while an old favicon remains cached.

One mark, several consumers

Classic browser contexts still benefit from an ICO containing small raster sizes, while modern browsers can use SVG. Apple home-screen icons and web app manifests use larger raster assets because they appear outside the browser tab.

Google recommends a square favicon and a stable URL. Search appearance is not guaranteed, and a change can take days or weeks to be recrawled, so repeatedly renaming files is usually counterproductive.

Design for sixteen pixels first

A detailed logo that looks polished at 1024 pixels may turn into noise at 16 pixels. Remove fine text, increase negative space and test light and dark surroundings before exporting the package.

The master should remain editable and large. Small files are outputs, not sources: enlarging a 32-pixel icon for a 512-pixel manifest slot cannot restore the missing edges.

Caching is part of the product

Browsers, devices and search systems cache icons independently. Verify the URL directly, its response code and MIME type before deciding the artwork is wrong.

A controlled release keeps icon URLs stable, updates the HTML and manifest together, and checks a private profile, a bookmark and an installed shortcut separately.

PRACTICAL EXAMPLE

A rebrand that appeared broken

A team replaced favicon.ico and saw the new mark in a private tab, the old mark in bookmarks and no change in search results. They kept exporting new files, which made diagnosis harder.

What a better workflow looks like: They restored stable URLs, verified every declared file returned 200, tested the 16-pixel drawing independently and waited for recrawling. The issue was several caches, not one invalid image.

Before you publish: a six-point checklist

  • Keep the untouched source file and work on a copy.
  • Test one representative file before processing a batch.
  • Inspect the downloaded result at its real display size and at 100%.
  • Confirm dimensions, format, transparency and byte size in file properties.
  • Open the result in the final website, form, app or device.
  • Record the setting that produced the accepted result so it can be repeated.

Turn the explanation into a quick test

Use the favicon generator to turn one approved square master into a repeatable package. The generator is the production step; this article remains the checklist for deciding what belongs in that package.

Open the related tool

Choose the correct favicon dimensions, formats and HTML links for browser tabs, Apple touch icons and web app manifests.

Open the related tool →

Frequently asked questions

Is 32×32 enough?

It covers many browser contexts but does not replace Apple and manifest icons.

Should I use ICO or SVG?

Use both when possible: ICO preserves compatibility and SVG stays sharp.

Why is the old icon still visible?

Favicons are cached aggressively; verify the URL in a private window.

Sources and further reading

This article synthesizes the references below with HarnessTrail's browser-local workflow and original examples.

Related articles