What an ICO file is and why you might need one
An ICO file is an image format that stores icons — the small pictures that appear next to your program names, in browser tabs, or on desktop shortcuts. Windows, Mac, and Linux all use ICO files to display these icons in different sizes. If you have a logo or image you want to turn into an icon that your operating system will recognize, you need to convert it to ICO format.
Most people create ICO files when they want a custom icon for a website (called a favicon), a Windows application, or a folder. The process involves taking an existing image — usually a PNG, JPG, or BMP file — and converting it into the ICO format using either an online converter or desktop software.
Key Takeaways
- ICO files are icon images used by operating systems to display program logos, website favicons, and folder icons in different sizes.
- You can convert an existing image to ICO format using free online converters like CloudConvert or Convertio, which require no software installation.
- Desktop programs like GIMP (free) or Photoshop (paid) let you create and export ICO files with more control over the final result.
- ICO files work best when your original image is square and at least 256 × 256 pixels, though smaller sizes like 32 × 32 or 16 × 16 are common for icons.
- After creating an ICO file, you place it in your website root folder (for favicons) or point your application to it in the program's settings.
Using an online converter to turn an image into ICO format
The fastest way to create an ICO file is through a free online converter. These tools let you upload an image and download the converted ICO file without installing anything. CloudConvert and Convertio are two widely used options that handle ICO conversion.
To convert an image using CloudConvert: go to cloudconvert.com, click "Select File" and choose your image (PNG, JPG, BMP, or GIF all work), then select ICO from the output format dropdown. Click "Convert" and download the result. The process takes seconds. Convertio (convertio.co) works the same way — upload, select ICO as the output format, convert, and download.
Online converters work well for simple conversions, but they have limits. You cannot control the exact output size, and some converters compress the image or reduce quality. If you need multiple icon sizes or want to edit the image before conversion, a desktop program gives you more options.
Creating an ICO file with GIMP (free desktop software)
GIMP is a free image editor available for Windows, Mac, and Linux that can create and export ICO files. If you already have GIMP installed or want more control over your icon, this is a good choice. Download GIMP from gimp.org if you do not have it.
Open your image in GIMP. Go to Image → Scale Image and set the width and height to the same number — 256 × 256 pixels is standard for a full-size icon, though 128 × 128 or 64 × 64 work for smaller icons. Click Scale. Then go to File → Export As, type a filename with the .ico extension (for example, myicon.ico), and click Export. A dialog will appear asking about ICO export options — the defaults work for most purposes, so click Export again.
GIMP also lets you create multiple icon sizes in one file. After exporting your first size, you can scale the image to a smaller size (like 32 × 32) and export it again with the same filename — GIMP will ask if you want to add it to the existing ICO file. This creates a single ICO file that contains multiple sizes, which is useful for favicons and application icons.
Using Photoshop or other paid image editors
If you already use Adobe Photoshop, you can export ICO files directly. Open your image, go to File → Export As, choose ICO from the format dropdown, and save. Photoshop handles the conversion automatically.
Other paid editors like Affinity Photo and CorelDRAW also support ICO export. The steps are similar across all of them: open the image, use File → Export or Save As, select ICO format, and save the file. The advantage of paid software is usually better image quality and more control over compression, but for most icon needs, free tools work just as well.
Preparing your image before conversion
The quality of your ICO file depends on the image you start with. Before converting, make sure your image is square — if it is rectangular, the converter will either stretch it or add empty space around it. A 256 × 256 pixel square image is ideal.
Check that your image has enough detail to look good at small sizes. Icons are often displayed at 16 × 16 or 32 × 32 pixels, so thin lines and small text may become unreadable. Test your image by zooming out to see how it looks small. If it is a logo with fine details, you may need to simplify it or increase the contrast so it remains clear at tiny sizes.
If your image has a background you do not want, remove it before converting. Most online converters and GIMP can work with transparent backgrounds (PNG format), which is better for icons because they will blend with any background color. If your image is JPG, convert it to PNG first and remove the background using GIMP's selection tools or an online background remover.
Where to place your ICO file and how to use it
Where you put your ICO file depends on what you are using it for. For a website favicon (the icon that appears in the browser tab), place the ICO file in your website's root folder — the main directory where your index.html file lives. Name it favicon.ico. Most browsers will find it automatically, though you can also add a link tag to your HTML head section: <link rel="icon" href="favicon.ico">.
For a Windows application, the developer typically points to the ICO file in the program's properties or installer settings. If you are creating an icon for a folder, right-click the folder, select Properties, click Customize, and choose your ICO file. On Mac, right-click a file or folder, select Get Info, drag your ICO file onto the icon preview in the top left corner.
After placing your ICO file, you may need to clear your browser cache or restart your application for the new icon to appear. This is especially true for favicons — browsers cache them aggressively, so the change may not show up immediately.
Troubleshooting common ICO file problems
If your icon does not appear after you place the ICO file, check that the filename and path are correct. For favicons, verify that favicon.ico is in your root folder and that you have cleared your browser cache (or opened the site in an incognito window). If the icon appears blurry or pixelated, your original image may have been too small — try starting with a larger image or a different source.
Some older Windows programs expect ICO files in a specific format or size. If a program does not recognize your ICO file, try creating one at 32 × 32 pixels or 16 × 16 pixels instead of 256 × 256. You can also try converting your image using a different tool — sometimes one converter produces a file that works better with certain software.
If you are converting a JPG and the result has a white or colored background instead of transparency, convert your image to PNG first and remove the background. Online tools like remove.bg can do this automatically, or you can use GIMP's fuzzy select tool to remove the background manually before exporting to ICO.
Frequently Asked Questions
What image format should I start with to create an ICO file?
PNG is best because it supports transparency, which looks clean on any background. JPG works but may add a solid background color. BMP and GIF also work. Start with the highest quality version of your image you have — you can always make it smaller, but enlarging a small image makes it blurry.
Can I create an ICO file with multiple sizes in one file?
Yes. GIMP and some online converters let you add multiple sizes to a single ICO file. This is useful for favicons and application icons because the operating system can choose the right size for each context. Export your image at different sizes (256 × 256, 128 × 128, 32 × 32, 16 × 16) and add them to the same ICO file.
Why does my favicon not show up in the browser tab?
Browsers cache favicons for a long time. Clear your cache, close the browser completely, or open the site in an incognito window to see the new icon. Also verify that favicon.ico is in your website root folder and that the filename is spelled correctly.
What size should my ICO file be?
256 × 256 pixels is standard for full-size icons. For favicons, 32 × 32 or 16 × 16 pixels is common. For application icons, check the program's documentation — Windows apps often use 256 × 256, while older programs may expect 32 × 32. You can include multiple sizes in one ICO file.
Is there a difference between ICO and other icon formats?
ICO is Windows-native and works across all platforms. PNG and SVG are newer alternatives that some websites use for favicons instead of ICO. ICO has the advantage of being widely supported by older software, while PNG and SVG offer better quality at different sizes. For maximum compatibility, use ICO.