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

An ICO file is a picture file that Windows and other operating systems use as an icon — the tiny image you see next to a program name in your taskbar, on your desktop, or in a folder. ICO stands for "icon". When you double-click a program shortcut and see a small picture appear, that picture comes from an ICO file embedded in the program or stored separately.

ICO files are different from other image formats like JPG or PNG because they can hold multiple versions of the same image at different sizes. A single ICO file might contain a 16-by-16 pixel version for a taskbar, a 32-by-32 pixel version for a folder, and a 256-by-256 pixel version for larger displays. This means one file works across all the places Windows displays icons.

Most of the time you never interact with ICO files directly. Windows handles them in the background. But if you want to change how a program looks on your desktop, or if you are creating your own program, you may need to work with them.

Key Takeaways

  • ICO files are image files that store the small pictures Windows displays next to program names and shortcuts.
  • A single ICO file can contain multiple sizes of the same image so it looks sharp whether displayed at 16 pixels or 256 pixels wide.
  • You can change a shortcut's icon by right-clicking it, selecting Properties, and pointing to a different ICO file on your computer.
  • Most image editing programs and online converters can turn a JPG or PNG into an ICO file if you want to create a custom icon.

How ICO files differ from other image formats

JPG and PNG files store a single image at a single size. If you shrink a large JPG down to 16 pixels wide, it becomes blurry because the computer has to throw away information. An ICO file avoids this problem by storing several versions of the image — one optimized for tiny displays, one for medium displays, one for large displays — all in the same file.

ICO files also support transparency, which means you can have a see-through background instead of a solid color. This is why program icons can sit on any desktop background without looking like they have a white or colored box around them.

Another difference is file size. A typical ICO file is very small — often just a few kilobytes — because icons do not need to be detailed photographs. They are simple, bold images designed to be recognized at a glance.

Where ICO files live on your computer

Most ICO files are stored inside program files themselves. When you install Microsoft Word or Google Chrome, the program's installation folder contains an ICO file that Windows reads to display the program's icon. You rarely see these files because they are buried in system folders.

Windows also keeps a library of standard icons in a file called shell32.dll, located in your System32 folder. This file holds hundreds of icons that Windows uses for folders, documents, and system functions. You can browse these icons if you want to use one for a custom shortcut.

If you download an icon from the internet or create one yourself, it will be saved as a separate ICO file somewhere in your Documents or Downloads folder, depending on where you save it.

How to change a shortcut's icon

Right-click any shortcut on your desktop or in a folder. Select Properties from the menu that appears. In the Properties window, click the Shortcut tab at the top.

Look for a button labeled Change Icon near the bottom of the window. Click it. A dialog box will open showing you available icons. You can browse the default Windows icons here, or click Browse to point to an ICO file you have downloaded or created.

Once you select an icon, click OK twice to close both windows. The shortcut's picture will change immediately. This only changes the icon for that one shortcut — it does not affect the original program.

How to convert an image to ICO format

If you have a JPG or PNG image you want to turn into an icon, you have two main options: use image editing software on your computer, or use a free online converter.

Image editing software: Programs like Photoshop, GIMP (free), or Paint.NET (free) can open a JPG or PNG and save it as an ICO file. Open your image, resize it to a square (icons are usually square), and then use File > Export As or Save As and choose ICO from the format list.

Online converters: Websites like CloudConvert, Convertio, or Online-Convert let you upload a JPG or PNG and download the ICO file without installing anything. Upload your image, select ICO as the output format, and download the result. These are fastest if you only need to convert one or two images.

When converting, keep in mind that icons are small and simple. A detailed photograph will not look good as an icon. Use a clear, bold image with strong contrast for the best result.

Why programs use ICO files instead of other formats

ICO files exist because Windows needs a standard way to display program pictures across different screen sizes and situations. Before ICO became standard, each program had to include its own icon system, and icons looked inconsistent across the operating system.

ICO files also load very quickly because they are small and optimized. When Windows starts up, it reads thousands of icons from programs and system files. If icons were stored as full-size photographs, startup would be much slower.

The format also handles transparency cleanly, which matters for visual consistency. A program icon needs to look good on a light desktop background, a dark one, and everything in between. Transparency lets the background show through instead of forcing a solid color.

Common problems and what they mean

If you point a shortcut to an ICO file that no longer exists, the shortcut will show a generic blank icon. This happens when you delete the ICO file or move it to a different folder without updating the shortcut. To fix it, right-click the shortcut, select Properties, click Change Icon, and point to a file that still exists.

If an icon looks blurry or pixelated, the ICO file may not include a version optimized for your screen size. This is rare with modern icons, but it can happen with very old ICO files. Converting the image to a new ICO file usually solves the problem.

Some programs do not allow you to change their icon through the Properties menu. This is intentional — the program developer locked it to prevent confusion. In these cases, you can create a shortcut to the program and change the shortcut's icon instead, leaving the original program icon unchanged.

Frequently Asked Questions

Can I use a PNG or JPG as an icon without converting it to ICO?

On Windows, the Change Icon dialog is designed for ICO files, so you will have the best results converting to ICO first. Some programs do accept PNG files directly, but this is not standard. Converting takes less than a minute with an online tool, so it is worth doing.

What size should an icon image be before I convert it to ICO?

Icons are square, so use dimensions like 256 by 256 pixels, 128 by 128 pixels, or 64 by 64 pixels. Larger is better — you can always shrink it, but enlarging a small image makes it blurry. Most online converters will resize automatically if you upload something larger.

Can I extract an icon from a program and use it for something else?

Technically yes, but check the program's license first. Most commercial software owns the rights to its icons, and using them elsewhere may violate the license agreement. Icons from open-source programs are usually free to reuse. When in doubt, create your own or use icons from a free icon library.

Why does my custom icon disappear after I restart my computer?

This usually means Windows could not find the ICO file when it restarted. If you stored the ICO file on a removable drive or in a temporary folder, Windows loses the connection. Move the ICO file to a permanent location like Documents or a program folder, then update the shortcut to point to the new location.

Can I make an ICO file with multiple images inside it?

Yes, but it requires image editing software like GIMP or a specialized icon editor. Most people do not need this — a single image works fine for shortcuts. If you are creating a program and want multiple icon sizes in one file, use an icon editor tool designed for developers.