PNG to ICO Converter

Convert a PNG into a real multi-resolution Windows .ico file with 16, 32, 48 and 256 px icons.

Drag & drop a PNG here, or click to browse

JPG, WebP and GIF work too. Square images of at least 256×256 px give the best results. No uploads — your file stays on your device.

No uploads. Your files stay on your device.

Free forever, no sign-up, no cookies. Buy me a coffee

How it works

Drop a PNG and this tool writes a real multi-resolution Windows .ico file in your browser — no upload, no server, no queue. Each selected size is rendered with the Canvas API (non-square images are center-cropped first, and big images are downscaled in halving steps so the 16×16 icon stays crisp), then packed into the ICO container by hand: sizes up to 64 px are stored as 32-bit BGRA bitmaps, which is what Windows Explorer and older browsers expect, while 128 and 256 px are stored as PNG to keep the file small.

Transparency is preserved for every size. A classic favicon.ico contains 16, 32 and 48 px — that is the default here; add 256 px if the icon also needs to look good as a Windows desktop or taskbar shortcut.

Frequently asked questions

How do I convert a PNG to an ICO file?

Drop your PNG on the box above, tick the icon sizes you want (16, 32 and 48 px are selected by default) and click "Download .ico". The converter runs entirely in your browser, so the image is never uploaded to a server, and the finished file is named after your PNG — logo.png becomes logo.ico.

Which sizes should a favicon.ico contain?

A classic favicon.ico holds 16, 32 and 48 px in a single file, and browsers pick the size they need. Add 256 px if the same icon will be used for a Windows desktop or taskbar shortcut, and 64 or 128 px only if you specifically need them — every extra size makes the file bigger.

Does converting PNG to ICO keep transparency?

Yes. Every size is stored with a full 8-bit alpha channel — 32-bit BGRA bitmaps for the small sizes and PNG data for 128 and 256 px — so transparent PNG backgrounds stay transparent in the .ico. The checkerboard behind each preview shows you exactly which pixels are see-through.

Report a bug