Drop PNG images hereAdd PNG images
Turn a PNG logo into a favicon.ico or a Windows icon, transparency included.
or paste with CtrlCommandV JPG, PNG, WebP, AVIF, GIF or BMP
Your files never leave your deviceAbout this tool
PNG to ICO converter for favicons and Windows icons
Convert a PNG to ICO for a favicon.ico or a Windows icon that holds 16, 32, 48 and 256 px in one file, as far as your image allows. Transparency is kept, and a logo that isn’t square is centred on a clear background, never cropped. Our 512 px test logo became a 30.4 KB icon.
What a favicon needs from your PNG
An ICO holds several square sizes in one file, and each place that shows your icon picks the closest: a browser tab, a bookmark, a search result, a Windows shortcut. ToolHero writes 16, 32, 48 and 256 px, the sizes Windows Vista and 7 shipped with. Google Search asks for a square favicon of at least 8 px and recommends more than 48.
Start from the biggest, sharpest PNG you have. Every size is scaled down from your image, never from another icon size. Sizes bigger than your PNG are left out rather than blown up, except 16 and 32, which a small logo is enlarged to, at most twice its size.
Transparent edges at 16 pixels
Your PNG’s alpha channel carries over into every size, soft edges included, so the icon sits cleanly on a light tab and a dark one. The resizing works on premultiplied colour, which keeps dark fringes from creeping in around the shape.
Detail is the hard part. A 512 px logo shrinks 32 times to make the 16 px icon, so hairlines and small lettering vanish. Logos built from one bold shape survive best; if yours has a wordmark, try the symbol on its own.
Putting favicon.ico on your site
Name the file favicon.ico and put it in the top folder of your site. Browsers have looked for it there since Internet Explorer 5 in 1999, and all of them still do. To say so explicitly, add one line to the head of your pages:
<link rel="icon" href="/favicon.ico">Why convert PNG to ICO?
How it works
-
Step 1:Add your PNG
Drop in a logo or an icon, ideally 256 px or larger, with a transparent background if it has one.
-
Step 2:Convert
ICO is already picked. Press Convert and each PNG becomes one icon holding every size it allows.
-
Step 3:Save it as favicon.ico
Download the icon. For a website, name it favicon.ico and put it in the site’s top folder.
PNG vs ICO at a glance
How the two formats compare, so you know what to expect.
PNG
Your filesA lossless format that keeps every pixel exactly. Great for screenshots, logos and anything with text or sharp edges.
Best for Screenshots, logos, diagrams, cut-outs with transparency, and master copies you will edit again.
ICO
What you getA small file of square pictures at several sizes, so Windows and browsers can show the sharpest one wherever the icon appears.
Best for Website favicons, and the icons of Windows programs and shortcuts.
| PNG | ICO | |
|---|---|---|
| Compression | Lossless | Lossless (bitmaps and PNG) |
| Transparency | Yes | Yes |
| Animation | Rarely (APNG) | No |
| Photo file size | Often 3–5× a JPG | Small: 256 px at most |
| Opens in | Everywhere | Every major browser and Windows |
Questions, answered
Which sizes end up in my favicon.ico?
Up to four: 16, 32, 48 and 256 px. Sizes larger than your PNG’s longer side are left out. 16 and 32 are the exception: a smaller logo is enlarged to reach them, but never past twice its size. A 512 px logo gets all four.
Does the see-through background survive?
Yes. Every size keeps your PNG’s alpha channel, soft edges included, and the space added around a logo that isn’t square is transparent too.
My logo is wider than it is tall. Will it be cropped?
No. It’s scaled to fit the square and centred, with clear space above and below. To fill the square instead, crop the PNG to 1:1 before converting.
Do I still need a favicon.ico if my site links PNG icons?
Modern browsers use the icons you link. A favicon.ico in your site’s top folder still works everywhere without any link, which makes it a safe fallback.
How small can my PNG be?
8 px on its longer side, which is enough for a 16 px icon. That is also the minimum Google Search accepts, though it recommends more than 48 px.
Is my logo sent anywhere to be turned into an icon?
No. Your browser resizes the PNG and packs the icon itself, on your device. Nothing is sent to a server.
Related conversions
Favicons and Windows icons.To ICO · 16–256 px
Convert to
Icon sizes
16, 32, 48 and 256 px as far as each image allows, padded to a square, never cropped.