Mac iconset generator
Drop your 1024 pixel icon below. Every size is made right here on this page, and the picture is never uploaded.
Try an example:
What it does
Drop in your Mac app icon as one big PNG, ideally 1024 by 1024 pixels. The tool scales it down to the ten files a Mac app icon is made of, shows you each one, and puts them in a zip with two folders: AppIcon.iconset, which iconutil turns into an .icns file, and AppIcon.appiconset, the same files with the Contents.json that an Xcode asset catalog reads. It also writes the Terminal commands, so you can see what happens and do it yourself next time. To check how the icon looks in the Dock and Finder first, use the Mac icon checker.
The ten sizes
| Size | @1x | @2x |
|---|---|---|
| 16 pt | 16 pixels | 32 pixels |
| 32 pt | 32 pixels | 64 pixels |
| 128 pt | 128 pixels | 256 pixels |
| 256 pt | 256 pixels | 512 pixels |
| 512 pt | 512 pixels | 1024 pixels |
The files are named the way iconutil expects, from icon_16x16.png to icon_512x512@2x.png. We built an .icns from the zip with iconutil on a Mac on November 20, 2026, to make sure it works.
When you need these files
- Apps built without Xcode's asset catalog, such as Electron, Tauri or a plain Swift package, usually want an
.icnsfile. - An asset catalog in Xcode with the older AppIcon set has these ten slots. Drag the
AppIcon.appiconsetfolder into your catalog to fill them at once. - A DMG can show your icon as the disk's own icon. The DMG background helper covers the rest of the window.
If your app uses an icon made in Apple's Icon Composer, Xcode makes the sizes from that file and you may not need these at all.
Make the .icns yourself
mkdir -p AppIcon.iconset sips -z 16 16 icon-1024.png --out AppIcon.iconset/icon_16x16.png sips -z 32 32 icon-1024.png --out AppIcon.iconset/icon_16x16@2x.png # ...and so on for the other eight sizes iconutil -c icns AppIcon.iconset
sips and iconutil come with macOS. The tool writes all twelve lines for you below the previews.
The two shapes
Apple's Human Interface Guidelines now ask for square, unmasked artwork and round the corners for you. Keep "As it is" for that, or when your picture already has its corners and margin drawn in. "Rounded square with a margin" fits a full square picture into the older Mac shape: a rounded square about 824 of 1024 pixels wide, with corners near 185 pixels. Those numbers are how the older template is commonly measured, not numbers Apple states now, so treat them as a guide.
How it works
Your browser draws the icon at 1024 pixels, then halves it step by step down to each size, which keeps the small sizes smoother than one big jump. The PNG files and the zip are made on this page. Nothing is uploaded, and the zip is not compressed again, since PNG files are compressed already.
Questions
What sizes does a Mac app icon need?
Ten files: 16, 32, 128, 256 and 512 points, each at @1x and @2x. In pixels that is 16, 32, 64, 128, 256, 512 and 1024, with some sizes used twice.
How do I make an .icns file on a Mac?
Put the ten PNG files in a folder whose name ends in .iconset, with the names iconutil expects, then run iconutil -c icns AppIcon.iconset in Terminal. The zip from this tool has that folder ready.
What size should the source image be?
1024 by 1024 pixels, as a PNG. That is the biggest file, 512 points at @2x, so nothing has to be stretched up.
Do I need this if I use Xcode?
Not always. If your app uses an Icon Composer file, Xcode makes the sizes for you. The AppIcon.appiconset in the zip is for an asset catalog with the older ten slots.
Is my icon uploaded anywhere?
No. Every size and the zip are made in your browser, and nothing is sent.