ICNS to PNG Converter

Pull the largest icon out of an ICNS file as a PNG, right in your browser.

or drop files here

IC

ICNS Format

Apple icon image

A package of raster icon representations used by macOS.

  • Can contain several icon sizes
  • Standard and high-resolution artwork
  • Application icon resources
PN

PNG Format

Portable Network Graphics

A losslessly compressed picture format with optional transparency.

  • Raster image data
  • Several color modes
  • Alpha can represent transparent edges

How to convert ICNS to PNG

Follow these steps to convert ICNS to PNG online.

    1

    Choose your ICNS file, or several at once.

    2

    Wait while the converter turns each file into PNG.

    3

    Download each new PNG file. Your original file isn't changed.

What to know before converting ICNS to PNG

  • You get one PNG: the largest PNG icon in the ICNS, up to 1024 pixels, not every size.
  • The icon is copied at its stored size and is not scaled.
  • Transparent corners and soft shadows stay transparent.
  • An ICNS that holds only older JPEG 2000 or bitmap icons fails with a "no PNG icon images" message.
  • Choose several ICNS files and each gives its own PNG.

About ICNS and PNG files

What is an ICNS file?

ICNS is the icon format of macOS. One file packages an app's icon artwork and can supply standard and high-resolution versions of each icon. Apple documents paired icon sizes from 16 through 512 points, and the high-resolution version of the 512-point icon is a 1024-pixel image.

Apple's iconutil tool converts a folder of PNG files called an iconset into an ICNS file, compressing the result, and it can unpack an ICNS back into an iconset. The file names in an iconset are in points, and an @2x name doubles the pixels. Apple's guide says an iconset has no 1024-pixel size of its own, because that image is the @2x version of the 512-point icon. Older ICNS files can store icons as JPEG 2000 or bitmap data instead of PNG.

Because the sizes live in one file, an ICNS is where you look when you need an app's icon as an ordinary picture, for a website, a slide or a design mockup. PNG is the practical target for that, since every browser, editor and upload form accepts it and it keeps the icon's transparent corners.

Programs that open ICNS files

Windows

  • GIMP: it opens ICNS files through the Apple Icon Image plug-in.

Mac

  • iconutil: Apple's command-line tool, which extracts an ICNS to an iconset or builds one from an iconset.

Linux

  • XnView MP: the vendor's supported-formats list includes Macintosh ICNS images.

ICNS and PNG compared

  • Extensions and media types: .icns for ICNS; .png and image/png for PNG.
  • What a file holds: an ICNS holds several icon pictures. A PNG holds one.
  • Compression: PNG is always lossless. In a modern ICNS each icon is itself stored as PNG data.
  • Transparency: both have an alpha channel.
  • Color depth: PNG allows 8 or 16 bits per channel. The converter passes the icon through 8-bit RGBA.
  • Metadata: the PNG carries nothing over from the ICNS.

What changes in this conversion is the choice of one picture. The page reads the ICNS, takes the largest icon stored as PNG data (1024, 512, 256, 128, 64, 32, then 16 pixels) and re-saves it as a PNG at the same pixel size. The other sizes stay behind in the ICNS.

If you need every size, the iconutil method below writes each one to its own PNG. If you need one particular size that is not the largest, Pillow can load it when you set the size before opening the file. A file with only small icons gives a small PNG, and enlarging it later adds pixels but no detail.

Other ways to convert ICNS to PNG

  • Apple iconutil (Mac): run iconutil -c iconset input.icns, then use the PNG files in the iconset folder it writes. This gives every size, not one.
  • Pillow (Python): import Image from PIL, load the file with Image.open("input.icns") and call save("output.png") on it. Pillow reads the largest icon by default, and setting its size property before loading selects another.
  • XnConvert: open the Input tab, add the ICNS, set PNG on the Output tab and press Convert. The Action tab stays unused for a plain conversion. XnView's format list marks ICNS as read only, which is fine for an input.

Problems with ICNS files

  • "This ICNS file has no PNG icon images": the file stores only older JPEG 2000 or bitmap icons, which this converter does not read. Open it in a desktop program that supports ICNS instead.
  • "This isn't an ICNS file": the file's first bytes are not an ICNS header, often because another format was renamed to .icns. Check where the file came from.
  • The PNG is small or soft: the largest stored icon was small. Look for a bigger icon in a newer copy of the app, or redraw it from the source art.
  • iconutil refuses to build an ICNS: each PNG's pixel dimensions must match its iconset file name.
  • You chose several ICNS files: each one is converted on its own and downloads as its own PNG. Nothing is merged into a single picture.
  • An icon looks different at one size: a single enlarged small icon will not match artwork drawn for the larger size. When a size is missing, the system chooses among the sizes that remain.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert ICNS to PNG?

Which size does the PNG come out at?

How do I get every size out of an ICNS file?

Why does my ICNS fail with "no PNG icon images"?

Does the PNG keep the icon's transparent background?

How can I open an ICNS file on Windows?

Can I pick a smaller size than the largest one?

Why does the PNG look small or blurry?

What is inside an ICNS file?

Can I make an ICNS file from PNG pictures?