Convert JPG to ICNS
Create a multi-resolution macOS ICNS icon from a JPG with ImageMagick and iconutil.
Convert JPG files online
We don’t have a dedicated online converter for JPG to ICNS yet, but you can convert JPG files online to these and more formats:
Want to convert JPG to ICNS?
Let us know. We pick the conversions to add next by how many people ask for them.
How to convert jpg to icns file
- Graphics
- No ratings yet.
A macOS application bundle, Finder item, or Dock icon may require Apple’s ICNS format instead of a JPG image. Conversion packages the artwork into the icon sizes macOS uses, but it does not add detail or transparency that the JPG does not contain.
What the JPG format is
JPG, also written JPEG, is a lossy raster format intended mainly for photographs and complex images. Cameras, phones, scanners, browsers, and image editors commonly create it. JPG stores millions of colors in relatively small files, but it does not support an alpha-transparency channel, and repeated editing and saving can introduce additional compression artifacts.
What the ICNS format is
ICNS is Apple’s icon-container format for macOS applications, folders, documents, and system resources. One file can contain multiple bitmap representations, including standard and Retina resolutions, so macOS can select an appropriate image for Finder, the Dock, or an application bundle.
ICNS is more suitable than a single JPG when macOS must use the image as an icon. The container can hold images with transparency, but a JPG source starts as an opaque image. Remove its background or create transparency in an image editor and export PNG files before building the ICNS file.
How to convert JPG to ICNS
Using ImageMagick and iconutil
On macOS, the most controllable workflow uses ImageMagick to create the PNG representations and Apple’s built-in iconutil command to package them. Install ImageMagick with Homebrew if it is not already installed:
brew install imagemagick
Use a square source when possible. The following commands crop the image from the center when its proportions do not match the requested square:
mkdir MyIcon.iconset
magick input.jpg -auto-orient -resize 16x16^ -gravity center -extent 16x16 MyIcon.iconset/icon_16x16.png
magick input.jpg -auto-orient -resize 32x32^ -gravity center -extent 32x32 MyIcon.iconset/icon_16x16@2x.png
magick input.jpg -auto-orient -resize 32x32^ -gravity center -extent 32x32 MyIcon.iconset/icon_32x32.png
magick input.jpg -auto-orient -resize 64x64^ -gravity center -extent 64x64 MyIcon.iconset/icon_32x32@2x.png
magick input.jpg -auto-orient -resize 128x128^ -gravity center -extent 128x128 MyIcon.iconset/icon_128x128.png
magick input.jpg -auto-orient -resize 256x256^ -gravity center -extent 256x256 MyIcon.iconset/icon_128x128@2x.png
magick input.jpg -auto-orient -resize 256x256^ -gravity center -extent 256x256 MyIcon.iconset/icon_256x256.png
magick input.jpg -auto-orient -resize 512x512^ -gravity center -extent 512x512 MyIcon.iconset/icon_256x256@2x.png
magick input.jpg -auto-orient -resize 512x512^ -gravity center -extent 512x512 MyIcon.iconset/icon_512x512.png
magick input.jpg -auto-orient -resize 1024x1024^ -gravity center -extent 1024x1024 MyIcon.iconset/icon_512x512@2x.png
-auto-orient applies the camera’s EXIF orientation before processing. The ^ resize modifier makes the image cover the square, and -extent crops the excess. To preserve the complete image instead, add padding in an editor or use a transparent square canvas before export.
Package the completed iconset:
iconutil -c icns -o MyIcon.icns MyIcon.iconset
The resulting MyIcon.icns can be used in a macOS application bundle or assigned to a file or folder through Finder’s Get Info window. Editing an existing application bundle can invalidate its code signature or be undone by an application update.
Using a graphical editor
Affinity Photo, Adobe Photoshop, GIMP, and Preview can crop the source, remove its background, and export PNG files. ICNS export support varies by application and version, so the dependable macOS workflow is to create the artwork and PNG source images in the editor, place them in a correctly named .iconset directory, and run iconutil. Xcode projects generally use an asset catalog rather than a manually maintained ICNS file for modern application builds.
Using an online converter
CloudConvert and Zamzar may provide JPG-to-ICNS conversion, although available formats and output options can change. Upload the JPG, choose ICNS, start the conversion, and download the result. Verify that the downloaded file is a valid multi-resolution ICNS rather than a renamed file or a container holding only one small bitmap. Do not upload confidential images, proprietary artwork, or application assets to a third-party service.
Quality and compatibility limits
- Use a source of at least 1024 × 1024 pixels when the icon must include a 512 × 512 Retina representation. A smaller source will be enlarged and may look soft.
- The commands above create opaque PNGs because the JPG is opaque. Background removal must happen before packaging, and the edited artwork must be exported with an alpha channel.
- JPG artifacts, fine detail, and text become difficult to recognize at 16 × 16 and 32 × 32 pixels. Simplify the design and inspect the smallest representations.
- ICNS is a container, not a quality-enhancement format; it cannot restore detail lost through JPG compression.
iconutilis included with macOS and must run there. ImageMagick can create the PNG representations on Windows or Linux, but a separate ICNS-capable utility is needed to package and validate the final file.
JPG vs ICNS: format comparison
How the JPG and ICNS formats compare on the properties that matter most for this conversion.
| Property | .JPG JPEG File Interchange Format | .ICNS Apple Icon Image format |
|---|---|---|
| Compression | Lossy | Both |
| Transparency | No | Yes |
| Animation | No | No |
| Layers | No | No |
| Color depth | True color (24-bit) | True color with alpha (32-bit) |
| Metadata support | Extensive | Basic |
| Opens in a web browser | Yes, natively | No |
| Typical file size | Small | Small |
| Open standard | Yes | Partly open |
| Best used for | Photographs | Icons |
| Introduced | 1992 | 2001 |
| Developer | Joint Photographic Experts Group | Apple Inc. |
| MIME type | image/jpeg | image/icns |
Suggested software and links: jpg to icns converters
Additional formats for
jpg file conversion
- jpg to png
- jpg to raf
- jpg to exe
- jpg to ico
- jpg to scr
- jpg to tif
- jpg to heic
- jpg to cdr
- jpg to dwg
- jpg to ora
- jpg to 3fr
- jpg to aco
- jpg to ai
- jpg to ani
- jpg to arw
- jpg to ascii
- jpg to avif
- jpg to bmp
- jpg to btw
- jpg to cap
- jpg to ccx
- jpg to cdt
- jpg to cgm
- jpg to cin
- jpg to cmx
- jpg to cpt
- jpg to cr2
- jpg to crw
- jpg to cur
- jpg to dat
- jpg to dcm
- jpg to dcr
- jpg to dcx
- jpg to dds
- jpg to dicom
- jpg to djvu
- jpg to dng
- jpg to dpx
- jpg to drawing
- jpg to drw
- jpg to dxf
- jpg to ec4
- jpg to ecw
- jpg to el6
- jpg to el8
- jpg to emf
- jpg to emz
- jpg to epf
- jpg to eps
- jpg to epsf
- jpg to erf
- jpg to exr
- jpg to fff
- jpg to fit
- jpg to fits
- jpg to gem
- jpg to gif
- jpg to grd
- jpg to hdr
- jpg to icon
- jpg to idml
- jpg to iff
- jpg to indd
- jpg to inp
- jpg to is2
- jpg to jfif
- jpg to jif
- jpg to jp2
- jpg to jpc
- jpg to jpe
- jpg to jpf
- jpg to jps
- jpg to jpx
- jpg to jxl
- jpg to jxr
- jpg to kdc
- jpg to lbl
- jpg to lmk
- jpg to mbm
- jpg to mp3
- jpg to mrw
- jpg to ncd
- jpg to nef
- jpg to nrw
- jpg to odg
- jpg to ogg
- jpg to orf
- jpg to otg
- jpg to pat
- jpg to pbm
- jpg to pct
- jpg to pcx
- jpg to pdf
- jpg to pdn
- jpg to pef
- jpg to pgm
- jpg to pic
- jpg to pict
- jpg to pnm
- jpg to ppm
- jpg to pri
- jpg to ps
- jpg to psb
- jpg to psd
- jpg to pspimage
- jpg to ptg
- jpg to ptl
- jpg to pxd
- jpg to ras
- jpg to rgb
- jpg to rw2
- jpg to rwl
- jpg to sdr
- jpg to sgi
- jpg to skf
- jpg to sr2
- jpg to srf
- jpg to std
- jpg to svg
- jpg to svgz
- jpg to tga
- jpg to tiff
- jpg to tns
- jpg to vector
- jpg to vsd
- jpg to vsdx
- jpg to wav
- jpg to wbmp
- jpg to webp
- jpg to wmf
- jpg to wpg
- jpg to xbm
- jpg to xcf
- jpg to xmp
- jpg to xpm