ICO File Signature & Magic Bytes (.ico)
The Windows Icon (ICO) format bundles one or more icon resolutions (typically 16×16, 32×32, 48×48 and 256×256) into a single file for Windows desktop shortcuts and website /favicon.ico files. It starts with two reserved zero bytes (00 00) followed by type 1 in little-endian (01 00) and a 2-byte image count.
Signature & identification summary
| Detected format name | ICO icon |
|---|---|
| Hexadecimal magic bytes | 00 00 01 00 |
| ASCII / marker preview | .... |
| Byte offset | 0 |
| MIME type | image/x-icon |
| Common extensions & aliases | .ico |
Check whether your file really is ICO.
Drop any file into File Sniff’s free local browser checker to verify its 00 00 01 00 signature and spot misleading extensions—without uploading a single byte.
Container & byte-layout notes
Each directory entry points to an image payload stored either as a headerless Windows DIB bitmap (with AND transparency mask) or, since Windows Vista, a complete embedded PNG stream.
Extension mismatches & common pitfalls
Many site generators accidentally copy a plain .png file to /favicon.ico without wrapping it in an ICO directory; checking for 00 00 01 00 vs 89 50 4E 47 catches that immediately.
Which apps open ICO files?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | Preview, Safari, GIMP, ImageMagick |
| iPhone & iPad | Files Quick Look, Safari |
| Windows | Photos, Paint, File Explorer, Visual Studio |
Free local tools & related guides
- Check whether a file really is ICO
- Inspect raw bytes in the Hex Viewer
- Guide: File Signatures & Magic Bytes Guide
Inspect files & folders natively
on Mac, iPhone & iPad.
The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.