How to convert PNG to ICO
- Choose the PNG files (JPEG, WebP and SVG work too).
- Keep Format on ICO and tick the icon sizes you need.
- Select Convert to ICO.
- Download the .ico files, or all of them as a ZIP.
Worked example
logo.png becomes logo.ico with four PNG entries, 16, 32, 48 and 256 px, stored smallest first; the entry order and the way 256 px is recorded are checked in the converter's unit tests.
Formats and limits
| Input | PNG, JPEG, WebP, SVG |
|---|---|
| Output | ICO |
| Limits | Up to 50 MB and 50 megapixels per image; 200 images per batch. |
| Engine | Decoders: browser, UTIF (TIFF), libheif (HEIC). Encoders: MozJPEG, OxiPNG, libwebp, libavif (jSquash WASM), gifenc, UTIF; all in a Web Worker |
Limitations
- 256 px is the largest size an ICO entry can have.
- Entries are stored as PNG, which Windows Vista and later read.
- Up to 50 MB and 50 megapixels per image, 200 images per batch.
Questions
Which sizes should an ICO file have?
For a website favicon, 16, 32 and 48 px. For a Windows desktop or app icon, add 256 px. You can tick 16, 24, 32, 48, 64, 128 and 256.
What if my PNG is not square?
Each size is a square. A wider or taller image is centered on a transparent background, so nothing is cut off.
Do I need a full favicon set instead?
For an apple-touch-icon, web manifest icons and the HTML tags as well, use the favicon generator, which writes a favicon.ico along with them.
Privacy
Runs on your device. Files and text are processed in this browser tab and are not uploaded.
This page opens the Image format converter ready for this task. See the privacy policy for how toolsdocks handles data.