Skip to content

Favicon sizes and file formats: ICO, PNG and SVG

Which favicon sizes and file types you need to make, from the 16 pixel tab icon to Google's 48 pixel advice, ICO bundles, PNG and SVG.

Reviewed 15 November 2026

You don't need a pile of files. You need a square picture, a couple of file types, and a few sizes. Here's what each source says.

The rules that apply everywhere

  • Square. Google says a favicon must be a square (1:1 aspect ratio) that's at least 8x8 pixels1. "1:1" just means equal width and height.
  • Bigger than the minimum. Google recommends a favicon larger than 48x48 pixels so it looks good on various surfaces1.
  • The tab size. Usually a favicon is 16 x 16 pixels in size2. That's the tab size.

So you design for two ends. Something clear at the tab size, and a larger version that keeps its shape.

File types at a glance

Format What the sources say
ICO A file that holds one or more images at multiple sizes and colour depths3.
PNG One of the formats Google Search supports, along with BMP, GIF, ICO, JPEG, PPM and TIFF1.
GIF Named by MDN as a usual favicon format, with PNG and ICO2.
SVG Supported by all modern browsers, and stays sharp at any size because it's a vector graphic4.

Colour depth means how many colours each dot can show. A vector graphic is a picture stored as shapes and lines instead of dots, which is why it can grow without going blurry.

ICO: one file, several sizes

An ICO file holds one or more images at multiple sizes3. A file typically bundles several, so the best match for the requested size can be chosen3.

Wikipedia says the sizes inside can be 16×16, 32×32, 48×48 or 64×64 pixels4. You don't have to include all four.

Older browsers matter here. Internet Explorer 5 to 10 supports only the ICO file format4. If you still care about those, an ICO is your fallback.

PNG: the plain picture

PNG is a standard picture format. Google lists it as supported for search results1. MDN lists it as a usual favicon format2.

For Android, the Wikipedia page says websites should provide favicons sized in multiples of 48x48 pixels4. Phone icons are covered on the Apple touch icon page.

SVG: one file for every size

Today all modern browsers support SVG favicons4. They stay sharp at any size because they're vector graphics4.

Two limits to know:

  • Internet Explorer does not support SVG favicons4.
  • The list of formats on Google's favicon page doesn't name SVG1. If search results matter to you, keep an ICO or PNG as well. The page was checked on 15 November 2026.

In a web app manifest, an SVG icon can be given the sizes value any, which lets a browser use it at any size5. MDN adds that SVG icons maintain their quality at larger sizes5.

Which should you make?

A practical set, built from what's above:

  • An SVG, for modern browsers.
  • An ICO or PNG, for older browsers and for Google.
  • A larger PNG, for phones.

The current HTML5 specification recommends specifying multiple sizes for the icons4. When several icons are listed, a browser picks the most appropriate one. If several are equally appropriate, the last one is used6. If the best pick can't be used, for example because the format isn't supported, the browser proceeds to the next-most appropriate6.

That's why order matters a little. Put your preferred file last when two are equally good.

Next steps

  • Wondering how to attach the files? See the HTML steps.
  • Not sure how to draw something that small? Usually it's 16 x 16 pixels2, and this design page helps.
A simple way to prepare icon filesDraw one square master imageExport an SVG for modern browsersExport an ICO with small sizesExport a PNG for phones
Start from one square master and export from it.

References

  1. Define a favicon to show in search results, Google Search Central
  2. Favicon (Glossary), MDN Web Docs, Mozilla
  3. ICO (file format), Wikipedia
  4. Favicon, Wikipedia
  5. icons (Web app manifest), MDN Web Docs, Mozilla
  6. rel attribute values (HTML attributes), MDN Web Docs, Mozilla