SquareByteDigital Services

Knowledge base · Site identity

Favicons: the tiny logo that does a lot of work

A favicon is the little icon on a browser tab. It also appears in bookmarks, history, phone home screens and, often, next to your site in search results. A missing or blurry favicon is a small thing that quietly makes a site look unfinished.

What you need

  • An SVG favicon (favicon.svg): sharp at any size, supported by modern browsers.
  • A fallback favicon.ico (containing 16, 32 and 48 pixel versions) for older browsers and tools.
  • An Apple touch icon (apple-touch-icon.png, 180 × 180 pixels) for iPhone and iPad home screens.
  • Icons in a web app manifest (site.webmanifest), commonly 192 and 512 pixels, for Android and installable sites.

Design tips

  • Use your symbol, not your full logo with words. Text is unreadable at 16 pixels.
  • Test it on light and dark browser themes.
  • Keep plenty of contrast and simple shapes.

How it’s added

A few lines in the page’s <head> tell browsers where to find each icon:

<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">

This website uses exactly that setup. Check the tab you’re reading this in.