Skip to content
Esc

ICO converter

File never leaves this browser

Drop a PNG, JPG or SVG and download a multi-size .ico with the squares you choose, from 16 to 256 pixels. Or drop an existing ICO and extract each image as a PNG. The work runs in this tab, so the file is never uploaded.

What do you want to do?
Sizes in the ICO

Each size is a square. A non-square image is fitted inside, with transparent padding, not stretched. Sizes under 256 are stored as 32-bit BMP; 256×256 is stored as PNG, which is what Windows expects for a large icon.

How to use it

  1. Drop a PNG, JPG, SVG, WebP or GIF, paste an image, or try the sample. To extract images, drop an ICO and switch to ICO to PNG.
  2. For a new ICO, choose the square sizes to include. A non-square source is fitted inside each square with transparent padding, not stretched. An SVG is drawn fresh at each size so the edges stay sharp.
  3. Download the .ico, or from an ICO download one PNG or all of them as a ZIP.

Details

Sizes
16, 24, 32, 48, 64, 128 and 256 pixels. 16, 32, 48, 64, 128 and 256 are selected to start with
How it is stored
Sizes under 256 are written as 32-bit BMP images with an alpha channel. 256×256 is stored as a PNG inside the ICO, which is the usual Windows form for a large icon
Fit
Each entry is a square. A rectangular image is scaled to fit and centred, with transparent padding in the leftover space
ICO to PNG
Every image in the file is listed, including 1-bit through 32-bit bitmaps and PNG payloads, and can be saved as PNG
Limits
Each file can be up to 20 MB, and a raster source can be up to 8,192 pixels on a side

Questions

Are my files uploaded?

No. The page loads its code once, then reads and processes your files inside the browser tab. Nothing is sent to a server; you can confirm it in your browser's network panel while a file is processed.

What is an ICO file?

An ICO is a Windows icon container that can hold several images at different sizes, so the same file can supply a 16-pixel favicon and a 256-pixel desktop icon. This page writes that container; it is not a renamed PNG.

Will the ICO work as a favicon?

Yes. Include 16 and 32 at least, and add 48 or 256 if you also want a sharper tile or desktop icon. Link it as a .ico, or use a PNG favicon if the site only needs one size. This page does not edit HTML.

Why is 256×256 stored as PNG?

Windows Vista and later expect the 256-pixel image in an ICO to be a PNG. Smaller sizes here are 32-bit BMP, which older Windows versions can still read. Both keep transparency.

Can I turn an ICO into a PNG?

Yes. Choose ICO to PNG, drop the .ico, and download one size or every size as a ZIP of PNG files. Cursor (.cur) files can be read the same way.

Does this convert PNG to ICO only, or other formats too?

PNG, JPG, SVG, WebP, GIF and BMP can all be turned into a multi-size ICO. SVG is redrawn at each size rather than enlarged from a bitmap, which keeps a logo sharp. The hard-to-rank 'png to ico' search is the same job, just starting from a PNG.

Is there an API?

No. This tool works with image files in the tab, and the MCP server on this site only accepts text and numbers, not files.