Glossary

What Is an ICO File?

An ICO file is a Windows icon, a small container that holds the same picture at several sizes at once, and often at more than one color depth. Instead of a single bitmap, one .ico can carry 16, 24, 32, 48, 64, 128 and 256 pixel versions together, and Windows reaches for whichever one fits the spot on screen. That is why the format runs Windows program icons, desktop shortcuts, folder icons, and the favicon.ico that browsers still request from the root of a website.

TL;DR

An ICO is a Windows icon that holds one image at several sizes in one file, so it stays sharp from a 16 px tab to a 256 px tile. Renaming a PNG will not work; convert it into a real multi-size .ico.

7 sizes
can live inside a single .ico, from a 16 px browser tab up to a 256 px Explorer tile

Why an ICO Holds Several Sizes

The same icon shows up at very different sizes: tiny in a browser tab or title bar, medium on the taskbar and the desktop, and large in Explorer's jumbo view. If a file stored only one bitmap, Windows would have to scale it for every other size, and the result usually looks soft or jagged. A proper .ico stores a sharp, purpose-drawn version for each size, so it stays crisp everywhere.

Since Windows Vista the 256x256 layer inside an ICO is stored as a compressed PNG stream rather than a raw bitmap. That keeps the file small while preserving full transparency, and build tools like Inno Setup and Visual Studio expect that 256 px entry to be present.

ICO vs PNG: You Cannot Just Rename the File

A PNG is a single image. An ICO is a container of several images plus a small index. Renaming a .png to .ico does not convert anything, so Windows and browsers either ignore the file or show a broken icon. To get a real icon you have to repackage the picture, redrawing it at each size and writing it into the ICO structure, ideally with a full 32-bit alpha channel so a transparent logo does not pick up a black background.

Keep a square, high-resolution source, 512x512 or larger, in RGBA. Downscaling from a big clean image stays sharp; upscaling a small one just blurs.

How to Make an ICO File

The quickest way is a converter that builds the multi-size file for you. Drop a PNG, pick the sizes you want, and download one .ico with every layer inside.

What you'll need
  • PNG to ICO Converter: builds a multi-size .ico in your browser, nothing uploaded
  • SoftOrbits Icon Maker: desktop app for batch icons, pixel editing, and .ICO/.ICL/.CUR on Windows
  • A square source image, ideally 256 px or larger


学習内容

Related Guides

Related Terms