Convert PNG to ICO
Turn a PNG logo into a multi-size ICO for your website’s favicon or a Windows icon, created in your browser without uploading.
- Free
- No sign-up
- No ads
An ICO file bundles several sizes of an icon so browsers and Windows can pick the one they need. The converter builds six sizes from your PNG, 16, 32, 48, 64, 128, and 256 pixels, into a single .ico file, right in your browser. Start with a square PNG of at least 256 × 256 pixels for the sharpest result.
How it works
- Choose a PNG, ideally square and at least 256 × 256 pixels, so the largest icon size stays sharp.
- Hit Convert, and your browser renders six sizes from 16 to 256 pixels and packs them into a single ICO file.
- Download the .ico and place it as favicon.ico in your site’s root folder, or use it as a Windows icon.
What happens to your file?
| Aspect | Result |
|---|---|
| Sizes included | 16, 32, 48, 64, 128, and 256 pixels, all in one file. |
| Storage format | Each size is stored as a 32-bit PNG with alpha inside the ICO, a method Windows has supported since Vista. |
| Transparency | Preserved in all six sizes. |
| Non-square images | The image is scaled to fit, centered, and padded with transparency, never stretched. |
| Scaling | Large sources are reduced step by step with high-quality smoothing. Smaller ones are enlarged and look soft in the bigger versions. |
When to convert, and when not to
Worth it
- You need a favicon that browsers also find when they look for /favicon.ico on their own, without a <link> tag.
- You want a multi-size icon for a Windows shortcut or your own desktop app.
Not needed, or better alternatives
- Modern browsers are fine with a PNG favicon declared via <link rel="icon">, and MDN notes that ICO files are used less and less for favicons.
- Pixel-perfect small sizes: Microsoft’s icon guidelines say simply scaling down from 256 × 256 doesn’t work for small icons, and no converter can replace hand-tuned 16 px artwork.
- Going back? ICO to PNG turns an icon file into a single PNG again.
Limitations
- Only PNG files are accepted as the source.
- You always get all six sizes; there’s no size picker.
- Every entry is PNG-compressed. According to MDN, very old software that only reads classic BMP icons may not display it.
- Microsoft’s guidelines, written for Windows 7, also call for 8-bit and 4-bit versions in app icons, which this converter doesn’t create.
Frequently asked questions
Which sizes are inside the ICO?
Six: 16 × 16, 32 × 32, 48 × 48, 64 × 64, 128 × 128, and 256 × 256 pixels. That covers the 16, 32, 48, and 256 px set Microsoft lists for application icons.
What if my PNG isn’t square?
It’s scaled to fit inside the square and centered. The leftover space stays transparent, so nothing gets distorted.
How do I add the icon to my website?
Upload it as favicon.ico to your site’s root, or reference it in the <head> with <link rel="icon" href="/favicon.ico">. Under the HTML standard, browsers may check /favicon.ico on their own when no such link exists.
What does Google require for a favicon?
Google Search Central asks for a square image of at least 8 × 8 pixels and recommends going larger than 48 × 48. ICO is one of the accepted formats.
Why does the 256 px version look blurry?
Your source was smaller than 256 pixels, so it had to be enlarged. Upscaling can’t add detail, so start from a bigger PNG.