An ICO file stores a small image that represents a program or folder on your screen

An ICO file is a picture file that holds one or more tiny images, usually 16×16 pixels or 32×32 pixels, though they can be larger. Windows, Mac, and Linux all use ICO files to display icons — the small pictures you see next to program names in your taskbar, on your desktop, or in a folder listing. When you see the Firefox logo next to "Firefox" in your Start menu, or the folder icon in File Explorer, you are looking at an image pulled from an ICO file stored somewhere on your computer.

The ICO format is old — it dates to the early days of Windows — but it remains the standard way operating systems store and display these tiny images. A single ICO file can hold multiple versions of the same icon at different sizes and colors, so Windows can pick the right one depending on where it needs to show the icon. This matters because a 16-pixel icon that looks clear on a taskbar would look blurry if you enlarged it to fill a desktop shortcut, so the file stores both.

Key Takeaways

  • ICO files are image containers that hold the small pictures representing programs and folders on your computer.
  • A single ICO file can store multiple versions of the same icon at different sizes so your operating system can use the clearest version in each location.
  • You do not need to open or edit ICO files for normal computer use — your operating system handles them automatically.
  • If you want to change an icon for a program or folder, you can replace the ICO file, but doing so requires finding where it is stored and having a replacement image ready.

Where ICO files live on your computer

Most ICO files are stored inside program folders or in Windows system directories that you do not see during normal use. When you install Firefox or Photoshop or any other program, the installer places an ICO file in the program's folder. Windows reads that file and displays the icon whenever it needs to show the program in a menu, on the desktop, or in a window.

Some ICO files are also embedded directly inside executable files — the .exe files that actually run programs. When you right-click a program shortcut and look at its properties, Windows can extract the icon from the .exe file itself rather than looking for a separate ICO file. This is why you can see an icon for a program even if you have never seen the actual ICO file.

System icons — the folder icon, the trash can, the magnifying glass for search — are usually stored in Windows system files in the C:\Windows directory. You can browse there if you are curious, but changing or deleting these files can break your system, so it is best to leave them alone.

How to change an icon for a program or folder

If you want to give a program shortcut or folder a different icon, you can do this without touching ICO files directly. Right-click the shortcut or folder, select Properties, then look for a "Change Icon" button. Windows will open a dialog showing available icons from system files or from the program itself. Pick one and click OK.

If you want to use a custom image as an icon, you will need to convert it to ICO format first. You can do this with free online converters — search "convert image to ICO" — or with image editing software like GIMP. Once you have an ICO file, you can point Windows to it using the same Properties dialog. The process varies slightly between Windows 10 and Windows 11, but the basic steps are the same: right-click, Properties, Change Icon, then browse to your ICO file.

On a Mac, you can change folder icons by copying an image, selecting the folder, opening Get Info, and pasting the image into the icon well at the top left. Mac does not use ICO files — it uses ICNS format instead — but the end result is the same: your folder gets a custom picture.

ICO files versus other image formats

ICO files are different from JPG, PNG, or GIF files because they are designed specifically for icons. A JPG file is optimized for photographs. A PNG file works for any image but is larger than necessary for tiny pictures. An ICO file is built to store multiple sizes of the same image in one compact container, which saves space and lets your operating system pick the right version when ready.

You can convert between formats — a PNG can become an ICO, or an ICO can be exported as a PNG — but each format has a purpose. If you are making an icon for your own program or website, ICO is the right choice for Windows. If you are just sharing a picture, PNG or JPG is simpler and more widely supported.

Why you probably do not need to think about ICO files

For most people, ICO files are invisible. Your operating system finds them, reads them, and displays the icons without you ever opening a file manager or thinking about the format. You only encounter ICO files if you are customizing your desktop, creating a program, or troubleshooting a missing icon.

If a program icon disappears or shows as a blank square, it usually means the ICO file is missing or the program cannot find it. Reinstalling the program normally fixes this because the installer replaces the missing file. You do not need to hunt down the ICO file yourself.

Creating your own ICO file

If you are building a program or website, you will need to create an ICO file. Start with an image — a PNG or JPG works fine — and use an online converter or image editor to save it as ICO. Most converters let you choose the size: 16×16, 32×32, 64×64, or 256×256 pixels are common. You can also create an ICO file that holds multiple sizes at once, which is the professional approach.

For a website, you create a small ICO file called favicon.ico and place it in your website's root directory. Browsers automatically look for it and display it in the tab next to your page title. For a Windows program, you embed the ICO file in your executable or store it in the program folder so Windows can find it during installation.

Frequently Asked Questions

Can I open an ICO file and see what is inside?

Yes. You can open an ICO file with any image viewer — right-click it, select "Open with", and choose an image program like Photos or Paint. You will see the icon or icons stored in that file. You can also use online ICO viewers if you do not want to read software.

What happens if I delete an ICO file?

If you delete an ICO file for a program you installed, that program's icon will disappear from your Start menu or desktop and show as a blank square. Reinstalling the program will restore the ICO file. Do not delete ICO files in the Windows system directory — this can cause Windows to malfunction.

Is an ICO file the same as a shortcut?

No. A shortcut is a small file that points to a program and can have its own icon. An ICO file is the actual image data. A shortcut uses an ICO file to display its icon, but they are separate things.

Can I use an ICO file on a Mac?

Technically yes, but Macs use ICNS format instead. If you have an ICO file, you can convert it to ICNS using online tools or image software, then use it on a Mac. Most Mac software comes with ICNS files built in, so you rarely need to convert anything yourself.