About PNG to ICO Converter
A PNG logo is usually the best starting point for an icon, because its alpha channel already marks what is shape and what is background. This page packs that PNG into one .ico file holding four square sizes, 16, 32, 48 and 256 pixels: the ICO format carries several sizes in one file so that whatever shows the icon can take the one closest to the size it needs.
Soft edges and shadows keep their partial transparency in every size, so the icon sits cleanly on a light or a dark background. A PNG that is not square is centred on a transparent square without being cut, unless you choose Fill and crop.
How it works
- Your image is decoded by the browser, applying any rotation a camera stored. An SVG is kept as a drawing so each size is rendered from the vector shapes.
- Each chosen size is drawn on a transparent square and saved as a 32-bit PNG.
- The PNGs are packed into one ICO file: a 6-byte header, a 16-byte directory entry per size, smallest first, then the images themselves.
Questions
How large should my PNG be?
At least 256 × 256 pixels. Smaller sizes are made by shrinking it in halves, which keeps them smooth, but a PNG under 256 pixels has to be enlarged for the biggest icon and looks soft there.
Is the transparency of my PNG kept?
Yes. Each size inside the .ico is stored as a 32-bit PNG with its alpha channel, so transparent corners stay transparent and anti-aliased edges stay smooth.
Can I leave out the 256 pixel size?
Yes, untick it. The file gets noticeably smaller, which suits a website favicon, but anything that shows the icon larger than 48 pixels then has to enlarge the 48 pixel image, which looks soft.
Is my PNG uploaded?
No. It is decoded, resized and packed into the .ico in this browser tab, and nothing is sent anywhere.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.