Favicon size in 2026: the icons you need and the HTML to use
The favicon size for every place it shows: favicon.ico, 32px PNG, 180px Apple icon, 192 and 512 Android icons, what Google needs, and the HTML to paste.
The favicon size you need depends on where the icon appears. A browser tab uses 16 or 32 pixels, an iPhone home screen uses a 180 × 180 Apple touch icon, and Android uses 192 and 512 pixel icons listed in a web manifest. In practice that’s a favicon.ico holding 16, 32 and 48 pixels, a 32 pixel PNG, the 180 pixel Apple icon and the two Android sizes, all made from one square source image.
Favicon sizes you actually need in 2026
Older guides list twenty or more sizes for every Windows tile and old iPad. You don’t need those any more. Browsers choose the most suitable icon from the ones you list, and Chrome scales the Android pair to fit each device, so a short set covers almost everything.
| File | Size (pixels) | Used for |
|---|---|---|
favicon.ico | 16, 32 and 48 in one file | Browser tabs and bookmarks |
favicon-32x32.png | 32 × 32 | Browser tabs; a PNG alternative to the .ico |
favicon-16x16.png | 16 × 16 | Optional; the .ico already covers it |
apple-touch-icon.png | 180 × 180 | iPhone and iPad home screen shortcuts |
android-chrome-192x192.png | 192 × 192 | Android home screen, installed web apps |
android-chrome-512x512.png | 512 × 512 | Android splash screens, app install prompts |
icon.svg | Any (vector) | Optional; sharp at every size in browsers that support it |
The Android pair isn’t optional if you want your site installable. Google’s web.dev guide to the web app manifest says that for Chromium you must provide at least a 192 × 192 icon and a 512 × 512 icon, and that Chrome scales those two to fit the device. The 180 pixel figure for Apple comes from Apple’s own archived Safari web content guide, which uses sizes="180x180" for the iPhone Retina icon.
If you’d rather not export seven files by hand, the Lokafile favicon generator makes the set from one image in your browser. It produces favicon.ico (with 16, 32 and 48 pixel versions inside), 16, 32 and 48 pixel PNGs, a 180 pixel apple-touch-icon.png, 192 and 512 pixel Android icons and a site.webmanifest, all in one zip. Nothing is uploaded, and there’s no sign-up.
What Google Search needs from your favicon
Google shows your favicon next to your site name in results. Its favicon guidelines on Google Search Central (last updated 27 October 2026) set out these rules:
- The favicon must be square, a 1:1 aspect ratio.
- It must be at least 8 × 8 pixels, and Google recommends larger than 48 × 48 so it looks good on different surfaces.
- Supported formats are BMP, GIF, ICO, PNG, JPEG, PPM and TIFF. SVG isn’t listed.
- The link tag goes on your home page, using
rel="icon",shortcut icon,apple-touch-iconorapple-touch-icon-precomposed. - The favicon URL should be stable, and neither the home page nor the icon file can be blocked by robots.txt.
You’ll still find advice saying the icon must be a multiple of 48 pixels. The current page doesn’t say that. Square, at least 8 × 8, ideally bigger than 48 × 48 is the whole requirement. Because Google accepts apple-touch-icon, your 180 pixel Apple icon already gives it a large square image to work with.
Google also says crawling can take anywhere from several days to several weeks, and that meeting the guidelines doesn’t guarantee the icon will appear. You can speed things up a little by requesting indexing of your home page with the URL Inspection tool in Search Console.
The HTML link tags to paste into your head
Put the files in the root folder of your site, next to your home page, then add these four lines inside the <head> of every page. They’re the same lines the generator gives you to copy:
<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
When there are several rel="icon" links, the browser picks one using their type, sizes and media attributes, and if two are equally suitable it uses the last one. That behaviour is described in MDN’s reference for the rel attribute. MDN also notes that iOS ignores rel="icon" for home screen shortcuts and uses the non-standard apple-touch-icon instead, which is why that line is there.
The manifest is a small JSON file. The one in the zip lists the two Android icons, each with src, sizes and type. If you’re building a full web app, add your name, start_url and colours to the same file.
Maskable icons and SVG favicons
Android shows app icons in different shapes depending on the phone. An ordinary transparent icon ends up sitting inside a white circle, which rarely looks good. A maskable icon fills the whole shape instead. It’s a format Chrome and Firefox support for installed web apps.
To make one, add a separate padded icon to the manifest with "purpose": "maskable". The web.dev article on maskable icons advises against marking one file as "any maskable", because the padding then shrinks your logo everywhere else. The design matters more than the markup: the important parts of the icon must sit inside a circle centred on the icon with a radius of 40% of its width, and the outer 10% may be cropped. Worked out for the two Android sizes:
| Icon size | Safe circle diameter | Edge that may be cropped (each side) |
|---|---|---|
| 192 × 192 | 153.6 px | 19.2 px |
| 512 × 512 | 409.6 px | 51.2 px |
So on a 512 pixel maskable icon, keep your logo within a circle about 410 pixels across and fill the rest with a solid background. The generator’s manifest doesn’t mark its icons as maskable, so if you want that, make a padded version and add the purpose field yourself. Chrome DevTools can preview the crop: Application panel, then Icons, then Show only the minimum safe area for maskable icons.
SVG favicons are the other modern option. One vector file stays sharp at any size and is often smaller than a PNG. Safari was a long holdout, but WebKit’s Safari 26.0 release notes say it now supports SVG for icons everywhere icons appear, favicons included. Add it with <link rel="icon" type="image/svg+xml" href="/icon.svg"> and keep the .ico and PNG lines for older browsers and for Google Search, which doesn’t accept SVG.
How to test a new favicon (and why the old one won’t go away)
Changing a favicon is easy. Seeing the change is the annoying part, because browsers cache icons separately from the page and hold on to them far longer. Here’s the order I’d try things in:
- Open the icon’s URL directly, for example
https://yoursite.com/favicon.ico, and check the new image loads. If the old one shows, the server or a CDN is still serving the old file. - Do a hard reload of that URL and of your home page. In Chrome on Windows that’s Ctrl + Shift + R or Shift + F5, and on a Mac it’s Command + Shift + R, which Google’s Chrome shortcuts page describes as reloading while ignoring cached content.
- Open the site in a private or incognito window. That starts with an empty cache, so it’s the quickest honest test.
- If returning visitors still see the old icon, add a version to the href, such as
/favicon.ico?v=2. The new URL forces a fresh download. - Check the page’s source to confirm the link tags are in the
<head>, not the body, and that the paths start with a slash.
On a phone, delete any existing home screen shortcut and add it again, because the icon is copied at the moment you save it. For Google Search, nothing on your side clears it faster than a recrawl.
Picking a source image that survives 16 pixels
Every size in the table comes from one image, so start big and simple. A square logo of at least 512 × 512 pixels gives the largest Android icon real detail rather than an upscaled blur. At 16 pixels you have 256 pixels in total to work with, so thin lines and small text disappear. A single letter or a bold mark reads far better than a full wordmark.
If your logo is wide rather than square, decide between fitting it inside the square with some background or cropping it to fill. The favicon generator offers both, plus a transparent option and a background colour picker. If you need to trim the logo first, crop the image to a square, then run it through the generator and check the 16 pixel preview before you download the zip.
Questions people ask
What is the best favicon size?
There isn’t one size. Browser tabs use 16 or 32 pixels, iPhones want a 180 × 180 Apple touch icon and Android wants 192 and 512 pixel icons in a web manifest. Start from a square image of at least 512 × 512 and make the smaller sizes from it.
Do I still need a favicon.ico file?
It’s still worth having. Google Search accepts ICO, and a single .ico file can hold 16, 32 and 48 pixel versions. That one file covers the small tab and bookmark sizes, with PNGs alongside for everything larger.
What favicon size does Google Search use?
Google asks for a square favicon that’s at least 8 × 8 pixels and recommends going larger than 48 × 48 so it looks sharp. It accepts ICO, PNG, GIF, JPEG, BMP, PPM and TIFF, but SVG isn’t on its list, so keep a raster version.
Why is my old favicon still showing?
Browsers cache favicons separately from the page, often for a long time. Open the icon’s own URL and reload it, try a private window, or add a version query such as ?v=2 to the href. Google Search can take days or weeks to recrawl.
Can I use an SVG favicon?
Yes. Safari, which held out for years, added SVG icon support in Safari 26.0, and an SVG stays sharp at every size. Keep a favicon.ico or PNG next to it, because older browsers and Google Search won’t use the SVG version.