Skip to content
Back to all articles
Image4 min readNovember 20, 2026

Favicon Sizes and Formats Explained: ICO, SVG, PNG and Apple Touch Icons

The small set of icon files a modern website needs, the HTML to add them, what Google Search requires, and how to make them all from one SVG logo.

Favicon Sizes and Formats Explained: ICO, SVG, PNG and Apple Touch Icons article
In this guide
  1. The short answer
  2. Why ICO still matters
  3. Why add an SVG favicon
  4. Apple touch icon: 180 × 180
  5. Android and the web app manifest: 192 and 512
  6. What Google Search requires
  7. Making the whole set from one SVG
  8. Common problems

A favicon is the small icon in a browser tab, a bookmark, a phone home screen and next to your site in Google results. Search “favicon sizes” and you will find lists of twenty files. You do not need twenty. A modern site needs about five, and they can all come from one SVG logo. This guide explains each one and gives you the HTML.

The short answer

FileSizeUsed by
favicon.ico16, 32 (and larger) inside one fileOlder browsers, tools that request /favicon.ico directly
icon.svgAny (vector)Modern Chrome, Firefox, Edge and Safari tabs
apple-touch-icon.png180 × 180iPhone and iPad home screen
icon-192.png192 × 192Android home screen (web app manifest)
icon-512.png512 × 512Android splash screen and install prompts

And in your page ``:




Why ICO still matters

The ICO format comes from Windows and is decades old, but browsers and many other programs (RSS readers, chat link previews, crawlers) still request /favicon.ico from the root of your domain without reading your HTML. If the file is missing, those requests fail and you get a blank icon in some places. One small ICO in the root covers them all.

An ICO can hold several sizes. For a favicon, 16 and 32 pixels are what matter; larger sizes are harmless and help Windows when someone pins the site. The SVG to ICO converter draws your SVG at 512 pixels or more and scales it down to 256, 128, 64, 32 and 16 pixels, so every size is sharp.

Why add an SVG favicon

Modern browsers accept an SVG favicon, which stays crisp on any screen density. It also has a party trick: an SVG can contain a CSS media query, so the icon can change colour in dark mode:


  path { fill: #111; } @media (prefers-color-scheme: dark) { path { fill: #fff; } }
  

Keep the SVG simple and small; tidy it with the SVG Optimizer to remove editor metadata.

Apple touch icon: 180 × 180

When someone adds your site to an iPhone or iPad home screen, iOS uses apple-touch-icon.png. Use a 180 × 180 PNG with a solid background — iOS fills transparent areas with black or white, which rarely looks good, and it rounds the corners itself, so do not add your own. The Apple Touch Icon Generator makes this file.

Android and the web app manifest: 192 and 512

Android Chrome reads icons from your web app manifest, a small JSON file:

{
  "name": "My Site",
  "icons": [
    { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
  ]
}

The Manifest.json Generator writes this for you.

What Google Search requires

Google shows your favicon next to your result. Its guidelines ask for:

  • A favicon linked from your home page with ``
  • A square image whose size is a multiple of 48 pixels (48, 96, 144, 192…); SVG has no size problem
  • A stable URL that Googlebot is allowed to crawl
  • An icon that represents your brand (not offensive content)

The 192-pixel PNG and the SVG both satisfy this. Changes can take days or weeks to appear in results, because Google recrawls favicons on its own schedule.

Making the whole set from one SVG

  1. Start from a square SVG of your logo mark (not the full wordmark — names are unreadable at 16 pixels).
  2. Convert it to favicon.ico with SVG to ICO.
  3. Keep the SVG itself as icon.svg.
  4. Export 180, 192 and 512 pixel PNGs with the SVG Converter after setting the SVG's width and height, or generate everything at once with the Favicon Generator.
  5. Upload the files to your site root and add the four `` lines.

Common problems

My new favicon does not appear. Browsers cache favicons hard. Test in a private window, or add a version to the URL (/icon.svg?v=2).

The tab shows a blurry icon. The browser is shrinking a large PNG. Provide the ICO with a real 16 and 32 pixel size, or an SVG.

The icon is invisible in dark mode. A dark logo on a transparent background disappears on dark tabs. Add a light outline, a background shape, or a dark-mode style in the SVG.

The logo looks squashed. The source was not square. The icon keeps the logo's proportions, so a wide logo becomes a thin strip; use a square symbol.

Was this article helpful?

Found this guide useful?

Share it with someone who is struggling with the same problem.

Free tool · No sign-up

SVG to ICO

Turn an SVG logo into a sharp multi-size .ico icon: rendered large from the vector, then scaled to 256, 128, 64, 32 and 16 px with transparency.

Open tool

Written by

Hemant Adhikari HemantInsights

Senior Software Engineer · Developer of Toolyconvert

I’m a senior software engineer from Dehradun, India, building websites since 2014. I designed and developed Toolyconvert, from the Next.js front end and headless WordPress back end to the tools themselves, and I review every guide before it goes live.