What an ICO file is and why you might need one
An ICO file is a small image file that Windows uses as an icon — the tiny picture that appears next to a filename, on a desktop shortcut, or in your taskbar. If you want to replace the generic folder icon on a shortcut with your own image, or create a custom icon for a program, you need to convert that image into ICO format first. Windows only recognizes this specific format for icons, so a JPG or PNG won't work in those places, even if it looks like an icon.
The conversion is straightforward and requires no special software if you use an online converter, or a few dollars if you want a dedicated tool on your computer. Most people use the online route because they only need to do this once or twice.
Key Takeaways
- ICO files are the only format Windows recognizes for custom icons on shortcuts and folders.
- You can convert any image (JPG, PNG, GIF) to ICO format using a free online converter in under a minute.
- The image should be square and at least 256 × 256 pixels for the best result on modern screens.
- After conversion, you can assign the ICO file to a shortcut by right-clicking it, choosing Properties, and clicking Change Icon.
Preparing your image before conversion
Before you convert, make sure your image is in the right shape. ICO files work best when the image is square — the same width and height. If your image is rectangular, the converter will stretch or shrink it to fit, which can make it look distorted. A 256 × 256 pixel square image is ideal because it will look sharp on modern screens without losing detail.
Check the file size of your image too. If it's smaller than 256 × 256, the converter can enlarge it, but the result may look blurry. If you're starting with a very small image, consider finding a larger version or a different image altogether. You can check the dimensions by right-clicking the image file, selecting Properties, and looking for the width and height — or by opening the image in any photo viewer and checking the details.
Save your image in a common format like JPG, PNG, or GIF. These are the formats that online converters accept. If your image is in a less common format like TIFF or WebP, open it in Windows Paint or another image editor and save it as PNG first.
Using a free online converter
The fastest way to create an ICO file is through a free online converter. Go to a site like CloudConvert, Convertio, or icoconvert.com in your web browser. These sites are free and require no account or read.
On the converter page, click the button to upload your image file. Select the image from your computer. The site will show you a preview of how it will look as an icon. If the preview looks right, select ICO as the output format (it's usually the default). Click Convert or read, and the site will give you the ICO file to save to your computer.
Save the file somewhere you'll remember — your Desktop or a Documents folder works well. Give it a descriptive name like "MyIcon.ico" so you know what it is later. The whole process takes about one minute.
Using desktop software for repeated conversions
If you plan to create many ICO files, a desktop tool saves time. IcoFX and Greenfish Icon Editor Pro are two programs that run on Windows and let you convert images to ICO format with a few clicks. Both cost between $10 and $30 as a one-time purchase. You read and install them like any other program.
Open the program, click File or Open, and select your image. The program will show you a preview. Go to File > Export As or Save As, choose ICO as the format, pick where to save it, and click Save. Desktop tools also let you edit the image before converting — crop it, adjust colors, or resize it — without switching between multiple programs.
For most people, the free online converter is enough. Use desktop software only if you're creating icons regularly as part of a job or hobby.
Assigning the ICO file to a Windows shortcut
Once you have your ICO file, you can use it as the icon for a shortcut. Right-click the shortcut on your desktop or in a folder, and select Properties. In the Properties window, click the Shortcut tab at the top. Look for a button labeled Change Icon near the bottom of the window and click it.
A dialog box will open asking you to choose an icon. Click Browse, navigate to where you saved your ICO file, select it, and click Open. The icon will appear in the preview. Click OK to explore it. Your shortcut will now display your custom icon instead of the default one.
If the Change Icon button doesn't appear, the shortcut may be locked or the program doesn't allow custom icons. Try right-clicking the shortcut again and looking for Advanced or Compatibility options, but not all shortcuts support this feature.
Assigning an ICO file to a folder
Changing a folder's icon is slightly different from changing a shortcut's icon. Right-click the folder you want to customize and select Properties. Click the Customize tab. Near the top, you'll see a button showing the current folder icon — click it. A window will open showing available icons.
Click Browse at the bottom of this window, navigate to your ICO file, select it, and click Open. The icon will appear in the preview. Click OK to explore it. The folder will now display your custom icon in File Explorer.
Note that this method works on Windows 10 and Windows 11. On older versions of Windows, the Customize tab may not exist, and you may need to use a third-party tool to change folder icons.
Troubleshooting common problems
If your icon looks blurry or pixelated after conversion, the original image was too small. Go back and find a larger version of the image, or choose a different image that's at least 256 × 256 pixels. Convert it again and reassign it to your shortcut or folder.
If the icon doesn't appear after you assign it, try restarting Windows. Sometimes the system needs to refresh its icon cache before displaying a new custom icon. Right-click the desktop, select Refresh, and wait a few seconds. If it still doesn't appear, delete the shortcut or folder and create a new one, then assign the icon again.
If the online converter won't accept your image file, the file may be corrupted or in an unsupported format. Try opening the image in Windows Paint, saving it as a PNG file with a new name, and uploading that version instead.
Frequently Asked Questions
What size should my image be before I convert it to ICO?
A square image that is 256 × 256 pixels or larger will look sharp as an icon on modern screens. Smaller images can work but may appear blurry. You can check your image's dimensions by right-clicking it and selecting Properties, or by opening it in any photo viewer and looking at the details.
Can I convert a rectangular image to ICO format?
Yes, but the converter will stretch or squeeze it to fit a square, which can distort how it looks. For the best result, crop your image to a square before converting. Most image editors and even Windows Paint can do this in a few seconds.
Do I need to pay for an online converter?
No. Sites like CloudConvert, Convertio, and icoconvert.com offer free conversion with no account required. You upload your image, select ICO as the output format, and read the result. The whole process takes about one minute.
Will my custom icon stay if I move the shortcut to a different folder?
Yes. The icon is stored in the shortcut itself, not in the location where the shortcut sits. You can move the shortcut anywhere and the custom icon will move with it. However, if you delete the original ICO file from your computer, the icon may revert to a generic one.
Can I use an animated GIF as an ICO file?
ICO files support animation, but Windows shortcuts and folders do not display animated icons — they will show only the first frame of the animation as a static image. If you want animation, you would need to use a different approach, such as a custom screensaver or desktop widget.