Image Tools· 4 min read

PNG to ICO: Build Multi-Resolution Favicons in Your Browser

You will learn how to convert a PNG into a proper multi-size ICO file by writing the binary format directly in-browser, with no uploads and no server processing.

By EasyFileKit Team Last updated: 2026-08-15

Why this matters

Every website needs a favicon — the tiny icon that appears in browser tabs, bookmarks, and home screens. Modern best practice is to supply a single PNG and let the browser handle resizing via the `sizes` attribute, but legacy contexts still require the ICO format. Windows applications expect `.ico` files for executable and shortcut icons. Older browsers like Internet Explorer and some enterprise environments only recognize ICO. If you are building a site, a desktop app, or anything that needs to display correctly across all platforms, you will eventually need to generate an ICO file from your source PNG.

This tool constructs the ICO binary format directly in your browser using JavaScript typed arrays — it does not upload your image to a server and it does not call an external API. The multi-resolution mode bundles four sizes (16, 32, 48, and 64 pixels) into a single `.ico` file, each rendered with high-quality smoothing from your source PNG. This is exactly the size set that Windows, browsers, and Android use for their icon displays. You can also choose a single fixed size if you have a specific requirement. The entire process takes under a second on a modern device.

ICO format details

FeatureMulti-resolution modeSingle-size mode
Bundled sizes16, 32, 48, 64 pxOne user-chosen size
SmoothingHigh-quality downscalingHigh-quality downscaling
TransparencyPreserved (ICO supports alpha)Preserved
File constructionTyped arrays in-browserTyped arrays in-browser
Recommended source256x256 PNG or largerAny square PNG

How to use it

Drop a square PNG onto the upload zone — 256 by 256 pixels or larger is recommended for the best quality at all sizes.

Choose multi-resolution mode (recommended for favicons and Windows apps) or select a single fixed size.

Click Build ICO and download — the binary is constructed locally and saved directly to your device.

Testing your result

After downloading the ICO file, set it as your favicon by adding a a link tag (rel=icon, href=favicon.ico) tag to your HTML head. Open your site in multiple browsers — Chrome, Firefox, Safari, and Edge — and verify the icon appears correctly in the tab. On Windows, right-click a shortcut to your site or app, select Properties, and confirm the icon renders at all available sizes without pixelation. If you used multi-resolution mode, the file should be noticeably larger than a single-size version because it contains four embedded images. Check the file size: a typical multi-resolution ICO from a 256-pixel source PNG is roughly 50 to 150 KB depending on complexity.

Common mistakes

Using a non-square PNG as input, which produces stretched or distorted icons at non-matching aspect ratios.

Supplying a source PNG smaller than 64 pixels, which means the larger ICO sizes will be upscaled and look blurry.

Expecting the ICO to contain a 256-pixel version; the tool caps at 64 pixels to keep file size reasonable for web delivery.

Edge cases and limitations

The ICO format technically supports 256-pixel images, but encoding them inline significantly bloats the file size. The tool caps at 64 pixels and recommends shipping a separate PNG for larger icon needs using the the link rel icon sizes 256x256 pattern pattern. Non-square inputs are not rejected but will produce distorted results — the tool expects square source images. Animated PNGs will have only their first frame captured. Very large source files (above 10 MB) may be slow to process because the entire image must be decoded and re-encoded for each target size.

Real-world use cases

A web developer creating favicon.ico for a new site from a designer's 512-pixel PNG export.

A Windows application developer generating the `.ico` file needed for executable and shortcut icons.

A freelancer delivering favicon assets to a client without installing any desktop software.

Frequently asked questions

Q: What sizes are bundled in multi-resolution mode?

A: 16, 32, 48 and 64 px — the standard set used by Windows, browsers and Android. Each size is rendered with high-quality smoothing from the source PNG.


Q: Does it support 256px icons?

A: The ICO format supports 256px but encoding it inline can bloat the file. We cap at 64px; for 256px favicons, ship a PNG and let browsers pick via the link rel icon sizes attribute.


Q: Is my image uploaded?

A: No. The ICO binary is constructed in your browser using typed arrays. Nothing leaves your device.


Q: Can I use this for a Windows app icon?

A: Yes — multi-resolution .ico files are exactly what Windows expects for executable and shortcut icons.


Q: What if my source PNG is not square?

A: The tool expects square inputs. Non-square PNGs will produce stretched icons — crop or pad your source image to a square first.

Start using it now

Generate multi-resolution ICO files directly in your browser with the PNG to ICO tool. For a full favicon generation workflow, try the Favicon Generator. Resize your source image first with the Image Resizer, or convert from other formats using the Image Converter. If you need to create a PNG from a vector source, start with SVG to PNG.

Need help using this tool?

Read our complete PNG to ICO tutorial for step-by-step guidance.

Ready to try the tool?

No accounts. No uploads. No limits. Start now.