How to Make an ICO File: Formats, Tools, and What Affects the Result
An ICO file is the standard file format used for icons on Windows — for application shortcuts, folder icons, executable files, and browser favicons. If you've ever wanted to create a custom icon for a project, brand a desktop shortcut, or generate a favicon for a website, understanding how ICO files work and how to make one properly can save you from compatibility headaches later.
What Is an ICO File, Exactly?
Unlike a JPEG or PNG, an ICO file isn't a single image — it's a container format that can hold multiple image sizes and color depths within one file. When Windows (or a browser) needs to display your icon, it pulls the most appropriate size from the container based on where and how the icon is being rendered.
Common sizes bundled inside a well-formed ICO file include:
| Size (pixels) | Typical Use |
|---|---|
| 16×16 | Taskbar, small menus |
| 32×32 | Desktop shortcut icons |
| 48×48 | Windows Explorer (medium view) |
| 64×64 | Larger display contexts |
| 128×128 | High-DPI and macOS compatibility |
| 256×256 | Windows Vista and later, HD displays |
This multi-resolution structure is why you can't simply rename a PNG to .ico and expect it to work correctly across all contexts.
The Basic Process for Creating an ICO File
Regardless of which tool you use, the workflow follows a similar path:
- Start with a high-resolution source image — typically a PNG with a transparent background, at least 256×256 pixels.
- Resize or generate multiple sizes from that source image.
- Export or convert the image(s) into the ICO container format.
The quality of your final icon depends significantly on how step 2 is handled. Poor downscaling algorithms produce blurry 16×16 and 32×32 sizes — which are often the most visible versions.
Methods for Making an ICO File
🖥️ Using Dedicated Icon Editors
Software like IcoFX, Greenfish Icon Editor Pro, or Axialis IconWorkshop is purpose-built for ICO creation. These tools let you:
- Import a high-res source image
- Automatically generate all standard sizes
- Manually edit each size independently (important for small sizes where auto-scaling looks poor)
- Set color depth per size (1-bit, 4-bit, 8-bit, 24-bit, 32-bit with alpha)
Manual pixel editing at 16×16 and 32×32 is a meaningful differentiator for professional-quality icons. At small sizes, a human-tweaked version almost always looks sharper than an auto-scaled one.
Online ICO Converters
Web-based tools like favicon.io, convertico.com, and icoconvert.com let you upload a PNG and download an ICO file without installing anything. These are quick and practical for simple use cases — particularly favicon generation for websites.
Limitations to be aware of:
- Most online tools generate only one or two sizes
- You have less control over color depth settings
- Quality of downscaling varies between services
- Large or complex source images may produce inconsistent results
For a website favicon, an online converter is often perfectly adequate. For an application icon that needs to render cleanly across all Windows display sizes, dedicated software typically gives better results.
Using GIMP (Free, Desktop)
GIMP supports ICO export natively. The process:
- Create or open your source image
- Use File > Export As, then name the file with a
.icoextension - GIMP will prompt you to select which sizes to include and the color depth for each
GIMP gives more control than online converters but less than purpose-built icon editors. It's a solid middle ground if you already use GIMP for other work.
Using Photoshop with a Plugin
Adobe Photoshop doesn't natively export ICO files, but the free ICO (Windows Icon) plugin from telegraphics.com.au adds that capability. Once installed, you can export directly from Photoshop — useful if your source artwork already lives in a PSD file.
Command-Line and Developer Tools 🛠️
For developers working in automated pipelines, tools like ImageMagick can generate ICO files from the command line:
convert source.png -define icon:auto-resize=256,128,64,48,32,16 output.ico This approach integrates cleanly into build scripts and CI/CD workflows, and ImageMagick's resizing quality is generally reliable.
Color Depth and Transparency: What Actually Matters
Modern ICO files almost universally use 32-bit color with full alpha transparency for sizes 32×32 and above. This allows smooth edges and semi-transparent pixels, which look correct on any desktop background color.
For the 16×16 size, some tools still default to 8-bit (256 colors) with 1-bit transparency — meaning pixels are either fully transparent or fully opaque. On modern Windows this is largely a non-issue, but it can matter if you need backward compatibility with older systems.
If your icon has fine detail, gradients, or anti-aliased edges, 32-bit color depth is the right choice for every included size.
Favicon ICO Files vs. Application Icons
These share the same format but have different practical requirements:
- Favicons typically need just 16×16 and 32×32. Modern browsers also accept PNG and SVG for favicons, so ICO is increasingly optional for web use — though it remains the most universally compatible choice for the browser address bar.
- Windows application icons benefit from the full range of sizes, particularly 256×256 for Explorer thumbnail views and high-DPI displays.
- Custom folder or shortcut icons usually work fine with a single 256×256 32-bit image inside the ICO container.
Variables That Shape Your Approach
How you should make your ICO file depends on factors specific to your situation:
- Your source artwork — is it vector-based, raster, does it have fine detail that degrades at small sizes?
- Your intended use — favicon only, Windows application, custom desktop shortcut?
- The range of Windows versions you need to support — older systems have different rendering behavior
- Your existing tools — whether you already use GIMP, Photoshop, or a development pipeline changes which method is most practical
- How much control you need over each size — a brand icon for a commercial application warrants more care than a quick personal project
The right method and the right set of bundled sizes look different depending on which of those factors apply to your specific situation.