Favicon Converter
Generate production-ready favicons (True ICO, PNG, SVG), Apple Touch icons, Windows Tiles, and Web Manifests. Features binary ICO generation, bulk zip download, and instant preview.
Drag & Drop or Click
Supports PNG, JPG, SVG, WEBPAbout
This is not just a resizer; it is a deployment-ready asset compiler for modern web development. While most tools simply rename a PNG file to .ico (which fails in legacy browsers like Internet Explorer), this tool utilizes a Binary ICO Engine to construct a valid header structure compliant with the Microsoft Icon format specification.
It solves the cross-platform fragmentation problem by generating the exact file matrix required by:
- HTML5 Browsers: High-DPI PNGs (32px, 16px).
- iOS & iPadOS: Apple Touch Icons with specific non-transparent backgrounds.
- Android Chrome: Adaptive icons defined in manifest.json.
- Windows 10/11: Tile assets defined in browserconfig.xml.
The internal logic handles aspect-ratio correction, ensuring that rectangular logos are neatly padded or cropped to fit square containers without distortion.
Formulas
The ICO file format consists of a 6-byte header followed by a directory entry for each image. To generate a valid .ico client-side, we must construct the binary buffer manually:
For the aspect ratio AR calculation during resizing, we use a centering offset d to apply padding when AR ≠ 1:
Reference Data
| Platform / Standard | File Name | Dimensions | Tech Specs |
|---|---|---|---|
| Legacy Windows | favicon.ico | 32×32 | Binary ICO Container (Header + Dir + PNG) |
| Modern Web | favicon-32x32.png | 32×32 | RGBA PNG (Transparency supported) |
| Browser Tabs | favicon-16x16.png | 16×16 | Small raster for low-DPI screens |
| iOS Home Screen | apple-touch-icon.png | 180×180 | PNG, No Transparency (Apple fills black otherwise) |
| Android PWA | android-chrome-192.png | 192×192 | Defined in site.webmanifest |
| Android Splash | android-chrome-512.png | 512×512 | High-res launcher icon |
| Windows Metro | mstile-150x150.png | 150×150 | Tile image for Start Menu |
| Safari Pinned | safari-pinned-tab.svg | Vector | Monochrome SVG mask (Optional) |