ICO vs AVIF: technical differences
To convert ICO to AVIF, drop your ICO file into the converter above and download the AVIF: a modern format, usually smaller than JPG and WebP at the same quality, that supports transparency. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.
This conversion works, but it is rarely worth it. AVIF's efficiency shows on photographs and large, detailed images. An icon is at most 256 × 256 pixels and often much smaller, so AVIF's container overhead (a few hundred bytes) is a big share of the output. A 32 × 32 AVIF can easily be larger than a PNG of the same icon. On a detailed 256 × 256 icon with gradients, AVIF can come out smaller than PNG or WebP.
Transparency is preserved, since AVIF has a full alpha channel. As with other lossy formats, chroma subsampling and quantisation can soften crisp one-pixel lines, which are a large share of a small icon. Old icons with 1-bit masks keep their hard edges.
AVIF is encoded by Safari's built-in encoder, or by a bundled WebAssembly libavif in Chrome, Firefox and Edge. Only the single largest entry in the ICO is converted.
| ICO (Windows Icon) | AVIF (AV1 Image File Format) | |
|---|---|---|
| Compression | Embedded BMP or PNG images | Lossy or lossless (AV1 intra-frame in a HEIF container) |
| Colour depth | Up to 32-bit RGBA per embedded size | 8, 10 or 12 bits per channel; HDR and wide gamut capable |
| Transparency | Yes (alpha or 1-bit mask) | Full alpha channel |
| Animation | None | Yes (image sequences) |
| Metadata | None | EXIF, XMP, ICC / CICP colour signalling |
| Typical file size | Small — usually a few sizes from 16×16 to 256×256 | Usually the smallest — often half a JPG at similar quality |
| Support | Windows and browsers (favicons) | Chrome, Edge, Firefox and Safari 16+; patchy in older desktop software |
When to convert ICO to AVIF
Large detailed icons in an AVIF-first image pipeline
Sites that serve everything as AVIF can include 256 × 256 application icons in the same pipeline, with transparency intact.
Testing AVIF support for small images
Developers evaluating AVIF for UI graphics can convert real icons to compare file size and edge quality against PNG and WebP before committing.
What converting ICO to AVIF keeps and loses
What you keep
- Transparency (alpha channel)
- The icon's pixel dimensions
- Overall appearance at high quality
What you lose
- Pixel-exact edges at lower quality
- Any size advantage on small icons, which may grow
- All other sizes stored in the ICO
Our test: ICO to AVIF on two real files
AVIF gave the smallest transparent file from our graphic icon, 9 KB against 12 KB for WebP, at similar quality (PSNR 41.75 dB, SSIM 0.9975). The opaque photo icon came to 11 KB, slightly larger than its 9 KB WebP, so at icon sizes AVIF doesn't win every time.
The photo's PSNR of 32.91 dB is close to the 33.57 dB the lossless outputs scored, because most of the difference is the Display P3 profile being converted to sRGB. Encoding is the slow step: in Chromium AVIF runs through a WebAssembly encoder, and the photo took 1,957 ms, more than twice the WebP's 857 ms, for only 256 × 192 pixels.
Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).
| Test file | ICO in | AVIF out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 256 × 192 | 73 KB | 11 KB (−85%) | SSIM 0.993 · 32.9 dB | None in source | None in source | 2.0 s |
| Graphic, 256 × 192, transparent | 40 KB | 9 KB (−77%) | SSIM 0.998 · 41.8 dB | Kept | None in source | 1.4 s |
Last updated
Apps and sites that work with ICO and AVIF
Browser support
Chrome 85 and later, Firefox 93 and later, Safari 16 and later and current Edge display AVIF with transparency. Pixohub encodes AVIF with a WebAssembly build of libavif in Chrome, Firefox and Edge, and uses Safari's own built-in encoder in Safari.
Image CDNs and frameworks
If your site runs on an image CDN or a framework image component that picks formats per browser, uploading a PNG and letting it serve AVIF where supported is simpler than keeping AVIF copies of every icon yourself, and it handles older browsers automatically.
Checking AVIF icons locally
macOS Preview opens AVIF on Ventura and later, and GIMP opens it on any platform. Many older desktop viewers and office suites don't read AVIF, so keep a PNG copy for documents and for anyone checking the icons outside a browser.
Common ICO to AVIF problems and fixes
The AVIF came out larger than a WebP or PNG
For tiny images, AVIF's container overhead can outweigh its compression. On our 256 × 192 icons AVIF was far smaller than PNG, yet the photo icon was still 2 KB larger than its WebP, and a 16 × 16 or 32 × 32 entry can end up larger than the PNG. Compare against ICO to WebP and ICO to PNG.
Pixel-art edges go soft
Icons drawn pixel by pixel, like classic Windows 16- and 32-pixel icons, lose their crispness under AVIF's transform coding and reduced colour resolution. Raise the quality to 95% or more, or keep pixel-art icons as PNG, where every pixel stays exactly as drawn. At 256 × 192, our test icons are smooth artwork, so they don't show this as strongly as a hand-pixelled 32-pixel icon would.
Older Apple devices show nothing
AVIF needs iOS 16 or macOS Ventura on Apple devices, so an icon used as a plain img tag disappears for anyone on older systems. Serve a PNG or WebP fallback in a picture element, made with ICO to PNG or ICO to WebP. Most email clients don't display AVIF either.
Tips for better ICO to AVIF results
- Compare the AVIF against ICO to PNG before using it. For icons under about 64 px, PNG is usually the smaller and sharper file.
How this converter works
Pixohub decodes your ICO and encodes the AVIF entirely inside your browser. Nothing is uploaded, so the conversion is private by design and as fast as your device.
Need more? Shrink the result with the image compressor, change its dimensions with the image resizer, or convert a whole folder at once with bulk format convert.