Skip to content
FlipConverto home

PNG to ICNS Converter

Convert PNG to ICNS in your browser: one image becomes an Apple .icns icon with every macOS size from 16 to 1024 pixels, Retina included, plus an .iconset folder for Apple's iconutil. SVG, JPG, WebP and ICO open too, and nothing is uploaded. Below: what goes inside an .icns, the small-size trap that garbles some icons, and how to use the file.

Loading PNG to ICNS Converter…

Runs entirely in your browser. Files stay on your device — nothing is uploaded. Verify it yourself

How do you convert a PNG to an ICNS file?

Draw the image at every macOS icon size and pack them into one .icns. This page does it in your browser: choose a PNG (ideally 1024 × 1024), SVG or ICO, pick a shape, and download the .icns with sizes from 16 to 1024 px, plus an .iconset for iconutil. Nothing is uploaded.

Cost
Free, no daily limit
Upload
None — runs on your device
Sign-up
Not required
Works offline
Yes, once loaded

How to convert PNG to ICNS

  1. Choose the image

    A square PNG of 1024 px or an SVG works best; JPG, WebP, GIF, BMP and ICO open too.

  2. Pick the shape

    As it is, with a margin, or on a rounded square of your colour.

  3. Check the previews

    Look at the small sizes on light and dark backgrounds, at their real size.

  4. Download

    Download the .icns, and the .iconset folder if you use iconutil or Xcode.

Examples

  • A 1024 × 1024 PNG logoAn .icns with 10 images, 16 to 1024 px
  • An SVG logo, rounded square on whiteEach size drawn from the vector on a rounded square
  • A Windows .ico with sizes up to 256 px, As it is shapeAn .icns reusing its matching sizes, with larger sizes enlarged

Key features of the PNG to ICNS Converter

  • Every macOS icon size, 16 to 1024 px, standard and Retina
  • 16 and 32 px stored in the compressed format that renders inside apps, not as PNG
  • An .iconset folder with Apple's exact file names for iconutil and Xcode
  • Shapes: as it is, with a margin, or on a rounded square
  • Opens PNG, JPG, WebP, AVIF, GIF, BMP, SVG and ICO; SVGs are drawn fresh at each size
  • Runs in your browser; nothing is uploaded

Supported formats

Input

  • PNG, JPG, WebP, AVIF, GIF, BMP
  • SVG (drawn at each size)
  • ICO (its own sizes reused with the As it is shape)

Output

  • ICNS, 16 to 1024 px
  • .iconset folder (ZIP of PNGs)

When should you use this?

  • An icon for a Mac app built with Electron, Tauri, PyInstaller, Qt or Java.
  • A custom icon for a folder, drive or file in the Finder.
  • The volume icon of a disk image (.dmg).
  • Turning a Windows icon into a Mac one.

Limitations

  • One image at a time.
  • Not tested on a Mac by us; the slot choices follow published tests.
  • No dark-mode or Icon Composer (Liquid Glass) variants.
  • Images smaller than 1024 px are enlarged for the largest sizes and look soft.

Troubleshooting

The new icon does not show

Quit and reopen the app, run killall Dock (or killall Finder) in Terminal, or restart the Mac.

iconutil says Invalid Iconset

Use the .iconset download: the folder name, file names and sizes are exactly what iconutil expects.

The icon sits in a grey box on macOS 26

For an app you use, set the icon by hand in Get Info, which is reported to escape the box. For an app you build, follow Apple's current app icon guidance (square art or an Icon Composer file).

Common mistakes to avoid

  • Renaming a .png to .icns: the bytes stay PNG.
  • Starting from a small PNG: the Retina sizes come out blurry.
  • Pasting a copied file in Get Info instead of the copied image: you get the generic document icon.

Pro tips

Tips for better results

  • Source

    Start from 1024 px or an SVG

    Start from 1024 px or an SVG

  • Small sizes

    Check the 16 px preview

    Check the 16 px preview

  • Xcode

    Use the iconset for iconutil

    Use the iconset for iconutil

Concepts behind image files

The terms that decide what changes when an image is compressed, resized or converted.

Resolution
The pixel dimensions of the image or frame, such as 1920×1080. It sets the amount of real detail present. Enlarging afterwards interpolates between existing pixels and produces a softer picture — no amount of upscaling recovers detail that was never captured. Reference: CSS Values and Units Module Level 4, W3C
Colour depth
How many bits describe each pixel's colour. Most formats use 8 bits per channel, giving about 16.7 million colours. Indexed formats such as GIF store a palette of at most 256 instead, which is why photographs converted to them show visible banding. Reference: GIF89a Specification, CompuServe, hosted by W3C
Metadata
Information stored alongside the content itself — camera settings, GPS coordinates, artist and album tags, author names. Conversion frequently drops it, which is usually a privacy benefit and occasionally a loss if you relied on it.
Colour space
The rule that maps the numbers in a file to visible colours. sRGB is what browsers assume, Display P3 and Adobe RGB describe wider ranges used in photography, and CMYK describes ink rather than light. A file converted without its profile keeps its numbers and changes its colours. Reference: sRGB, the default colour space, ICC
DPI and PPI
Dots or pixels per inch: a number describing how large the picture is meant to print, stored as a tag beside the pixels. It changes nothing on a screen, which draws by pixel count alone, and nothing about the detail present — only the size a printer lays the same pixels down at. Reference: CSS Values and Units Module Level 4, W3C
EXIF data
The block cameras and phones write into a photograph: exposure, lens, orientation, the date, and on a phone usually the coordinates it was taken at. Most conversions write a fresh file without it, which loses the shooting data and removes the location along with it; the RAW to JPG converters here copy it back, leaving the location out unless you ask. Reference: CIPA DC-008: Exchangeable image file format (Exif), CIPA
Pixel
One addressable square of a raster image, holding a single colour. A 1920×1080 picture is 1920 across and 1080 down, about 2.07 million in all, and that count is fixed when the file is written — which is why enlarging one later invents the pixels it does not have. Reference: PNG Specification, Third Edition, W3C

What sizes does an ICNS file need?

Apple asks for each icon size in pairs, standard and Retina (@2x): 16, 32, 128, 256 and 512 points, so the largest image is 1024 × 1024 pixels (512 at @2x). App Store uploads have failed with an error asking for an .icns containing both the 512 and the 512@2x image. Each image goes into a slot named by a four-letter code. This page fills these:

SlotSizeStored as.iconset file
is3216 pt = 16 pxCompressed colour + alpha mask (s8mk)icon_16x16.png
il3232 pt = 32 pxCompressed colour + alpha mask (l8mk)icon_32x32.png
ic1116 pt @2x = 32 pxPNGicon_16x16@2x.png
ic1232 pt @2x = 64 pxPNGicon_32x32@2x.png
ic07128 pt = 128 pxPNGicon_128x128.png
ic13128 pt @2x = 256 pxPNGicon_128x128@2x.png
ic08256 pt = 256 pxPNGicon_256x256.png
ic14256 pt @2x = 512 pxPNGicon_256x256@2x.png
ic09512 pt = 512 pxPNGicon_512x512.png
ic10512 pt @2x = 1024 pxPNGicon_512x512@2x.png

Why do some 16 and 32 px Mac icons look like noise?

The ICNS format has PNG slots for the 16 and 32 px sizes too (icp4 and icp5), and some tools have filled them, electron-builder among them until August 2026. But recent macOS versions draw PNG data in those slots as random noise when the icon sits inside an app: in Finder's list view and in a disk image's title bar. The maintainers of electron-builder, a Mac app packager, fixed exactly that in August 2026, and an independent test that booted macOS versions from 9.2 to 26 found the same on recent versions: those slots work in a loose .icns file but fail inside an app. The older compressed format with a separate alpha mask (is32 with s8mk, il32 with l8mk) rendered inside apps on every version it tested from 10.0 to 26, and in loose .icns files on all but 10.4, 10.14 and 10.15. So this page stores 16 and 32 px only in that older format, and uses PNG from 32 px Retina up, the same slots Tauri's icon tool writes. It also adds one byte that test found fixes macOS 12 to 26 dropping the last value of that compressed data inside apps.

We read every file back: Pillow (the Python imaging library) decoded all ten images of an .icns made on this page in Chrome, and each matched the image it was made from exactly. We have not opened these files on a Mac ourselves; the slot choices follow the tests above.

How do I change an icon on a Mac?

  1. Select the file, folder or app in the Finder and choose File › Get Info.
  2. Drag the .icns file onto the small icon at the top of the Get Info window. This keeps every size in the file.

Apple's own steps instead open an image in Preview, choose Edit › Copy, click the small icon in Get Info and choose Edit › Paste; to go back, select the small icon and choose Edit › Cut. That works with any image, so for a folder icon a PNG is enough, but copying from Preview pastes a single large image rather than the .icns with its small sizes. Copy the picture itself: pasting a copied file gives the generic document icon. If the Dock or Finder keeps showing the old icon, quitting the app, running killall Dock (or killall Finder) in Terminal, or restarting can refresh it; be wary of advice to delete system cache folders with sudo rm, which one user reported left a Mac unable to start.

Using the .icns in an app build

  • Mac app bundle: put the file in Contents/Resources and name it in Info.plist with CFBundleIconFile.
  • Electron (electron-builder): accepts a 1024 px PNG or an SVG and converts it itself, but a pre-built icon.icns skips that step, and the disk image's volume icon still uses .icns.
  • Tauri: lists icon.icns as the macOS icon.
  • PyInstaller: --icon app.icns applies it to the .app bundle. Given another format, it converts through Pillow, whose ICNS writer leaves out the 16 and 32 px standard sizes; this file has them.
  • Qt: ICON = myapp.icns in qmake, or MACOSX_BUNDLE_ICON_FILE in CMake.

The .iconset folder and iconutil

The second download is the same images as an .iconset folder, for Apple's own tool: run iconutil -c icns name.iconset on a Mac to build the .icns yourself, or add the PNGs to an Xcode asset catalog. iconutil is strict: forum answers trace its “Invalid Iconset” and “Failed to generate ICNS” errors to three things this download gets right: the folder must end in .iconset; the files must have Apple's exact names, icon_16x16.png, icon_16x16@2x.png, icon_32x32.png, icon_32x32@2x.png, icon_128x128.png, icon_128x128@2x.png, icon_256x256.png, icon_256x256@2x.png, icon_512x512.png and icon_512x512@2x.png; and each image must be square at the size its name says. One forum user also fixed the error by saving PNGs with an alpha channel, which these have in our Chrome test.

Shape and macOS 26 Tahoe

Apple's guidelines changed. Its 2024 guidance told Mac developers to draw the rounded-rectangle shape themselves; the current version says macOS icons are square and the system applies the rounded corners, from either a plain bitmap or an Icon Composer file. On macOS 26 Tahoe, app icons that do not fit the template are reported to be shown shrunk inside a grey rounded square. This page offers three shapes: as it is; with a margin (100 px of 1,024 on each side); or on a rounded square of your colour, 824 px with 185.4 px corners. Those figures are the ones developers give for Apple's Big Sur-era template on Apple's forums, not numbers from an Apple document.

ICO to ICNS

An .ico opens too. With the “As it is” shape, where the icon holds a size the .icns needs, that image is used as it is, and other sizes are drawn from the largest image in it; with a margin or rounded square, every size is drawn from the largest image. ICO images stop at 256 px, so the 512 and 1024 px Mac sizes are enlarged and look softer; the page warns when that happens. For the sharpest result, start from an SVG or a 1024 px PNG. To make Windows icons as well, use PNG to ICO or SVG to ICO.

Privacy and file handling

The PNG to ICNS Converter runs entirely in your browser. Your file is read by the page, processed on your own device, and the result is handed straight back to you — no copy is sent anywhere, because none needs to be.

You can confirm this rather than take our word for it: open your browser’s developer tools, watch the Network tab, and use the tool. No request carries your file or your input. It also keeps working with the connection off.

Details are in the privacy policy.

What next?

Turn the same image into an .ico for Windows and website favicons.

Make a Windows icon

PNG to ICNS Converter — questions

How do I convert PNG to ICNS?

Choose the PNG (1024 × 1024 is best), pick a shape, and download the .icns. Every Mac size from 16 to 1024 px is made in your browser; nothing is uploaded.

Can I convert ICO to ICNS?

Yes. Choose the .ico; with the As it is shape, sizes it already holds are used as they are, and larger Mac sizes are drawn from its largest image, which looks softer above 256 px.

Do I need a Mac to make an ICNS file?

No. This page makes the .icns in a current browser, on Windows, Linux or a phone. Applying it to a folder or app is then done on the Mac.

What sizes are inside the ICNS?

16, 32, 128, 256 and 512 points, each at standard and Retina (@2x) resolution: from 16 to 1024 pixels.

Why do my small Mac icons look like noise?

The 16 and 32 px images were probably stored as PNG in the icp4 and icp5 slots, which macOS draws as noise inside apps. This page stores those sizes in the older compressed format instead.

Can I use a PNG as a folder icon without ICNS?

Yes. Open the PNG in Preview, copy it, then paste it onto the small icon in the folder's Get Info window.

What is the .iconset download for?

It is the same images with Apple's exact file names, for building the .icns with iconutil on a Mac or adding the icon to an Xcode project.

Is my image uploaded?

No. The icon is drawn and written in your browser and never leaves your device.

Sources

Content last reviewed 29 October 2026.

Part of Image Tools · Browse every tool