Guide

Favicon (.ico) vs PNG

ICO and PNG are not competitors — they're partners. The modern favicon setup uses .ico as the universal fallback and PNG as the high-DPI override. Here is exactly when each one wins.

Check favicons on any website

Install the FetchFavicon Chrome Extension to extract, preview, and validate favicons instantly.

Install Chrome Extension

ICO is unique in that a single file embeds multiple resolutions. Convert your transparent PNG masters into multi-resolution ICOs with our PNG to ICO converter.

PNG is sharper at any individual resolution and supports better compression for solid-colour logos. It cannot embed multiple sizes in one file.

The optimal setup is one multi-size .ico plus standalone 32×32 and 180×180 PNGs. Generate your complete multi-platform package in one click using our Favicon Generator and test live URL headers with the Favicon Tester.

How it works

  1. 1

    Start from a 512×512 source

    PNG or SVG.

  2. 2

    Generate both formats

    FetchFavicon outputs a multi-size .ico plus standalone 16/32/48/180/192/512 PNGs.

  3. 3

    Link both in <head>

    <link rel="icon" href="/favicon.ico"> followed by <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">.

Platform Dimension Specifications & Compression Benchmark

Standard dimension requirements across search engines, mobile OS, and WebAssembly Oxipng lossless byte reduction.

WebAssembly Oxipng Lossless
Platform Dimension Specifications & Compression Benchmark
Target Platform / OSRequired DimensionsFormat & DeliveryOxipng Wasm WeightByte Savings
Google Search SERP48×48 px (multiples of 48).ico, .png4.6 KB-68.9%
Apple iOS / iPadOS Safari180×180 px.png (apple-touch-icon)14.8 KB-67.9%
Android Chrome & PWA192×192 px & 512×512 px.png (site.webmanifest)59.1 KB-69.3%
Windows Edge & Desktop16×16, 32×32, 48×48 pxMulti-resolution .ico8.8 KB-69.5%
Legacy Web Browsers32×32 px / 16×16 px.ico (/favicon.ico)3.1 KB-67.0%

* Benchmark measurements based on lossless RGBA Oxipng WebAssembly compression executing locally in modern web browsers.

Try it now

Generate both .ico and PNG

PNG to ICO Converter

FAQ

Which has smaller file size?+

A single PNG is smaller than an .ico with the same resolution, but a multi-size .ico replaces 4-6 PNGs and usually wins on total bytes.

Does Google show PNG favicons in search results?+

Yes. Google supports both .ico and PNG. It prefers a square aspect ratio of at least 48×48.

Can PNG support dark mode?+

Not directly. Use an SVG variant alongside your PNG for dark-mode support.

Related tools

Related guides

Guides →