What is AVIF?
AVIF stands for AV1 Image File Format. It is a modern image format built on the AV1 video codec, designed to store photographs and graphics at a fraction of the file size of older formats without obvious quality loss. A single AVIF can hold transparency, animation, and wide-gamut or HDR colour.
AVIF is widely used on the web because browsers support it natively and it transfers far less data than JPEG or PNG for the same picture. Its weakness is that it is not an icon format. Windows Explorer, the taskbar, shortcut dialogs, and application packaging do not read AVIF as a native icon — that is why conversion to ICO exists.
What is ICO?
ICO is the native Windows icon format. It is not a single picture — it is a container that bundles several versions of the same picture at different sizes. The file begins with a small directory that records where each image starts and how big it is. Windows reads that directory and picks the size that best matches the context in which the icon appears.
Each image inside a modern ICO is a complete PNG file, with its alpha channel intact. That is why transparency survives conversion cleanly. The ICO container format has been part of Windows since the beginning and is still the only format that Windows Explorer, shortcuts, and app packages treat as a native icon.
AVIF vs ICO: at a glance
| Feature | AVIF | ICO |
|---|---|---|
| Full name | AV1 Image File Format | Windows Icon Resource |
| Structure | Single image (or animation sequence) | Container holding multiple sizes |
| Compression | AV1 (lossy or lossless) | PNG-compressed entries (lossless) |
| Transparency | Yes, full alpha channel | Yes, full alpha channel (32-bit PNG entries) |
| Animation | Yes (AVIF sequences) | No — still images only |
| Windows shell support | Not a native Windows icon format | Native — shortcuts, Explorer, app packages |
| Best for | Web photos, graphics, and modern storage | Windows icons, favicons, app resources |
| Quality on conversion | Source quality is preserved; lossy AVIF detail cannot be recovered | PNG entries are lossless once written |
Which ICO sizes do you need? 16×16, 32×32, 48×48 and 256×256 — and why
To convert AVIF to ICO, start with a square AVIF at least 256×256 pixels, then convert it to an ICO that holds 16, 32, 48 and 256, and use that file as your favicon or Windows icon.
An ICO is not one image. It is a container that holds the same picture at several sizes, and Windows and browsers pick the size that fits where the icon shows up. A single-size ICO looks blurry when Windows or a browser has to stretch it.
| Size | Where it shows up | Include it for |
|---|---|---|
| 16×16 | Browser tabs, Explorer details view, title bars | Favicon and Windows |
| 32×32 | Desktop at 100%, taskbar, bookmarks | Favicon and Windows |
| 48×48 | Explorer medium icons, Windows tiles | Favicon and Windows |
| 64×64 and 128×128 | Large icons and high-DPI screens | Windows |
| 256×256 | Extra-large icons, Windows 10 and 11 Start | Windows |
For a favicon, include 16, 32 and 48. For a Windows icon, include the full set up to 256. Start from at least 256×256 pixels — sizes larger than your source image should not be invented by enlarging a small image, or the large icon will look soft.
Keeping or removing transparency in your icon
AVIF supports transparency, and ICO supports it too, as 32-bit RGBA. A transparent AVIF should stay transparent in the ICO, in every size in the file.
Keep the transparency if your image is a logo or an icon. The see-through background is what lets it float over a desktop, a taskbar, or a browser tab without a box around it. If the icon comes out with a black or white box, the transparency was flattened during conversion — check the preview before you download.
Remove the transparency only on purpose, by adding a solid background colour. That fits a photo or a full-bleed image, where a background is part of the picture.
If your AVIF is not square, centre it on a transparent square. Do not stretch a wide or tall image to fill the icon, or it will look distorted at every size.
AVIF to ICO converter: favicon or Windows icon?
An AVIF to ICO converter is only useful if the ICO it makes fits where the icon will show up — a favicon and a Windows icon need different sizes in the same file.
- For a favicon: use an ICO with 16, 32 and 48. Upload it as favicon.ico to the root of your site.
- For a Windows icon: use an ICO with the full set, 16 to 256. Windows picks 32 for the desktop and taskbar, 48 for medium icons, and 256 for Start and extra-large icons.
An ICO cannot move. If your AVIF is animated, only the first frame becomes the icon, and the rest of the animation is lost. If you need the movement, do not convert it to an icon — convert the AVIF to a GIF instead, with our AVIF to GIF converter.
How to convert AVIF to ICO
- Drop your AVIF onto the converter above, click to select, or paste from clipboard.
- Choose your sizes: tick 16, 32, 48 and 256, or use the Favicon or Windows preset.
- Click Convert. The ICO is built in your browser — nothing is uploaded.
- Check the per-size preview. Verify that transparency is intact and that the 16-pixel size is still readable.
- Click Download .ICO to save the file. For a favicon, save it as
favicon.icoin the root of your site.
When should you not convert AVIF to ICO?
Do not convert AVIF to ICO if the icon will only appear in a browser and you can serve a PNG or SVG favicon instead. Modern browsers accept those formats directly, and they are easier to update.
Do not convert a large photograph to ICO expecting a sharp result at 16 pixels. At that size there is no room for fine detail, thin lines, or photographic texture. Start from a simple, high-contrast mark — a letter, a shape, or a bold logo — that still reads when reduced to a postage-stamp-sized square.
Do not convert an animated AVIF to ICO if you need the animation. Only the first frame becomes the icon. Use GIF or animated WebP for anything that must move.
If you need a modern format for other purposes, consider these related conversions instead:
- AVIF to PNG — for graphics and transparent images in a modern lossless format.
- AVIF to BMP — for legacy Windows software that requires uncompressed bitmaps.
- WebP to ICO — if your source image is already in WebP format.
Where to use your ICO file
Desktop shortcut: right-click the shortcut, choose Properties, then Change Icon, and browse to your .ico file.
Folder icon: right-click the folder, choose Properties, then the Customize tab, then Change Icon.
Website favicon: save the file as favicon.ico in your site root. Browsers will pick it up as the tab and bookmark icon automatically.
App packaging: point your build configuration at the .ico file. Electron, Tauri, and similar tools embed the ICO directly — the sizes are already inside, so you do not need to supply separate PNGs for each resolution.