Favicon sizes: what your website actually needs
A favicon is the little icon on a browser tab. Old guides list dozens of sizes, but you can cover nearly everything with a handful of files.
The files you need
This set covers browsers, bookmarks and phone home screens:
- favicon.ico with 16, 32 and 48 pixel versions
- favicon-32x32.png and favicon-16x16.png
- apple-touch-icon.png at 180×180
- Android icons at 192×192 and 512×512, listed in a web manifest
Where the files go
Upload them to the root of your site, so that favicon.ico opens at yourdomain.com/favicon.ico. Then add the link tags to the head of your pages. Some browsers and tools look for that root file even with no tags.
Designing for 16 pixels
Your full logo will not survive at this size. Use a single letter, a simple symbol or a bold shape. Avoid thin lines and small text. Keep some contrast against both light and dark browser themes.
If it does not update
Favicons are cached aggressively. Test in a private window, or add a version to the file name such as favicon.ico?v=2. Search results can take much longer to show a new icon, because they depend on Google recrawling your site.
Keep reading
- How to get a clean background removal
What makes a photo easy to cut out, and how to fix the edges for product and profile images.
- How to improve image quality: what works and what does not
A realistic guide to upscaling, sharpening and color fixes for low-quality images.
- PNG, JPG, WebP or SVG: which image format should you use?
A plain comparison of the main image formats, with a quick rule for each job.