WOWlayers
Favicon guide

What Size Should a Favicon Be?

The short answer: design it at 512 x 512 pixels, then export 16, 32, 48, 180, 192 and 512 px versions plus a favicon.ico. Here is what each size is for, which tags to add, and how to keep the icon readable when it is tiny.

The sizes that matter

SizeWhere it showsHow it is referenced
16 x 16Browser tabs on standard screens, bookmarks<link rel="icon" sizes="16x16">
32 x 32Tabs on high-density screens, taskbar shortcuts<link rel="icon" sizes="32x32">
48 x 48Some desktop and search displays; common inside favicon.icofavicon.ico in the site root
180 x 180iPhone and iPad home screen shortcuts<link rel="apple-touch-icon">
192 x 192Android home screensite.webmanifest
512 x 512Installed web app splash screens, app stores of some platformssite.webmanifest

Browsers pick the closest size they need from what you provide, so this set covers the common cases without dozens of files.

Do you still need favicon.ico?

Modern browsers read PNG icons from link tags. But some tools, feed readers and older browsers still request /favicon.ico from your site root by default. A small .ico containing 16, 32 and 48 px images is a cheap safety net, so keep one.

What about SVG favicons?

Many current browsers accept an SVG favicon via <link rel="icon" type="image/svg+xml">, which stays sharp at any size and can even switch colors for dark mode. Support is not universal, so if you add one, keep the PNG and .ico files as fallbacks.

The HTML to add

Put the files in your site's root folder and add these tags inside <head>:

<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">

The manifest file lists the 192 and 512 px icons with your site name and theme color. The favicon generator writes both the tags and the manifest for you. If you use a website builder, look for a "site icon" or "favicon" setting; most ask for one square image and generate sizes themselves.

Designing for 16 pixels

At 16 x 16 you have 256 pixels in total. That changes the design rules:

  • Use a mark, not a logo. Your icon alone, or one or two letters. Never a full name or tagline.
  • Use a solid background. A filled square or circle in your brand color stands out in a row of tabs and works in light and dark browser themes.
  • Bold shapes only. Thin lines and small gaps disappear. Heavier font weights read better.
  • Fill the frame. Large padding makes the icon look smaller than its neighbors.
  • Test at real size. Look at the 16 px preview at 100% zoom, not enlarged.

Apple touch icon tips

iOS fills transparent areas of the apple-touch-icon with a color you did not choose, and rounds the corners itself. Use a solid background and square corners at 180 x 180 px. The generator adds a solid background to this size automatically.

Troubleshooting

  • Old icon still showing: favicons are cached hard. Open the site in a private window or rename the files and update the tags.
  • Icon missing in search results: search engines fetch favicons on their own schedule and have their own guidelines; make sure the icon is square, at least 48 px and reachable without a login.
  • Blurry icon: it was scaled up from a small image. Start from a 512 px or vector source.

Keep going

Frequently asked questions

What is the best favicon size?

Design at 512 x 512 px and export 16, 32, 48, 180, 192 and 512 px versions plus a favicon.ico. That covers browsers, Apple and Android devices.

Is 32x32 enough for a favicon?

It covers browser tabs on most screens, but add 16 px, a favicon.ico, a 180 px Apple icon and 192 and 512 px icons for phones and web apps.

Should a favicon be PNG or ICO?

Use both: PNGs referenced in link tags for modern browsers, and a favicon.ico in the site root as a fallback.

Can a favicon be transparent?

Yes for browser tabs, but a solid background usually reads better. The Apple touch icon should always have a solid background.

Where do favicon files go?

Usually in the root folder of your website, with link tags in every page's head. Builders often have a site icon setting instead.