Extract Images from ICO, ICNS and CUR Files

An icon file holds the same picture at several sizes. Every one comes out here as a PNG.

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

Why does one icon file hold the same picture four times?

Windows doesn't stretch one picture to every size when the file has a closer one. It picks the stored picture that best fits the spot, so the small ones are worth taking out on their own.

One picture for every size Windows draws

Look at a folder in Windows and switch the view from Details to Large icons. The same program icon now shows at a different size, and if the icon file was made with care, neither one is a shrunk or stretched copy of the other.

An icon file works more like a set of rubber stamps than one stamp and a photocopier. The maker puts in a separate picture for each size the icon will be seen at, and Windows reaches for the one that fits.

Microsoft's own list gives the usual four. At normal scaling, 16 pixels square is the size in file lists and menus, 32 in the medium icons view, 48 on the desktop and in the large icons view, and 256 in the extra large view. Microsoft's advice is to include all four, because each picture can then be made for its size instead of losing detail when one is scaled.

Our test icon has all four:

The star icon as a coarse grid of large squares: the star is a pale smudge inside a dark disc.

16 × 16

The same icon with smaller squares: the star has points, with stepped edges.

32 × 32

The same icon again, the star's points sharper and its stepped edges finer.

48 × 48

The same icon with smooth edges: a pale star with a white dot on a dark disc, on a coral square with rounded corners.

256 × 256

The four pictures stored in our test icon, each drawn the same width so the squares are its pixels: 256 in the smallest, 65,536 in the largest. How we measured

At 16 pixels the star is little more than a smudge. That's the picture you see in a file list.

So if you want the icon for a small spot, a toolbar button or a favicon, take the stored small picture instead of shrinking the 256-pixel one yourself.

Saving the size you need

  1. Use Choose files to pick the icon. A Mac's .icns or a Windows .cur cursor is read the same way.

  2. Extract lays out every size the icon stores.

  3. Each tile is labelled with its size in pixels, smallest first. Press Download on the one you need.

    Tiles labelled 16 × 16, 32 × 32 and 48 × 48, each with the star icon and a Download link. The 16 × 16 Download is outlined.
    Tiles labelled 16 × 16, 32 × 32 and 48 × 48, each with the star icon and a Download link. The 16 × 16 Download is outlined.

Each PNG is named for its size and place, editorial-multi-size-16x16-1.png first. The 16, 32 and 48 pixel pictures were stored in the icon as old-style bitmaps and the 256 as a PNG; they all come out as PNGs, with any see-through parts kept.

With Take on One image per file you get just the largest picture, which is the right choice when you want the icon's artwork, not a particular size.

When you're making an icon, not taking one apart

You have a PNG and need an ICO with all four sizes

FluffyBench ICO converter

It builds the sizes from your picture and writes them into one icon file.

You're opening several kinds of file at once with One image per file

FluffyBench Image Extractor

Its page lists the one picture that choice keeps from each kind: the first page of a scan, the largest icon, the merged drawing.

For what a cursor keeps that a PNG can't, such as the point that does the clicking, see FluffyBench's CUR converter.

Search FluffyBench