ARDOTOOLS · GUIDES

Favicon size and format: which files you actually need

One square image is enough to make all of them. What a site needs is a small set of files: a favicon.ico, a 32 pixel PNG, a 180 pixel icon for iPhones, and 192 and 512 pixel icons for the web app manifest. Here is what each is for, and what the platforms say.

Guidance read on 14 October 2026 on Google Search Central, web.dev and Apple's developer documentation.

A laptop keyboard with keys labelled New Window and New Private Window

The short answer

Start from one square image, ideally 512 by 512 pixels or larger, and export these:

The favicon generator produces exactly this set from one image, plus the HTML to paste, so you do not have to resize anything by hand.

What Google asks for in search results

Google shows your favicon next to your listing in search. Its documentation says the icon must be square (1:1) and at least 8×8 pixels, and recommends one larger than 48×48. It accepts several formats, including ICO, PNG and JPEG, and wants the link in the head of your home page:

<link rel="icon" href="/favicon.ico" sizes="any">

Three practical rules from the same page. Google supports one favicon per hostname, not one per section of the site. Both your home page and the icon file must be crawlable, so do not block them in robots.txt. And keep the file at a stable address: Google says it can take several days to several weeks to pick up a change, and you can ask for a recrawl of the home page with the URL Inspection tool in Search Console.

What phones and installed apps ask for

Why the .ico file still exists

An .ico file is a container that holds several sizes in one file, usually 16, 32 and 48 pixels. It is the oldest favicon format, and some tools and crawlers still request /favicon.ico by that exact name even when your page points elsewhere. Keeping one costs a few kilobytes, so it is worth having even if every modern browser would be happy with the PNG.

An SVG favicon is a good extra if your logo is a simple shape, because it stays sharp at any size. Treat it as an addition to the PNG and ICO files, not a replacement, since not every place that shows an icon can use it.

Mistakes that make a favicon look bad

  1. Starting from a small or detailed image. At 16 pixels, thin lines and small text turn to mush. Use a bold, simple shape with high contrast, and check the 16 pixel version before you ship.
  2. A non-square image. It gets stretched or padded. Crop to a square first.
  3. Resizing in one big jump. Shrinking 512 pixels straight to 16 can go noisy. Scaling down in steps gives a cleaner small icon, which is how ArdoIcon does it.
  4. Forgetting the tag. Files in the root folder do nothing for some browsers until a link tag in the head points to them.
  5. Expecting instant change. Browsers cache favicons hard. After you replace one, hard-refresh, or test in a private window.

Make the set from one image

Drop your image into the favicon generator. It scales it to 16, 32, 48, 64, 180, 192 and 512 pixels, builds the favicon.ico, writes a web manifest, and gives you the snippet to paste into your page head. Everything is downloaded as one zip.

These are general recommendations, not a promise of how a particular browser will behave. The authorities are Google Search Central, web.dev and Apple's web application documentation.

Keep reading

All guides