Which favicon sizes and files a modern website actually needs
Modern browsers, search engines, phones, and web apps only read six icon files and one manifest instead of twenty legacy tags.
Short answer
Skip twenty-file icon generators built for Internet Explorer and Windows 8 tiles. Upload an SVG or PNG logo, or type a monogram, in Favicon & App Icon Pack Maker. Select Download full icon pack (.zip) to get favicon.ico, favicon.svg, apple-touch-icon.png, icon-192.png, icon-512.png, icon-maskable-512.png, and site.webmanifest. Paste the five HTML lines into <head> and place the files in your site root.
Open the Favicon & App Icon Pack Maker
The six icon files and manifest every modern site reads
Each platform expects a specific resolution and background treatment:
| File | Dimensions | Background & safe-zone rule |
|---|---|---|
| favicon.ico | 16×16, 32×32, 48×48 | Binary ICONDIR container holding three PNGs; 48×48 meets the Google Search 48px multiple rule. |
| favicon.svg | Scalable vector | Sharp at any zoom level on Chrome, Edge, Firefox, and Safari desktop tabs. |
| apple-touch-icon.png | 180×180 | Full-bleed opaque square; iOS rounds corners itself and turns transparent pixels solid black. |
| icon-192.png | 192×192 | Standard "purpose": "any" icon for Android shortcuts and desktop app installs. |
| icon-512.png | 512×512 | High-resolution "purpose": "any" icon for PWA splash screens and app switchers. |
| icon-maskable-512.png | 512×512 | Opaque full-bleed square keeping logos inside the centered 80% circle (409.6 px diameter). |
| site.webmanifest | JSON | Declares 192px and 512px icons with separate "any" and "maskable" entries. |
Why five HTML head lines replace twenty obsolete tags
Older templates still ship msapplication-TileImage, safari-pinned-tab.svg, and seven separate apple-touch-icon sizes from 57×57 up to 152×152.
Modern iPhones and iPads downscale one crisp 180×180 PNG cleanly, while Windows 10 and 11 abandoned live tile XML files.
Setting sizes="48x48" on the favicon.ico link also stops desktop Chrome from downloading both favicon.ico and favicon.svg on every tab load.
Worked example: 54-byte ICO headers and the 409.6 px Android safe circle
Open Favicon & App Icon Pack Maker to inspect how the default FT forest pack builds both binary and adaptive assets:
- Pack three PNGs into one .ico header. A 6-byte
ICONDIRheader plus three 16-byte directory entries places the first PNG at byte offset 54. - Check light and dark browser tabs. Compare the 16px preview on white and dark slate tab bars so dark marks never vanish.
- Keep iOS 180px corners opaque. Filling the full 180×180 square with the forest gradient prevents black edges on iPhone home screens.
- Scale inside the 80% maskable circle. At 512×512, radius
0.4 × 512 = 204.8 pxleaves a 51.2 px bleed margin on every side.
You can open the circular midnight monospace setup or open the warm editorial serif square setup directly.
Preparing SVG logos and social preview images
Clean source artwork makes tiny 16×16 and 28×28 badges noticeably sharper:
- Fix off-center SVG viewBoxes first. Run exported vector marks through SVG Optimizer & Cleaner to trim stray artboard margins before uploading.
- Simplify tiny details below 32 pixels. Drop thin taglines and hairlines so the core symbol or two-letter monogram stays readable at 16×16.
- Prepare 1200×630 link cards separately. Favicons stay square; crop rectangular Open Graph share images in Image Resizer.
Common mistakes
- Shipping only a 16×16 or 32×32 favicon. Google Search ignores favicons smaller than 48×48 pixels; always include the 48×48 frame inside
favicon.ico. - Writing "purpose": "any maskable" on one PNG. Combining both values on one file either clips logo corners on Android or shrinks desktop icons.
- Renaming PNGs to .ico without an ICONDIR header. Browsers and crawlers expect a real binary directory header starting with bytes
00 00 01 00.
Sources
- W3C Web Application Manifest Specification (checked 29 November 2026), defining icon purpose values and the 80% diameter maskable safe-zone circle.
- Google Search Documentation: Define a Website Favicon for Search Results (checked 29 November 2026), covering the 48px multiple rule and stable root URLs.
- MDN Web Docs: HTML rel="icon" and rel="manifest" Link Types (checked 29 November 2026), covering SVG, ICO, and Apple touch link tags.
- W3C Scalable Vector Graphics (SVG) 2 (checked 29 November 2026), covering viewBox coordinate scaling for vector icons.
Spotted a mistake in this guide? Email contact@fasttool.app. We reply within 7 business days.