How to open an ISO file on a Mac
Double-click the ISO: macOS mounts it like a disc, it appears in the Finder sidebar, and you copy the files off. If it won’t mount, hdiutil attach in Terminal tells you why, and an archive tool such as tar, 7-Zip or openrar.app can often read the files without mounting.
On a Mac, you open an ISO file by double-clicking it. macOS mounts the image as if it were a disc in a drive: it shows up in the Finder sidebar, you open it like any other disk, and you drag out the files you need. Most ISOs work that way. When one doesn’t, Terminal can tell you why, and an archive tool can often read the files straight out of the image without mounting it at all.
What an ISO file is
An ISO file is a disk image: a single file holding the complete contents of a CD, DVD or Blu-ray, file system included. The name comes from ISO 9660, the standard file system for CDs. DVD and Blu-ray images often use a newer file system called UDF instead, or both at once.
You’ll meet ISOs as:
- operating system installers (Linux distributions, Windows);
- copies of old software or game discs;
- archives of CDs and DVDs, made so the disc itself can be put away.
The Mac’s own disk image format is DMG, which is what most Mac apps come in. ISO isn’t Apple’s format, but macOS reads it all the same.
Double-click to mount it
- Double-click the
.isofile in Finder. macOS opens it with DiskImageMounter, a small app built into the system. - After a moment, the image appears under Locations in the Finder sidebar, and on the desktop too, depending on your Finder settings.
- Open it like a folder and drag the files you need to a folder on your Mac.
A mounted ISO is read-only: you can open and copy its files, but not change, add or delete them. Copy what you need to a normal folder first.
When you’re done, eject it with the eject button next to its name in the sidebar, or select it and press Command-E. Ejecting only unmounts the image; the ISO file stays where it was.
If double-clicking opens the ISO in another app, such as a virtual machine or disc burning tool that took over the file type, Control-click the file, choose Open With, then DiskImageMounter.
When the ISO won’t mount
Sometimes macOS refuses, often with a message saying the image has “no mountable file systems”. The usual reasons:
- The download is incomplete or damaged. This is the most common cause. Compare the file size with the one on the download page. Many projects, especially Linux distributions, publish a SHA-256 checksum; check yours in Terminal with
shasum -a 256 ~/Downloads/image.isoand compare the long string of letters and digits. If they differ, download the image again. - The image uses a layout macOS doesn’t mount. Some images are built mainly for a PC to boot from, or use a file system variation the Mac doesn’t handle.
- The file isn’t really an ISO. Disc images from some older Windows burning apps use their own formats, and a renamed file is still in that format.
Get a clearer error in Terminal
The hdiutil command uses the same disk image machinery as a double-click, so it won’t mount what Finder can’t, but it prints the reason in full:
hdiutil attach ~/Downloads/image.iso
If it works, it prints the device and the folder under /Volumes where the image is mounted. To eject it from Terminal:
hdiutil detach /Volumes/NAME
with NAME replaced by the name of the mounted image. On the newest versions of macOS, hdiutil adds a warning that these commands are deprecated and suggests diskutil image attach and diskutil eject instead. Both forms still work there.
Read the ISO as an archive instead
You don’t have to mount an ISO to get files out of it. Archive tools can read the file system inside the image directly, a bit like opening a ZIP. This often works when mounting doesn’t, and it’s handy when you only need a few files.
With tar, already on your Mac
The tar command in macOS, the same one that unpacks .tar.gz files, also reads ISO 9660 images:
tar -tf ~/Downloads/image.iso
lists the contents, and
mkdir ~/Desktop/iso-files
tar -xf ~/Downloads/image.iso -C ~/Desktop/iso-files
copies everything into a new folder on your desktop. tar doesn’t read UDF, though. If it shows nothing useful, or just a small text file saying the disc needs UDF (Windows installer images contain one), use 7-Zip instead.
With 7-Zip
7-Zip’s command-line version for macOS, 7zz, reads both ISO 9660 and UDF images:
7zz x ~/Downloads/image.iso -o"$HOME/Desktop/iso-files"
7-Zip for Mac explains how to get it and what the graphical alternatives are.
In your browser
openrar.app opens ISO files in the page: drop the image on the window, browse every file with its folder and size, and save what you need one by one or everything as a ZIP. Nothing is uploaded. The browser tool reads ISO with libarchive, the same library behind the Mac’s tar, so a UDF-only image needs 7-Zip here too. It also has a size limit of about 2 GB per archive on a computer, which rules out many operating system installers but suits CD images and smaller discs.
Which method to use
| Situation | Try |
|---|---|
| Any ISO, first attempt | Double-click to mount |
| Mount fails, want to know why | hdiutil attach in Terminal |
| Mount fails, need the files | tar -xf, then 7zz x for UDF images |
| A few files from a CD-sized image | openrar.app |
What this article doesn’t cover
Copying the files out of an ISO is not the same as using it as a disc. Making a bootable USB stick from an installer image, or burning an ISO to a CD or DVD, needs tools made for that job, and dragging the files onto a USB stick won’t make it bootable. If you want to run the system in a virtual machine, virtual machine apps generally take the ISO file directly as a virtual disc, so there’s nothing to extract.