← All posts

What is an ICO file? The format behind every Windows icon

What is an ICO file? The format behind every Windows icon

If you use a Windows laptop, have you ever wondered how the icons stay sharp when you switch from small icons to extra large ones, or change the display scaling? They don't just get stretched. Windows uses a special format for this: ICO. (Macs use their own format, .icns.)

What is ICO, the format for icons?

ICO is an image format Microsoft created for icons, and it has been part of Windows since its first versions in the mid-1980s. What makes it special is that one ICO file stores several copies of the image at different sizes, such as:

  • 16×16 for small lists and browser tabs
  • 32×32 and 48×48 for normal icons
  • 64×64 and 128×128 for large icons
  • 256×256 for extra large icons and high-resolution screens

When Windows needs to show an icon, it picks the copy closest to the size it needs. Nothing gets blurry from being stretched up or messy from being squashed down.

Here's the fun part: each size is a separate image. Designers often make the 16×16 version simpler, with fewer details and thicker lines, so it still reads clearly at that tiny size. In theory, every size could even be a completely different picture.

Where is ICO used?

  • Windows icons. Programs, shortcuts and folders all use ICO files. You can even set your own; see how to set custom icons in Windows.
  • Website favicons. The small logo in your browser tab is often a favicon.ico. Every browser supports it, and the multiple sizes let the same file look good in a tab, a bookmark or a pinned shortcut.

How to convert an image to ICO

The mediatoolex image converter turns a PNG, JPG, WebP or other picture into an ICO, and lets you choose exactly which sizes go inside. Here's how.

Step 1: Choose ICO and your image

Open the image converter, click ICO under "Convert to", then click Choose Files and pick your picture. A square image works best, and a PNG with a transparent background gives the cleanest edges.

mediatoolex image converter with ICO selected as the output format

Step 2: Select the sizes you want

Tick the sizes to include. All of them go into one .ico file.

  • Windows icon: 32, 48, 64, 128, 256
  • Website favicon: 16, 32, 48

Keep 32-bit colour depth for smooth transparent edges. If your picture isn't square, ICO shape lets you fit it with transparent padding, crop it to fill, or stretch it.

ICO size options 16 to 256 in the image converter

Step 3: Download your icon

Click Convert all, then the download button. That's your ICO file.

Finished ICO file with the download button highlighted

Everything happens on your own device. Your picture is never uploaded, so it's safe to use with personal photos or unreleased logos.

Pros and cons of ICO

Pros

  • Sharp at every size. Each size is stored separately, so nothing gets stretched.
  • Transparency. Icons sit cleanly on any background or wallpaper.
  • Works everywhere it's needed. Windows needs it for custom icons, and every browser understands it as a favicon.

Cons

  • Bigger than one image. Storing five or six sizes takes more space than a single PNG.
  • Only for icons. It's not meant for photos or sharing pictures. Use JPEG or PNG for those.
  • Windows-specific. macOS uses .icns for app and folder icons.

FAQ

Can I just rename a PNG to .ico?

No. An ICO file has its own layout, with a small list at the start describing each size inside. Renaming a PNG doesn't add that, so Windows won't accept it as an icon. Convert it properly with the image converter instead.

What sizes should a favicon.ico have?

16×16, 32×32 and 48×48 cover browser tabs, bookmarks and the Windows taskbar. You can put all three in one file.

Can ICO files have a transparent background?

Yes. Choose 32-bit colour depth and start from a picture with a transparent background, like a PNG, and the edges stay smooth on any wallpaper.

How do I open or edit an ICO file?

Windows Photos and any web browser can open one to look at. To edit it, convert it to PNG with the image converter, make your changes, then convert it back to ICO.

Conclusion

ICO is a small format with one clever trick: many sizes in one file, so icons look crisp everywhere. If you want to make your own, the image converter does it in seconds, with no sign-up and no uploads.

Ready to use it? Follow our step-by-step guide to set custom icons on your Windows laptop. Curious about other formats? Read what is BMP or JPG vs PNG.