A modern website needs a few favicon sizes: a square icon whose size is a multiple of 48 px (such as 48 × 48, 96 × 96 or 192 × 192) for Google Search results, 32 × 32 and 16 × 16 for browser tabs (often bundled in favicon.ico), 180 × 180 for the Apple touch icon, and 192 × 192 and 512 × 512 for Android and installable web apps. An SVG favicon covers browser tabs at any size.
Favicon sizes and where they're used
| Size (px) | File | Used by |
|---|---|---|
| 16 × 16, 32 × 32 (48 × 48) | favicon.ico |
Browser tabs, bookmarks, legacy browsers |
| Multiple of 48 (48, 96, 144, 192…) | PNG, ICO or SVG | Google Search result favicons |
| Any (vector) | icon.svg |
Modern browser tabs; scales perfectly |
| 180 × 180 | apple-touch-icon.png |
iPhone and iPad home screen |
| 192 × 192 and 512 × 512 | PNG in manifest.json |
Android home screen, installable web apps (PWA) |
Google's rule: Google Search shows your favicon next to results when it's square, at least 8 × 8 px but ideally a multiple of 48 × 48 (48, 96, 144…), or an SVG, and served from a stable URL your homepage links to. Google recommends larger than 48 × 48 so it looks sharp on high-resolution screens.
The HTML to add
<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.webmanifest">
And in manifest.webmanifest:
{ "icons": [
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
] }
Frameworks often handle this for you. Next.js, for example, picks up app/icon.png, app/icon.svg and app/apple-icon.png automatically.
How to make favicons from a logo
- Start square. Favicons are 1:1. If your logo is wide, either use just the symbol, or place it on a square canvas with padding. Don't squash it.
- Make a 512 × 512 master as PNG with a transparent background (or a solid one for the Apple icon, which iOS doesn't let be transparent).
- Resize down to each size. Our free tools do exact sizes in your browser: 512 × 512, 256 × 256, 128 × 128, 64 × 64, 32 × 32.
- Check legibility at 16 × 16. Detailed logos turn into blobs; a single letter or simple mark works best.
Design tips for tiny icons
- Simplify: drop taglines, thin lines and small text.
- High contrast: tabs can be light or dark, so test both.
- Fill the square: use most of the canvas; too much padding makes the icon look tiny.
- Safe zone for Android: maskable icons are cropped to circles or rounded squares, so keep the logo within the central ~80%.
Why your favicon isn't showing in Google
- It isn't square, or is smaller than 8 × 8
- The favicon URL is blocked by robots.txt or changes often
- Several
rel="icon"tags point to different files, and one fails Google's rules - Google hasn't recrawled your homepage yet (it can take days or weeks)
Frequently asked questions
What size should a favicon be?
Provide 32 × 32 (in favicon.ico), a multiple of 48 × 48 such as 96 × 96 or 192 × 192 for Google, 180 × 180 for Apple devices, and 192 × 192 and 512 × 512 for Android.
Is a favicon 16 × 16 or 32 × 32?
Both. Browsers use 16 × 16 at standard resolution and 32 × 32 on high-DPI screens; a favicon.ico can contain both.
What format should a favicon be?
ICO for maximum compatibility, PNG for touch and app icons, and SVG for modern browsers.
How long does it take Google to show my favicon?
It updates when Google recrawls your homepage, which can take from a few days to a few weeks.
Related: PNG vs JPG · how to resize an image