FormatSwap › Formats › ICO and ICNS
The ICO and ICNS format
Not one picture but a bundle of sizes, which is exactly what an icon needs to be.
- Full name
- Windows and Mac icon files
- Appeared
- 1985
- File extensions
- .ico, .icns
- Our verdict
- Keep it See why
History
Why it was invented
ICO exists to hold icons, and was first introduced in Windows 1.0. The sources we found don't record any further reasoning.[1] Apple's ICNS does a similar job on Macs, with its roots in small 1-bit icons from Mac OS 1.0.[2]
What it was first used for
Windows 1.0's icons were monochrome.[1] On the Mac side, the earliest listed icon type is 32×32 pixels and monochrome.[2]
What happened next
Windows 3.0 introduced files containing several images, Windows 95 added larger sizes and more colours, and Windows Vista added 256×256 images and PNG compression.[1] On the Mac, asset catalogs have been the preferred format for custom icons since macOS 11.[2]
Pros and cons
Pros
- Holds several sizes, so each one can be hand-tuned.
- Required for Windows program icons.
- Understood by every browser.
Cons
- Tricky to create without a dedicated tool.
- Files get large if they contain every size.
- Each platform has its own format.
Use cases
- Windows program and shortcut icons.
- Mac apps (ICNS).
- Website favicons.
Pitfalls
- Renaming a PNG to .ico isn't making an icon, even though some browsers tolerate it.
- Browsers cache favicons aggressively. Force a refresh if an old one keeps showing.
- Downscaled icons can look blurred, so check the small sizes individually.
Should ICO and ICNS be discontinued?
Keep it
Keep it. An icon isn't one picture. It's different drawings at different sizes, and the 16-pixel version may need separate treatment. A multi-size container solves this directly, and both operating systems depend on it.
SVG can gradually take over for websites. But nothing is broken here, and there's no sensible way to swap this out across decades of Windows software.
This verdict is FormatSwap's opinion. “Discontinue” means stop creating new files, not stop reading old ones. How we decide.
ICO and ICNS files in FormatSwap
Media Converter opens and creates ICO and ICNS files.
Related formats
Sources
Numbers in the history above link to these pages. They cover the history section only; the pros, cons and verdict are our own assessment.
- ICO (file format), Wikipedia
- Apple Icon Image format, Wikipedia