What an ICO file is and why you need one
An ICO file is a Windows image format that stores one or more icons at different sizes and color depths in a single file. Windows uses ICO files for application icons, folder icons, and shortcuts. If you want a custom icon to appear next to your program name or on your desktop, you need to convert or create an image as an ICO file.
Most image editors cannot save directly to ICO format, so you either convert an existing image using a dedicated tool or use software that supports ICO as an output option. The process takes minutes once you understand which tool fits your workflow.
Key Takeaways
- ICO files must be square images, typically 256×256 pixels or smaller, and Windows displays them at sizes like 16×16, 32×32, 48×48, and 256×256.
- You can create an ICO file by converting a PNG, JPG, or other image format using online converters, image editors like GIMP or Photoshop, or dedicated icon software.
- Online converters are the fastest route if you already have an image; desktop software gives you more control over how the icon looks at small sizes.
- Test your ICO file by setting it as a folder icon or application icon to see how it appears at actual sizes before deploying it.
Converting an existing image to ICO format
If you have a PNG, JPG, or other image file you want to turn into an icon, an online converter is the quickest method. Upload your image to a site like CloudConvert, Online-Convert, or Convertio, select ICO as the output format, and download the result. Most converters let you set the output size — 256×256 pixels is standard for modern Windows.
The limitation of online converters is that they simply resize and reformat your image. If your original image has fine details or text, those may become unreadable when the icon shrinks to 16×16 or 32×32 pixels. For that reason, many people create or edit their icon image first to ensure it looks good at small sizes — removing thin lines, simplifying shapes, and increasing contrast.
Creating an ICO file in GIMP
GIMP is free and runs on Windows, Mac, and Linux. Start by creating a new image at 256×256 pixels with a transparent background. Design your icon, keeping in mind that small details disappear at 16×16 size. When you are finished, go to File → Export As, type a filename with the .ico extension, and click Export. GIMP will prompt you to set the compression level — the default works for most purposes.
If you want your icon to display well at multiple sizes, GIMP can embed several versions of your image in a single ICO file. After exporting, you can use a tool like IcoFX or Greenfish Icon Editor to add additional sizes to the same file, though this is optional — Windows will scale a single-size ICO automatically if needed.
Using Photoshop or other paid editors
Adobe Photoshop does not save to ICO format natively, but you can export as PNG and then convert using an online tool or a Photoshop plugin. Alternatively, use the File → Export As menu and save as PNG at 256×256 pixels, then run it through CloudConvert or a similar service.
Other paid editors like Affinity Photo and Corel PaintShop Pro may support ICO export directly — check your software's export menu. The workflow is the same: create a square image, design your icon with small sizes in mind, and export or convert to ICO format.
Dedicated icon creation software
If you create icons regularly, dedicated tools like IcoFX, Greenfish Icon Editor, or Icon Craft give you more control. These programs let you design at multiple sizes simultaneously, see a live preview of how your icon looks at 16×16 and 32×32, and embed all those sizes in one ICO file. IcoFX is paid; Greenfish Icon Editor is free and open-source.
Dedicated software also includes libraries of shapes, gradients, and effects designed for icons. If you are building icons for a suite of applications or want pixel-perfect control, this approach saves time compared to designing in a general image editor and converting afterward.
Testing your ICO file before use
Before you deploy your ICO file, test it at actual sizes. Right-click a folder, select Properties, click Customize, and choose your ICO file to set it as the folder icon. Windows will display it at 32×32 and 256×256 pixels depending on your view settings. If the icon is hard to read or the colors look wrong, go back to your image editor, adjust the design, and export again.
You can also test by setting the icon as a shortcut icon. Right-click a shortcut, select Properties, click Change Icon, and browse to your ICO file. This shows you how the icon appears in the taskbar and on the desktop at 32×32 size. If details are lost or colors blend together, simplify your design and re-export.
Embedding an ICO file in an executable
If you are distributing a Windows application, you will need to embed your ICO file into the executable (.exe) file itself. This requires a resource editor like Resource Hacker or a compiler that supports icon embedding. The exact process depends on your programming language and development environment — consult your software's documentation for the specific steps.
For most users, the ICO file itself is the end product. You set it as a folder icon, a shortcut icon, or pass it to a developer who will embed it in your application.
Frequently Asked Questions
What size should my ICO file be?
256×256 pixels is the standard for modern Windows. Older systems may use 32×32 or 48×48, but Windows scales a larger ICO down automatically. Start at 256×256 and you will cover all cases.
Can I put multiple images in one ICO file?
Yes. A single ICO file can contain the same image at 16×16, 32×32, 48×48, and 256×256 sizes. Dedicated icon editors like Greenfish Icon Editor let you add multiple sizes. Online converters typically create a single-size ICO, which Windows will scale as needed.
What image format should I start with?
PNG is best because it supports transparency, which icons usually need. JPG works but does not support transparency. Start with PNG, design your icon, and convert to ICO.
Why does my icon look blurry at small sizes?
Fine details and thin lines disappear when an image shrinks to 16×16 pixels. Redesign your icon with fewer details, thicker lines, and higher contrast. Test at actual sizes before finalizing.
Can I use an ICO file on a Mac or Linux?
ICO is a Windows format. Mac uses ICNS files, and Linux uses PNG or SVG. If you need icons for multiple platforms, create your design once and convert it to each format separately.