Skip to main content

ICO to PNG

Drop your ICO files here or click to browse

100% in-browser. Your files never leave your device.

An .ico file is a small container that can hold the same icon at several sizes. This ICO to PNG converter reads that container in your browser, picks the largest image inside, often 256×256, and saves it as a PNG with its transparency intact.

What is inside an ICO file

An ICO starts with a directory listing each image it holds: its width, height, colour depth and where its bytes begin. A favicon.ico commonly carries 16×16, 32×32 and 48×48 versions, and Windows application icons add a 256×256 one. Smaller entries are usually stored as BMP bitmaps with a separate 1-bit transparency mask; the 256×256 entry is usually a complete PNG file embedded as is, because PNG is far smaller at that size.

The arithmetic shows why. A single 32×32 entry at 32 bits per pixel needs 4,096 bytes of colour data, a 40-byte bitmap header and a 128-byte mask, so an icon holding only that entry weighs 4,286 bytes with its directory. Add 16 and 48 px bitmaps and the three entries come to 15,086 bytes; a 256 px bitmap on its own would need over 260,000, while the same icon stored as PNG usually takes a few KB to a few tens of KB.

① The converter reads the ICO’s list of images itself, because browsers show only one of them. ② The largest entry becomes the PNG: a PNG entry is copied byte for byte, an older BMP entry is decoded with its transparency mask and encoded to PNG.

Why the tool reads the file itself

When a browser shows an .ico in an image tag, it chooses which entry to display, and that choice is not guaranteed to be the largest. Converting through that path can leave you with a 32×32 PNG from an icon that also contained a 256×256 version. So this page parses the ICO directory directly and selects the entry with the most pixels, using colour depth to break ties.

If that entry is a PNG, its bytes are copied out unchanged: an embedded PNG of 9,000 bytes comes out as a 9,000-byte PNG, with no re-encoding. If it is a bitmap, the tool decodes the 32, 24, 8, 4 or 1-bit pixel data, applies the transparency mask and writes a PNG from those pixels. The directory’s size field cannot express anything above 256, so dimensions are read from the embedded image’s own header, which means a 500×500 PNG inside an ICO is exported at its real 500×500.

Typical uses

Recovering a usable logo from an old site’s favicon.ico when the original artwork is gone; pulling an application icon into a slide, document or README; turning a Windows .ico into a PNG for a web app manifest, which expects PNG icons such as 192×192 and 512×512; or checking what a favicon actually contains before replacing it. If the largest entry is small, say 32×32, the PNG will be small too. Enlarging it in an editor adds blur rather than detail, so for a sharp large logo you need the original artwork.

Processed in the tab, never uploaded

The ICO is read into your browser’s memory, parsed and turned into a PNG there; no server receives the file. Each icon converts on its own, up to 30 files per drop at 50 MB each, and the results download one by one or together as a ZIP. A file with an .ico name that actually holds a PNG or JPEG (it happens with favicons saved from websites) is still converted, through the browser’s own decoder.

How to convert ICO to PNG

  1. Add your files

    Drag and drop your ICO files, or click to pick them from your device.

  2. Convert to PNG

    Adjust the settings if you need to, then start the conversion.

  3. Download

    Save your PNG files one by one or all at once.

Frequently asked questions

Which size does the PNG come out at?
The largest one stored in the ICO, judged by width times height. For most modern favicons and Windows icons that is 256×256; older favicons may top out at 32×32 or 48×48.
Is transparency kept?
Yes. PNG entries keep their alpha channel exactly, and bitmap entries get theirs from the 32-bit alpha data or, in older icons, from the 1-bit mask, so the background stays transparent instead of turning black or white.
Can I get every size as a separate PNG?
Not at the moment: each ICO produces one PNG, from the largest entry. The smaller sizes in a favicon are usually scaled-down copies of the same artwork, so the largest is the one worth keeping.
Why is my PNG blurry when I enlarge it?
Because the icon only contained small images. A 32×32 icon has 1,024 pixels in total; enlarging it to 512×512 means inventing the rest. Look for the original logo file, or for the site’s apple-touch-icon, which is usually a 180×180 PNG.
Does it handle icons made by old Windows tools?
Yes. Bitmap entries at 1, 4, 8, 24 and 32 bits per pixel are decoded, including 32-bit icons whose alpha channel is empty, where the 1-bit mask is used instead. Rare compressed bitmap variants are reported as an error rather than converted wrongly.
What if the .ico file is really a PNG?
Some sites serve a plain PNG under the name favicon.ico. The tool reads the file’s first bytes, and when it finds a PNG or another image your browser can decode instead of an icon directory, it converts that image directly, so you still get a PNG.