Skip to content

Convert ICO to PNG

An .ico is a bundle of the same picture at several sizes, and nothing but Windows and browsers will open it. Take the largest one out as a transparent PNG — for editing, for a document, for another site. Nothing stored.

  • Never stored
  • No queue, no waiting
  • No signup, no watermark

How it works

1

Add your .ico files

A favicon saved from a site, an icon pulled out of a program, a file a designer sent.

2

Convert

The largest image inside each icon is decoded and written as a PNG with its transparency kept.

3

Download

Singly or as a ZIP.

What is inside an .ico

An ICO is a tiny directory followed by several images, each a different size and colour depth: historically 16×16 and 32×32 at 16 or 256 colours, today usually 16, 32, 48 and 256 pixels with full 32-bit colour. The entries are stored either as Windows bitmaps with a separate transparency mask or — for anything 256 pixels and above, since Vista — as embedded PNGs. The decoder picks the largest entry and hands over its pixels with the mask applied, so the PNG you get is the best picture the file holds.

The alpha channel in an old icon is one bit — a pixel is either there or not — and the edges of a 16-colour icon from the nineties look exactly as jagged in the PNG as they did on screen. A modern icon carries a full 8-bit alpha and its edges come across soft. Nothing is smoothed or enlarged on the way; the PNG is the icon's own pixels.

A favicon downloaded from a website is sometimes not an ICO at all despite the name — many sites serve a PNG or an SVG as favicon.ico. The file is read by its contents, so those decode too; what comes out is simply the picture at its one size.

When you want something else

For every size in the icon rather than the largest, ImageMagick's magick in.ico out.png writes out-0.png, out-1.png and so on, one per entry, and icotool -x from icoutils does the same on Linux and lists what the file contains first. For icons inside a program, Resource Hacker on Windows or wrestool from icoutils extracts them.

If the icon was made from artwork you still have, go back to it: a 256-pixel PNG out of an icon is the end of the line for resolution, where the SVG or the original PNG can be rendered at any size.

Frequently asked questions

Which size comes out?

The largest the icon contains. A modern favicon or Windows icon carries 16, 32, 48 and often 256-pixel versions; the 256-pixel one is what you get, and the smaller ones — which are usually just reductions of it — are not extracted separately.

Is transparency kept?

Yes. Icons are almost always transparent around their shape, and the PNG keeps that alpha channel exactly.

Why is the PNG tiny and blurry when I enlarge it?

Because the icon only ever contained small pictures. An old favicon may hold nothing larger than 32 pixels, and no conversion can add detail that was never there. If you have the original artwork — an SVG or a large PNG — convert from that instead.

Can I go the other way?

Yes: the PNG to ICO tool builds a multi-size Windows icon, and the Favicon Generator makes the whole set a website needs.

Are my files stored anywhere?

No — nothing is stored at any point.

What about .cur cursor files and icon libraries?

A .cur is the same container with a hotspot and usually decodes too if renamed to .ico. An .icl library or an icon still inside an .exe is not an image file; extract it with an icon tool first.

Good to know: One image per icon — the largest — is extracted; the smaller sizes inside are not written out separately. Icons embedded in programs (.exe, .dll) must be extracted first.

Put this tool on your website

Free for any blog, class page or help article. Paste one snippet and your visitors can use it right on your page.