ICO Converter
Turn a picture into one .ico file with the sizes you choose. Transparent areas stay transparent.
https://flxcode.com/ico-converter/
or drop one here, or paste with Ctrl+V
PNG, JPG, WebP, GIF, BMP or AVIF, up to 6.0 MB. It stays on this device.
Preview
Transparent areas stay transparent. Sizes above the picture's own size are enlarged, which looks soft. Nothing is uploaded, and the picture is not saved.
Your picture never leaves this device. There is no upload, no account and no watermark. How we count What this tool keeps and sends.
Problem or idea? Email us
Quick start
- Choose a picture. A square one with a transparent background works best.
- Pick Fit or Crop if it is not square, and tick the sizes. 16, 32, 48, 256 px are ticked at the start.
- Look at the preview of each size, then download the .ico.
What is inside the file
An .ico file is a header of 6 bytes, then 16 bytes for each size, then the images. Here are the four default sizes with made-up image lengths of 420, 900, 1500, 6200 bytes.
| Size | Width byte | Image length | Starts at byte |
|---|---|---|---|
| 16 px | 16 | 420 | 70 |
| 32 px | 32 | 900 | 490 |
| 48 px | 48 | 1500 | 1390 |
| 256 px | 0 | 6200 | 2890 |
The whole file is 9090 bytes. The width byte for 256 px is 0, because one byte cannot hold 256. Each image is stored as a PNG, so the alpha channel (the transparency) is kept.
Fit or crop
An icon is square. Take a picture of 600 x 300 px. Fit makes a 600 x 600 px square with the whole picture in the middle and 150 px of empty space above and below. Crop makes a 300 x 300 px square from the middle and drops 150 px on each side.
Limits
- Files up to 6.0 MB. Pictures over 16 megapixels are scaled down first.
- Sizes: 16, 24, 32, 48, 64, 128, 256 px. A size larger than the picture is enlarged and looks soft. The page tells you.
- PNG inside the .ico: Windows Vista and newer. Windows XP shows a blank for the 256 px entry.
- No SVG input. Export the SVG as a PNG first.
- It makes the .ico only. No HTML, no manifest, no Apple touch icon.
Privacy
The picture is processed on this device and not saved. We count events without cookies, such as "ico saved" (details). For a full set of site icons with the HTML, use the favicon generator.
FAQ
How do I convert a PNG to ICO?
Choose the PNG, tick the sizes you want in the file and press Download .ico. The transparent parts of the PNG stay transparent. The default is 16, 32, 48 and 256 px, which is what Windows asks for most.
Which sizes should an ICO file hold?
For a website favicon, 16, 32 and 48 px are enough. For a Windows program or a shortcut, add 256 px so large icon views look sharp. One file can hold all seven sizes, and Windows picks the closest one.
Can I convert an SVG to ICO here?
Not directly. This page opens PNG, JPG, WebP, GIF, BMP and AVIF pictures. Export the SVG as a PNG first, for example with the SVG to PNG converter, then use that PNG here.
Can I make a Windows cursor too?
Not here. A cursor is a .cur file with a hotspot. Use PNG to CUR for that.
Will the 256 px icon work on Windows XP?
No. The images inside the .ico are PNG files, which Windows Vista and newer read. Windows XP shows a blank for the 256 px entry. Every current browser and Windows version is fine.
Do I need the HTML and the manifest too?
Not for this page. It only makes the .ico file. For the HTML lines, an Apple touch icon and a web manifest, use the favicon generator.
More from FLXCode
- Favicon GeneratorMake favicon.ico (16, 32, 48), Apple touch, 192 and 512 icons, a manifest and the HTML for them. In your browser.
- SVG to PNG ConverterTurn an SVG file or code into a PNG at the size you choose, transparent or on a color. Runs in your browser.
- PNG to JPG ConverterConvert PNG images to smaller JPG files in your browser. Choose the quality. Nothing is uploaded.
- JPG to PNG ConverterConvert JPG photos to PNG in your browser. Upright, no upload, batch and zip.