PNG to ICNS on Mac: iconutil, and the Assets.car Tahoe reads
To convert a PNG to ICNS on a Mac, make a folder named AppIcon.iconset, put ten PNGs in it named icon_16x16.png, icon_16x16@2x.png and so on up to icon_512x512@2x.png (made from one 1024 x 1024 PNG with sips), then run iconutil -c icns AppIcon.iconset. Both tools ship with macOS, and on macOS 27 the whole job took 0.43 seconds in our test. For an app icon, that .icns is now only half of it: from macOS 26 Tahoe on, the Mac reads the Liquid Glass icon from a compiled Assets.car, and an .icns whose art does not fill Apple's rounded square is drawn small on a grey tile. IconWright, a Mac app that makes app icons, does both from one drop: give it your PNG, pick how the art sits on Apple's grid, and when Xcode 26 or later is installed, its export compiles an Assets.car and an AppIcon.icns with Apple's actool, and without Xcode it packs the AppIcon.icns with macOS's own iconutil.
How do I convert a PNG to ICNS with Terminal?
Resize one square PNG into the ten files Apple names, then let iconutil pack them. Start from a 1024 x 1024 PNG and run this in the folder that holds it:
mkdir AppIcon.iconset
for s in 16 32 128 256 512; do
sips -z $s $s icon.png --out AppIcon.iconset/icon_${s}x${s}.png
sips -z $((s*2)) $((s*2)) icon.png --out AppIcon.iconset/icon_${s}x${s}@2x.png
done
iconutil -c icns AppIcon.iconset -o AppIcon.icns
We ran exactly that on 26 Nov 2026 on macOS 27.0 with a 1024 px icon: ten PNGs, one AppIcon.icns of 4.3 MB, no error. file reports it as a Mac OS X icon, and iconutil -c iconset AppIcon.icns gives the ten images back.
What must the files in an .iconset be called?
icon_<size>x<size>.png, with @2x before the extension for the double-resolution version. Apple's documentation on high-resolution icons gives the full set: icon_16x16, icon_32x32, icon_128x128, icon_256x256 and icon_512x512, each with an @2x twin, and adds that "There is no longer a 1024x1024 size. That's replaced by 512x512@2x." The folder must end in .iconset, and each image must be square with the pixel size its name says.
The names are not a convention you can skip. In our test a folder holding the same icon saved as icon.png stopped iconutil with "Failed to generate ICNS." A set holding only icon_512x512@2x.png did build, since Apple says a complete set is not required and the system picks the best image for the sizes you leave out. It is still worth giving all ten, and Apple's page says why sizes are not interchangeable: "a 16x16@2x version isn't equivalent to a 32x32 version", because the size on screen differs even when the pixels match.
Is there an icns converter built into macOS?
Yes, two: iconutil, whose manual says it "converts between '.iconset' and '.icns' files, and can extract icons from '.car' asset catalog files", and sips, which resizes and converts images. An online converter does the same packing step after you upload your image; none of them builds an Assets.car, because that needs Apple's actool, which ships inside Xcode.
Which ICNS generator should I use for a Mac app icon?
Use one that also writes Assets.car, such as IconWright, when your app must show its icon right on macOS 26 Tahoe, and macOS's own iconutil when you only need an .icns from a finished square image. An .icns generator that packs one image into the ten sizes, online or in Terminal, does the iconutil step and nothing more: it does not place your art on Apple's grid, render the dark, clear and tinted looks, or compile the Assets.car that Tahoe draws the glass from. IconWright writes the .icns either way from one drop: with Xcode 26 or later through Apple's actool, next to Assets.car, and without Xcode through iconutil, with a note that Assets.car needs Xcode's compiler. It is a one-time $13.99, with 7 days free.
What is an .icns file, and is it still enough on macOS Tahoe?
An .icns is the Mac's icon container: several square images of one icon at different sizes, which Finder and the Dock pick from. An app names it in its Info.plist with CFBundleIconFile and keeps it in Contents/Resources.
It still works on macOS 26 Tahoe and on macOS 27, with two limits. It holds flat pictures, so it has none of the dark, clear and tinted looks Apple's Human Interface Guidelines list for a macOS icon. And Apple now asks for square layers so the system can round the corners itself: an .icns whose art floats on transparency, or keeps its own shape, gets shrunk onto a grey tile. Our guide on the grey box on macOS Tahoe shows which icons are caught and why.
How do I generate .icns and Assets.car from an app icon on Mac?
Compile a layered AppIcon.icon with actool, the asset compiler inside Xcode 26 or later. One command writes both files:
xcrun actool AppIcon.icon --compile out --platform macosx \
--minimum-deployment-target 11.0 --app-icon AppIcon \
--output-partial-info-plist out/partial.plist
On a Mac mini with macOS 27.0 and Xcode 27.2 this took 7.4 seconds and wrote Assets.car, AppIcon.icns and a small plist that sets both CFBundleIconFile and CFBundleIconName to AppIcon. Put the two files in Contents/Resources, add those two keys to your Info.plist, and re-sign: from macOS 26 on, the Mac draws the glass from Assets.car, older systems use the .icns. That is the route for Electron, Tauri, Qt and script builds; an Xcode project just takes the .icon itself.
The catch is the input. actool wants an .icon, the layered file Apple's Icon Composer makes, not a PNG. Going from a flat PNG to an .icon means separating the art from its background and placing it on Apple's 1024 grid, and that is the step most people stop at.
How does IconWright turn a PNG into .icns and Assets.car?
It does the step in the middle and then runs Apple's tools for you. From the app's code:
- You drop the PNG (or a JPEG, SVG,
.icns, AppIcon set or.xcassetsfolder) anywhere in the window. Importing never uses a drawing. - It reads what kind of picture it is, a full tile or a symbol on transparency, and builds three candidates on Apple's grid: the art whole, the subject lifted onto a clean tile, and the subject in Liquid Glass. Each is rendered by Apple's own renderer in light, dark, clear and tinted.
- You pick one and click Export A… (or B, or C). IconWright writes the
.icon, renders the ten Mac sizes with Apple's renderer, and then, in a folder calledWithout Xcode, runsactoolon the finished.iconwith the same arguments as above. Without Xcode 26 or later it packs the ten renders intoAppIcon.icnswithiconutilinstead and notes thatAssets.carneeds Xcode's compiler.
The same export also writes the macOS and iOS AppIcon sets, the web sizes and a Read me.txt that spells out the two Info.plist keys. For what each of those files is for, see every app icon size you need; for the glass itself, how to make a Liquid Glass app icon.
![]()
What IconWright needs, and what it costs
IconWright runs on macOS 15 Sequoia or later and uses Apple's icon renderer, which comes with Xcode 26 or later or with Apple's free Icon Composer; it never ships its own copy. Assets.car needs Xcode 26 or later on the same Mac; the .icns needs nothing extra. It costs $13.99 once, for up to 3 Macs, after a 7-day trial in which every file is written, with a trial stamp on the icon until you enter a licence key.
Questions
Does iconutil need all ten PNGs?
No. Apple's documentation says a complete set is not required and the system picks the best image for sizes you leave out. In our test a set holding only icon_512x512@2x.png built an .icns; a folder holding one file named icon.png failed with "Failed to generate ICNS."
Is there a 1024 x 1024 entry in an .icns?
Not by that name. Apple's documentation says the 1024 size was replaced by icon_512x512@2x.png, which is 1024 pixels wide.
Do I need Xcode to make an .icns?
No. sips and iconutil ship with every Mac. You need Xcode 26 or later only for Assets.car, because its actool compiler is the tool that builds it.
Can I turn an .icns back into PNGs?
Yes. iconutil -c iconset AppIcon.icns writes an AppIcon.iconset folder with every image inside, and iconutil can also pull an .icns out of an Assets.car when you give it the icon's name.