Skip to content

Menu

Free tool

PNG to ICNS converter

Turn a PNG, JPG or SVG into the .icns file a Mac app needs, with every size from 16 to 1024 px and the @2x versions for Retina screens. Free, no sign-up, and the image stays in your browser.

  • Free, no sign-up
  • Never uploaded
  • Works offline once loaded
PNG to ICNS

Guide

PNG to ICNS, explained

Turn a PNG, JPG or SVG into the .icns file a Mac app needs, with every size from 16 to 1024 px and the @2x versions for Retina screens. Free, no sign-up, and the image stays in your browser.

What goes into the ICNS file

An .icns file holds the same icon at 16, 32, 64, 128, 256, 512 and 1024 px. macOS uses the small sizes in Finder lists and menus and the large ones in the Dock and on Retina screens, where a 128-point icon is drawn from the 256 px image. Contour draws every size from your picture and stores each as a PNG.

Start from a square image of at least 1024 × 1024 px, or from an SVG, which is drawn sharp at every size. Smaller pictures are enlarged for the big sizes and look soft in the Dock.

Using it in an app

App packagers such as electron-builder, Tauri and PyInstaller take an .icns file for the Mac build: point their icon setting at it. Xcode projects use an app icon set in the asset catalog instead of an .icns file.

Draw the rounded-square shape and any margin into your picture. The converter fits it into a square and resizes it, and changes nothing else.

On a Mac without a converter

macOS can build an .icns itself: put PNGs named icon_16x16.png, icon_16x16@2x.png and so on up to icon_512x512@2x.png into a folder whose name ends in .iconset, then run iconutil -c icns on that folder in Terminal. To get those PNGs out of an existing .icns, use ICO to PNG, which names them the same way.

FAQ

Frequently asked questions

Something else? Write to contour@niamori.ai.

What size should a Mac app icon be?

1024 × 1024 px, the largest size in an .icns (512 points at @2x). Start from that or from an SVG, and every smaller size is made from it.

Can I convert a JPG to ICNS?

Yes. PNG, JPG, WebP and SVG all work. A JPG has no transparent background, so the icon keeps the photo’s background.

Can I make a Mac icon on Windows?

Yes. The converter runs in the browser, so you can make the .icns on Windows or Linux and add it to a project that is built on a Mac.

Are my files uploaded?

No. Everything runs in your browser, so your files stay on your device. That makes it safe for client artwork and unreleased designs.

What else does Contour do?

Contour converts PNG, JPG and WebP images into clean, editable SVG vectors, also in your browser. The SVG download is free for any single image, traced at up to 1.6 megapixels; Pro traces at up to 16 megapixels and adds batches and PDF, EPS and DXF export.

Turn your next image into a vector.

Free in your browser. Pro adds 16-megapixel tracing, batches and PDF, EPS and DXF export for US$5 a month.