When you need an ICO file
Plenty of places accept PNG icons today, but ICO is still the format two jobs depend on:
- Website favicons. Browsers look for a
favicon.icofile in the root folder of a site. Some site builders, hosting panels and older content management systems also accept only .ico in their favicon field. - Windows icons. To change the icon of a desktop shortcut, a folder or a program you wrote, Windows asks for an .ico file.
Typical cases:
- using the PNG logo your designer sent as the favicon in WordPress, Wix or another panel;
- giving a folder or shortcut your own picture as its icon;
- adding a multi-size icon to an app you're building.
Choosing the sizes
Because an ICO file carries several sizes at once, there's no single "right size" — the real question is where the icon will appear.
| Option | Sizes inside | Where it's used |
|---|---|---|
| Favicon | 16, 32, 48 px | Browser tabs, bookmarks, address bar |
| Windows app icon | 16, 24, 32, 48, 256 px | Desktop, taskbar, File Explorer |
| Every size | Seven sizes from 16 to 256 px | When you don't know where it will be used |
| One size | The single size you pick | Older programs that expect one size |
Extra sizes make the file larger but barely affect page speed: the browser downloads the favicon once and keeps it. For a website, the "Favicon" option is still enough.
For a sharper icon
- Start big. Use an image that is at least 256 × 256 px; enlarging a small image makes it blurry. If your logo is an SVG, first get a 512 px PNG with SVG to PNG.
- Keep it simple. Thin text and tiny details disappear at 16 px. Using just the symbol or the first letter of your logo usually looks better.
- Make it square. A wide logo turns into a thin strip in a small icon. Prepare a square image first with Crop image or Make image square.
- Clear the background. A logo in a white box stands out badly on a dark browser theme. Make background transparent removes the white; for a round icon, use Circle crop image.
Adding the favicon to your site
Rename the downloaded file to favicon.ico and upload it to the root folder of your site; most browsers find it on their own. If you use a site builder, look in the settings for a field called "Site icon" or "Favicon" and upload the file there. If the change doesn't show up straight away, the browser may be holding on to the old icon: open the page in a new private window. Step-by-step paths for WordPress, Wix, Blogger and Shopify are in How to add a favicon to your website.
If something goes wrong
"This image couldn't be opened." The file may be damaged, or it may be a different kind of file saved with a .png name. Try opening it in an image viewer on your computer first.
The icon looks blurry. The source image is small or very detailed. Try again with a larger, simpler picture.
There's empty space around the icon. Your image probably has transparent or white margins. Trim them first with Crop image, then convert again.