Convert PNG to ICO
Convert PNG to ICO and get one favicon.ico with four sizes inside, from 16 to 256 px, with the transparency of your PNG kept. The conversion runs in your browser, so the PNG stays on your device.
- ⚡ Super fast
- 🔒 No upload
- 🎁 Free, no sign-up
How to convert PNG to ICO
Choose your PNG file, up to 100 MB.
Keep Transparent background on to keep the see-through parts of the PNG.
Select Create favicon pack.
Download favicon.ico on its own, or select Download all as ZIP for the ICO with the PNG icons, manifest and HTML snippet.
What is the difference between ICO and PNG?
A PNG holds one image at one size. An ICO is a container that can hold several images of different sizes in one file, so a browser or Windows can pick the size it needs. The images inside a modern ICO can themselves be PNGs, which is how this PNG to ICO converter builds the file.
Each of the four sizes is drawn separately from your original PNG and stored as a PNG image inside the ICO, so the transparent parts stay transparent.
Not every program reads ICO files with PNG images inside. The GIMP documentation notes this for compressed icons. Browsers and Windows do, and those are the places a favicon.ico is used.
Sizes inside the ICO file
The ICO always contains the same four sizes. You cannot add or remove sizes, which keeps the file predictable: every browser that asks for favicon.ico finds a size close to what it needs.
| Size in the ICO | Typical use |
|---|---|
| 16 x 16 px | Browser tab on a standard screen, bookmarks |
| 32 x 32 px | Browser tab on a high-resolution screen |
| 48 x 48 px | Larger tab and shortcut icons |
| 256 x 256 px | The largest size, so Windows only has to scale down |
Convert PNG to ICO with a transparent background
Transparent background is on when the page opens, so every see-through pixel in your PNG stays see-through in all four sizes. Soft edges and shadows keep their partial transparency too, because the images inside the ICO are 32-bit.
The extra space around a PNG that is not square is transparent as well. With Transparent background switched off, that space and any transparent parts of the PNG are filled with the Background colour instead.
The default padding of 8 percent leaves a small margin around the image. For an icon that already has its own margin, set Padding (%) to 0 so it fills the square.
PNG to ICO for a website or a Windows app
A PNG to favicon conversion is the usual reason to make an ICO, but ICO is also the icon format of Windows apps. The same file can serve both, as long as you know which sizes each one expects.
Microsoft's guidelines for Windows app icons ask for at least 16, 24, 32, 48 and 256 px. This ICO has all of those except 24 px. Microsoft also notes that with a 256 px size included, Windows should only ever have to scale the icon down, never up.
- For a website, put favicon.ico in the root folder and link it with the HTML snippet from the ZIP.
- For a Windows app, check whether your build tool asks for a 24 px size, which this ICO does not have.
- For both, start from a PNG of at least 256 px so the largest size is not enlarged.
Getting the best PNG to ICO result
The quality of the ICO depends on the PNG you start with. A few checks before you convert save a second try.
- Use a square PNG, so the icon fills the square.
- Trim empty transparent space around the artwork first, or the icon looks small.
- Save the PNG with a real transparent background, not a white or checkered one.
- Look at the 16 px preview in the result list before you download.
Your files stay with you
Most online tools upload your files to their servers. This one does not. It runs inside your browser, so your files never leave your device.
More ways to use this tool
PNG to ICO FAQ
Can ICO files be transparent?
Yes. The ICO from this converter stores each size as a 32-bit PNG, so full and partial transparency from your PNG is kept in every size.
Can I convert PNG to ICO online without uploading the file?
Yes. The PNG to ICO conversion runs in your browser, and the file is never sent to a server.
Is favicon.ico the same as a PNG to ICO file?
Yes. favicon.ico is an ordinary ICO file with a fixed name, so browsers find it in the root folder. The converter names the file favicon.ico for you.
Can I convert several PNG files to ICO at once?
No. The converter takes one PNG at a time. Choose the next file when the first ICO is downloaded.
Do I also get a 256 px PNG?
No. The 256 px size is only stored inside the ICO. The separate PNG icons are 16, 32, 48, 180, 192 and 512 px.
Can I convert ICO back to PNG?
No, this tool only goes from an image to ICO. It does not open ICO files.