A Windows .ico file is not really a single image. It is a container that usually holds several versions of the same icon at different pixel sizes, so Windows can pick the sharpest one for wherever it is displayed. That structure is great for favicons and desktop icons but awkward everywhere else: most design tools, image viewers, and websites will not accept an ICO file, and even the ones that do often show the wrong, tiny frame buried inside it.
This tool unpacks the ICO container in your browser and converts it into a clean PNG. It reads the internal directory of frames, picks the largest and highest-quality one, decodes it, and exports a standard PNG image you can use anywhere. Everything runs locally on your device; the file never leaves your browser, there is no signup, and it works on mobile as well as desktop.
The result is lossless: if the best frame inside the ICO is already PNG-compressed (very common in modern icons), the pixels are copied through without any quality loss at all. This page explains how the ICO format works internally, what "best frame" means in practice, and how to get the most out of the conversion.
What Is Inside an ICO File?
An ICO file starts with a small header, followed by a directory listing every embedded image. Each directory entry records a frame's width, height, color depth, and byte offset. A typical favicon.ico from a website contains frames at 16 x 16, 32 x 32, and 48 x 48 pixels; a desktop application icon often adds 64 x 64, 128 x 128, and 256 x 256. Frames can be stored either as BMP data or as PNG data, and since Windows Vista the 256 x 256 frame is almost always PNG-compressed because it compresses far better.
This matters because different viewers behave differently. Some show only the 16 x 16 frame, which looks blurry the moment you enlarge it. Others pick the first frame in the directory regardless of size. When you extract with this tool, you get the largest frame by pixel dimensions, so a 256 x 256 source renders as a 256 x 256 PNG, ready for documentation, a website, a presentation slide, or an app store listing.
Frame sizes in a real-world favicon
| Frame | Size | Storage | Typical role |
|---|---|---|---|
| 1 | 16 x 16 | BMP | Browser tab, tiny UI spots |
| 2 | 32 x 32 | BMP | Taskbar, bookmarks bar |
| 3 | 48 x 48 | BMP | Desktop shortcuts at default settings |
| 4 | 256 x 256 | PNG | High-DPI displays, file explorer large icons |
This tool selects frame 4 in that example. If you specifically need the small 16 x 16 version as a separate PNG, an icon editor is the right tool; most everyday needs, though, are solved by the largest frame.
How to Convert ICO to PNG (Step by Step)
- Upload your .ico file by dragging it onto the upload area or clicking to browse. The tool reads the file header locally and counts the embedded frames.
- Review the displayed source dimensions. This shows the pixel size of the selected best frame, for example 256 x 256, so you know what you will get before converting.
- Click convert. The tool parses the ICO directory, picks the largest frame, decodes it, and renders it to a PNG canvas.
- Check the preview. Transparency in the icon is preserved, so rounded corners and cutouts stay transparent in the PNG.
- Download the PNG. The file name carries over, only the extension changes: logo.ico becomes logo.png.
Key Features
- Full ICO parsing: the tool reads the directory structure and understands both BMP and PNG-compressed frames, including the 256 x 256 entries most quick converters miss.
- Best-frame selection: you always get the largest, sharpest frame instead of a random or tiny one.
- Transparency preserved: ICO icons almost always have an alpha channel, and PNG keeps every transparent pixel intact.
- Lossless output: PNG encoding adds no artifacts, so the exported image matches the source pixels exactly.
- Local processing: conversion happens in your browser's memory. Sensitive app icons and internal project assets are never uploaded anywhere.
- Free, no signup: unlimited conversions with no watermark, on desktop and mobile.
Common Use Cases
- Extracting a favicon.ico from a website you administer so the logo can be reused in documentation, a README, or a press kit.
- Turning a legacy Windows application icon into a PNG for a wiki page, a blog post about the software, or a comparison article.
- Reusing a desktop icon in a slide deck, where PowerPoint and Keynote accept PNG but behave unpredictably with ICO files.
- Feeding an icon into a design workflow: Figma, Canva, and most asset pipelines import PNG, not ICO.
- Building a brand asset sheet where every logo variant needs to be a standard raster format.
- Converting installer icons or developer tool icons for use in GitHub repositories, where ICO files render inconsistently in markdown previews.
How the Extraction Works
The converter reads the 6-byte ICONDIR header to confirm the file type and frame count, then walks the 16-byte ICONDIRENTRY records that follow. For each entry it records the declared width and height (a stored value of 0 in either field means 256 pixels, a quirk of the format), the byte offset, and the data length. It then ranks frames by pixel area, decodes the winner with the browser's image decoder, and draws it onto a canvas sized exactly to the frame's dimensions.
A worked example: a favicon.ico contains frames of 16 x 16 (areas of 256 pixels), 32 x 32 (1,024), and 48 x 48 (2,304). The 48 x 48 frame wins, so the PNG output measures 48 x 48. If the same file also contained a 256 x 256 frame, that one wins instead with 65,536 pixels of area. The byte size of the output depends on content: a flat, single-color 48 x 48 icon typically encodes to 1 to 2 KB of PNG, while a detailed photographic-style 256 x 256 icon can reach 30 to 60 KB.
One edge case worth knowing: a handful of very old ICO files declare dimensions that do not match their actual bitmap data, and corrupted files can have truncated frames. If the best frame cannot be decoded, the tool falls back to the next-largest decodable frame and reports the dimensions it actually rendered.
Tips and Best Practices
- Check the output size before using the PNG as a large logo. If the best frame is only 32 x 32, enlarging it will blur; hunt for a higher-resolution source instead.
- Keep the ICO file itself for favicon use. A favicon needs multiple sizes inside one file, and a single PNG cannot replace it. Convert to PNG only when you need the image elsewhere.
- Do not re-compress the PNG into JPEG. Icons rely on transparency and hard edges, and JPEG adds visible ringing artifacts around sharp borders while destroying the alpha channel.
- If the extracted icon looks soft at your target size, apply a gentle upscale in a resampling tool rather than letting the viewer stretch it arbitrarily.
- For a full icon set, remember the ICO contains the smaller frames too; converting once gives you the best frame, and an icon editor can split out the rest if you truly need them.
ICO to PNG vs. Other Approaches
| Method | What you get | Catch |
|---|---|---|
| This tool | Largest frame as lossless PNG, in-browser | Single frame only, best-frame selection is automatic |
| Renaming .ico to .png | A broken file | ICO is a container; renaming does not convert anything |
| Desktop image editors | Often renders only the first or smallest frame | Results vary wildly between applications |
| Command-line tools (ImageMagick) | Full control, can extract every frame | Requires local installation and command-line knowledge |
For a quick, reliable, one-frame extraction this tool is the fastest path. For batch processing hundreds of icon files with per-frame control, a scripted command-line workflow scales better.