Favicon Guide: Sizes, ICO & Deployment
A favicon is never one file. Here is what 16, 32, 180, 192 and 512 pixels are for, how to pick the source image, and why your new icon still shows the old one.
A favicon is never one file
Plenty of sites still drop a single favicon.ico in the root and call it done. A complete icon set covers at least six contexts:
- Browser tabs
- Bookmarks
- Windows desktop shortcuts
- iOS add-to-home-screen
- Android home screen and PWA
- PWA splash screen
Each context reads a different size and sometimes a different file. With only an ICO, mobile devices often fall back to a screenshot or a blank square.
The favicon generator takes one upload and returns every size, an ICO bundle, a manifest and an HTML snippet, which removes the manual resizing and format juggling.
What each size is for
| Size | Filename | Main use |
|---|---|---|
| 16 × 16 | favicon-16.png | Browser tab |
| 32 × 32 | favicon-32.png | Taskbar, bookmarks, browser default |
| 48 × 48 | inside favicon.ico | Windows shortcuts, legacy browsers |
| 180 × 180 | apple-touch-icon.png | iOS home screen |
| 192 × 192 | icon-192.png | Android home screen, PWA manifest |
| 512 × 512 | icon-512.png | PWA splash, store assets |
The ICO contains 16, 32 and 48, and browsers pick whichever fits the context. PNG files are for places that request an explicit size.
What to upload
The source sets the ceiling on quality:
- Square, at least 512 pixels on the long edge. Non-square images are center-cropped to the short edge, so an off-center subject can be cut.
- Simple shapes. At 16 pixels, thin strokes, gradients and small type turn to mush. A single letter or a clear silhouette survives better than a detailed logo.
- Centered subject with margin. iOS rounds the icon and Android may crop it to a circle; edge-to-edge elements get clipped.
- Transparent background where possible. A white square looks like a patch in a dark tab bar; transparency follows the browser theme.
- No fine print. Text inside an icon is unreadable at 16 pixels. The page title carries the brand name.
If you are starting from a logo on white, run it through the transparent PNG workflow first, then generate the icon set.
Where the files go
The tool exports a ZIP containing PNGs, an ICO, manifest.webmanifest and a link.html snippet. To deploy:
- Put every file in the site root or a single /icons directory.
- Add link tags in the head, pointing at the real paths.
- If you use the manifest, list the icons in its icons array.
- Make sure the server returns the correct Content-Type and nothing blocks these files through robots rules or auth.
A usable snippet looks like this:
link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png"
link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png"
link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"
link rel="manifest" href="/manifest.webmanifest"
Wrap each line in angle brackets when you paste it. The paths must match where the files actually live. Put them in /icons but link to the root, and the browser gets a 404 and falls back to its default icon.
When the new icon does not appear
Favicon caching is stubborn, and it explains most "I changed it but nothing happened" reports.
- Force reload: Ctrl+F5, or Cmd+Shift+R on macOS.
- Try another browser or a private window to rule out one browser's cache.
- Open the icon URL directly and confirm a 200 response with image content, not an HTML error page.
- Check the link paths against the actual file locations.
- Version the filename, for example favicon-32-v2.png, to force a refetch.
- If a CDN sits in front, purge that cache.
Mobile is slower. iOS caches the icon when a shortcut is created, so after a change you usually have to delete the old shortcut and add it again.
Five common mistakes
Shipping only favicon.ico. Modern browsers and mobile devices may ignore it, leaving a blank tab.
Scaling a detailed 1024-pixel logo down. Everything below 32 pixels collapses. Icons should be redrawn for small sizes, not merely shrunk.
Opaque white background. In dark mode it looks like a white sticker.
Stretching a non-square image. Shapes distort. The tool center-crops, but an off-center subject still gets cut.
Replacing the file without renaming it. Browsers keep the old cache. A version suffix is the cheapest fix.
Verification checklist
Two minutes before launch:
- The tab shows the icon, not a blank or default globe
- Bookmarks render clearly
- iOS home screen has no black border or odd rounding
- Android Chrome home screen shows the right icon
- The PWA splash uses the 512 asset
- Both dark and light themes look intentional
The site favicon and the app icon do not have to be the same artwork. App icons usually keep a solid tile so they look complete on a home screen, while the favicon is better with a transparent background, which avoids a white box in a dark tab bar.
FAQ
Are images uploaded?
No. Cropping, resizing and ICO packing happen locally in the browser.
Which sizes are inside the ICO?
16, 32 and 48. Use individual PNGs for anything else.
What happens to a non-square image?
It is center-cropped to a square using the short edge, then scaled. Keep the subject centered.
Why does my phone still show the old icon?
iOS and Android cache shortcut icons. Remove and re-add the shortcut, or clear browser data and retry.
Should I also ship an SVG icon?
Modern browsers support SVG favicons, but this tool does not generate one. If you have a vector source, you can declare an SVG version alongside the bitmaps as a fallback chain.
Do I really need 512 pixels?
PWA installs and splash screens use it. Without a PWA, 192 and 180 cover daily needs, but generating the full set costs almost nothing.
Want to try the features mentioned in this article?
Try Favicon Generator Now