The ICO Icon Format

One file, many sizes: the format behind favicons and Windows icons.

Last updated: June 26, 2026

ICO is the icon format created by Microsoft for Windows, and it solves a problem most image formats ignore: a single icon needs to look sharp at many different sizes. Instead of holding one picture, an ICO file is a container that bundles several images, each at its own resolution and color depth, into one file. The operating system or browser then picks the size that fits the moment, whether that is a tiny 16-pixel favicon in a browser tab or a crisp 256-pixel icon on the desktop.

What is ICO?

ICO is the standard icon file format on Microsoft Windows and the format browsers expect for website favicons. What sets it apart from ordinary image formats is that an ICO file is a container rather than a single picture. Inside one .ico file you can store multiple images at different sizes, such as 16x16, 32x32, 48x48, and 256x256 pixels, each potentially at a different color depth.

This matters because icons appear at many scales across an interface. A folder icon might show as a tiny thumbnail in a list view and as a large tile on the desktop. Rather than scaling one image up or down, which produces blurry or jagged results, the system reads the ICO and chooses the embedded image that best matches the size it needs. Each frame can include transparency, so icons sit cleanly on any background. Modern ICO files store frames as either classic DIB bitmaps or compressed PNG images.

The History of ICO

The ICO format dates back to the earliest graphical versions of Microsoft Windows in the mid-1980s, when the desktop metaphor introduced clickable icons for files, folders, and programs. Its structure grew directly out of the Windows bitmap format, which is why early icons stored their pixels as device-independent bitmaps.

For years ICO files held small, low-color images suited to the modest displays of the era. As screens gained resolution and color, the format expanded to support 24-bit and 32-bit color with a dedicated alpha channel for smooth transparency. A significant update came with Windows Vista, which added support for large 256x256 icons and allowed those frames to be stored as PNG data to keep file sizes reasonable. Around the same time, ICO became the de facto standard for website favicons after browsers adopted the convention of loading a favicon.ico file, securing the format a permanent place on the web.

How ICO Works

An ICO file starts with a short header followed by a directory that lists every image bundled inside. Each directory entry records one frame's width, height, color depth, and the location and size of its pixel data within the file. The actual image data follows, one block per frame.

The key mechanics are:

  • Directory of frames: the header tells the reader how many images are present and where to find each one.
  • Per-frame format: each frame is stored either as a DIB bitmap with an AND mask for transparency, or as a full PNG image.
  • Size selection: the operating system or browser scans the directory and loads the frame closest to the size it needs to draw.
  • Transparency: 32-bit frames carry an alpha channel, while older frames use a one-bit mask.

Because the matching image is chosen rather than scaled, icons stay crisp at every size they are displayed.

Key Features of ICO

ICO earns its place through features tailored specifically to icons rather than general photography:

  • Multiple sizes in one file: a single .ico bundles common sizes like 16x16, 32x32, 48x48, and 256x256 so the right one is always available.
  • Multiple color depths: frames can range from low-color legacy bitmaps to full 32-bit color.
  • Transparency: a proper alpha channel lets icons blend seamlessly onto any background.
  • Mixed encoding: small frames use compact bitmaps while large frames can use PNG compression.
  • Sharp rendering at every scale: the system picks a purpose-made image instead of resizing.
  • Universal browser support: every major browser recognizes ICO for favicons.

These traits make ICO uniquely suited to the small, scalable graphics that decorate operating systems and websites.

Common Use Cases

ICO is a specialist format, and nearly all of its use falls into two related areas:

  • Website favicons: the small icon shown in browser tabs, bookmarks, and history is typically a favicon.ico containing several sizes so it looks right in each location.
  • Windows application icons: desktop programs ship an ICO so the app appears correctly in the taskbar, Start menu, file explorer, and on the desktop.
  • Folder and file icons: custom folder appearances and shortcut icons on Windows rely on ICO files.
  • Installers and shortcuts: setup programs embed ICO resources to brand their windows and launchers.

Outside the Windows and web-favicon world, ICO is rarely used, since formats like PNG and SVG handle general images and modern scalable icons more conveniently. But for these specific jobs, ICO remains the expected and most compatible choice.

ICO vs Other Image Formats

The biggest difference between ICO and formats like PNG or JPEG is that ICO is a multi-image container built for icons, while the others store a single picture. A PNG can act as a favicon in modern browsers, but it holds only one resolution, so the browser must scale it; an ICO can carry several hand-tuned sizes and avoid scaling entirely.

Compared with SVG, which is a vector format that scales to any size mathematically, ICO is raster-based and limited to the sizes baked into it. SVG is excellent for crisp, resolution-independent icons on the web, but it is not supported as a Windows desktop icon format, where ICO is required. Against JPEG, ICO has the clear advantage of transparency and lossless frames, qualities essential for icons that overlap other content. In practice, ICO is not competing for general image work; it occupies a narrow niche where its container design and Windows compatibility make it the right tool.

Tips for Working with ICO

A few guidelines help you build icons that look sharp everywhere:

  • Include several sizes: 16x16, 32x32, 48x48, and 256x256 cover browser tabs through large desktop displays.
  • Start from a high-resolution source and generate the smaller frames from it so each one is hand-tuned rather than blurry.
  • Keep small icons simple: fine detail disappears at 16 pixels, so favor bold, recognizable shapes.
  • Use transparency so the icon sits cleanly on toolbars, tabs, and varied backgrounds.
  • Store the large frame as PNG inside the ICO to keep the file size manageable.
  • Place favicon.ico at your site root so browsers find it automatically even without a link tag.

Designing for the smallest size first usually produces the most legible icons.

ICO at a Glance

Full nameWindows Icon
File extension.ico
Developed by / YearMicrosoft, mid-1980s
CompressionUncompressed DIB bitmaps or PNG frames
TransparencyYes
Color support1-bit to 32-bit color with alpha
Best forFavicons and Windows application/desktop icons

Advantages of ICO

  • Stores multiple sizes and color depths in one file
  • Sharp rendering at every display size without scaling
  • Full transparency for clean blending on any background
  • Universally supported for favicons and Windows icons

Limitations of ICO

  • Raster-based, so it cannot scale beyond its built-in sizes
  • Specialized format unsuitable for general photos or graphics
  • Not supported as a desktop icon outside Windows

Convert ICO to Another Format

Use Snap2Format's free converter to turn your ICO files into any of these formats — no signup, no watermark:

Convert Other Formats to ICO

Need a ICO file? Convert from these formats instantly:

ICO — Frequently Asked Questions

ICO files store icons. They are the standard format for website favicons shown in browser tabs and for Windows application, folder, and desktop icons.

Icons appear at many sizes, so an ICO bundles several resolutions like 16x16 and 256x256. The system picks the best match instead of scaling one image, keeping icons crisp.

Yes. Modern 32-bit ICO frames include a full alpha channel, and older frames use a one-bit mask, so icons can sit cleanly on any background.

Modern browsers accept PNG favicons, but ICO can carry multiple sizes in one file and is the most universally supported favicon format, including in older browsers.

Common sizes are 16x16, 32x32, and 48x48, with 256x256 for high-resolution displays. Bundling several ensures the favicon looks sharp everywhere it appears.

Explore Other Image Formats

Learn about the formats most often used alongside ICO:

← Back to all supported formats