PNG to ICO Converter

Add a PNG and get a Windows icon file holding your picture at 16, 32, 48 and 256 pixels.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

How it works
  1. The PNG is scaled to each icon size
  2. The 256-pixel copy is packed as a PNG
  3. Every size goes into one .ico

What it does

Soft rims at every size

Each picture in the icon keeps how see-through every one of its pixels is, the small loose ones too, so a round logo's smooth edge stays smooth on any desktop color.

Limits Sizes come in fixed steps, 16, 24, 32, 48, 64, 96, 128 and 256 pixels; there's no box for typing in another size.

Why can an icon file weigh more than the PNG it came from?

Because it holds your picture four times over, and three of those copies aren't packed at all. Start from a big PNG, though, and the icon comes out lighter.

Where does the extra weight come from?

Our test icon, a star on a rounded square, was a 13.3 KB PNG. As an ICO it came to 28.4 KB, more than twice as much.

An ICO carries the same picture several times over, at 16, 32, 48 and 256 pixels unless you pick other sizes. Only the 256-pixel copy is packed, as a PNG of its own. The smaller ones are stored the plain old way: four bytes for every pixel, for blue, green, red and how see-through it is, with nothing squeezed. Think of a moving box with one big coat in a vacuum bag and three sweaters thrown in loose. The sweaters are smaller, but together they take more room than the coat.

The three small copies together outweigh the packed one

Your PNG

256 px 13.3 KB

The packed one

256 px 13.3 KB

The three small copies

In all 15.0 KB
48 px 9.6 KB
32 px 4.3 KB
16 px 1.1 KB

Size, KB

The rest of the file, 70 bytes, is the list of what's inside. How we measured

Leaving the small ones loose isn't carelessness. Microsoft's own icon guidance asks for exactly this: compress only the 256-pixel picture, to keep the file down, and leave the smaller ones as they are. And the packed copy loses nothing: the star's 256-pixel picture matched the PNG pixel for pixel.

So does every icon come out heavier than its PNG?

No. It turns on how big your PNG is, because nothing in the icon is larger than 256 pixels. Our star happened to be exactly that size already, so all of it went in, plus the three small copies. A NASA photo of the Earth with its background cut away, 1,280 pixels across and 2.9 MB as a PNG, came out as a 160.6 KB icon, about 18 times lighter, because every copy of it was shrunk on the way in.

That points to the PNG worth starting from: square, and at least 256 pixels on a side. A smaller PNG still works, but its 256-pixel copy has to be stretched up to size, and stretching only makes the pixels bigger and softer; it can't add detail.

Choosing which sizes go into the icon

The starting four suit a Windows program or a website. Fewer sizes make a lighter file.

  1. Add the PNG through Choose images.

  2. On a phone, tap the gear marked ICO to see the settings; a computer shows them beside the tool.

  3. Under Included sizes, just above More options, untick any size you don't need.

  4. Press Convert 1 to ICO.

  5. Download the .ico from the top of the tool.

What if the icon isn't for Windows?

A Mac keeps its app icons in a different kind of file.

The icon is for a Mac app or a macOS folder.

FluffyBench's PNG to ICNS converter

An ICNS is the Mac's own icon file, and it holds sizes the ICO doesn't, larger ones included.

Search FluffyBench