Quick answer

Download the full macOS installer, open the free Bootabler app, select the installer, choose a disk image format (ISO, CDR, DMG, VMDK, VDI, VHD, VHDX, QCOW2 or raw IMG) instead of a USB drive and click Create. Manually, build a disk image with hdiutil, run createinstallmedia onto it and convert it to an ISO.

A bootable macOS ISO, DMG, VMDK or VHD image is a copy of a macOS installer packed into one file, so you can keep it as an archive, boot it in VMware, VirtualBox, Parallels or UTM, or load it in an emulator instead of plugging in a USB drive. This guide explains what each format is for and shows two ways to make one: the easy way with the free Bootabler app, and the manual way with Terminal.

Steps at a glance

How to
  1. Download the full macOS installer you want. It appears in your Applications folder as Install macOS ….
  2. Open Bootabler and select that installer.
  3. Choose a disk image format instead of a USB drive (ISO, CDR, DMG, VMDK, VDI, VHD, VHDX, QCOW2 or raw IMG), then click Create and enter your administrator password.
  4. Attach the finished image to your virtual machine or emulator, or keep it as a bootable installer archive.

Which format do you need?

Bootabler can save the installer in these formats. Pick the one your virtualization or emulator app uses.

FormatWorks with
USB installerReal Macs: clean installs, recovery, OpenCore and Hackintosh installs
ISO (.iso)Boot it in VMware, VirtualBox, Parallels or UTM, or burn it to disc
CD/DVD master (.cdr)Apple's disc master format, also the step before an ISO
Compressed disk image (.dmg)Parallels and Finder
VMDKVMware Fusion, Workstation and ESXi, and VirtualBox
VDIVirtualBox
VHDHyper-V, Virtual PC, VirtualBox and Parallels
VHDXHyper-V (needs qemu-img)
QCOW2QEMU and UTM (needs qemu-img)
Raw disk (.img)QEMU, UTM and dd

qemu-img is a free command-line tool that comes with QEMU. Bootabler uses it for the VHDX and QCOW2 formats, so install QEMU first if you pick one of those.

If you only need to install macOS on a real Mac, a USB drive is simpler; see How to create a bootable macOS USB installer.

What you need

Method 1: Create the image with Bootabler (no Terminal)

  1. Download Bootabler and open it. It scans your Applications folder and lists every macOS installer it finds. You can also add an installer from another folder or an InstallAssistant.pkg file.
  2. Select the macOS version you want in the sidebar.
  3. Choose to create an image instead of a USB drive, and pick the format from the list (ISO is the default).
  4. Click Create and enter your administrator password when prompted. Bootabler runs Apple's own createinstallmedia tool and shows each step in its built-in Terminal view.
  5. Wait for the completion notification. The image is saved where you chose.

Bootabler works with System Integrity Protection enabled and can build installers for any macOS from OS X Mavericks 10.9 to the latest release.

Method 2: Create a bootable macOS ISO with Terminal

This is the widely used manual recipe. It builds a blank disk image, runs createinstallmedia onto it, and converts the result to an ISO. Replace Sequoia with the name of your installer, and make the image larger than the installer.

# 1. Create a blank, mountable disk image
hdiutil create -o /tmp/macOS -size 20g -volname macOS -layout SPUD -fs HFS+J

# 2. Mount it
hdiutil attach /tmp/macOS.dmg -noverify -mountpoint /Volumes/install_build

# 3. Write the installer onto it
sudo "/Applications/Install macOS Sequoia.app/Contents/Resources/createinstallmedia" --volume /Volumes/install_build --nointeraction

# 4. Unmount (the volume is renamed after the installer)
hdiutil detach "/Volumes/Install macOS Sequoia"

# 5. Convert to an ISO on your Desktop
hdiutil convert /tmp/macOS.dmg -format UDTO -o ~/Desktop/macOS.cdr
mv ~/Desktop/macOS.cdr ~/Desktop/macOS.iso

If you only need a DMG, stop after step 4: /tmp/macOS.dmg is already the bootable image. For VMDK, VDI, VHD, VHDX or QCOW2, use Bootabler, or convert the raw image yourself with qemu-img convert.

Using the image in a virtual machine or emulator

  1. Create a new virtual machine in your virtualization or emulator app and give it a virtual disk to install onto.
  2. Attach the ISO as the optical drive, or attach the VMDK, VDI, VHD, QCOW2 or raw image as a disk, according to what your app accepts.
  3. Start the machine so that it boots from the image, then follow the macOS installer.

On Apple Silicon Macs, apps built on Apple's Virtualization framework install macOS guests from an IPSW restore image rather than an ISO. ISO and virtual disk images are mainly for Intel virtual machines, emulators, and OpenCore or Hackintosh setups. Check which image types your app accepts before you build one.

Which macOS versions can you use?

Bootabler can build installers for macOS from OS X Mavericks to the latest release, including Tahoe, Sequoia, Sonoma, Ventura, Monterey, Big Sur, Catalina, Mojave and High Sierra. The Mac that builds the image must run macOS Big Sur 11 or later.

Troubleshooting

Related guides

Frequently Asked Questions

Got questions? We've got answers.

How do I create a bootable macOS ISO?
Download the full macOS installer, open Bootabler, select the installer and choose ISO as the output instead of a USB drive. Manually, create a disk image with hdiutil, run createinstallmedia onto it, then convert it with hdiutil convert -format UDTO and rename the .cdr file to .iso.
Which image format should I choose?
ISO for VMware, VirtualBox, Parallels or UTM; DMG for Parallels and Finder; VMDK for VMware Fusion, Workstation, ESXi and VirtualBox; VDI for VirtualBox; VHD for Hyper-V, Virtual PC, VirtualBox and Parallels; VHDX for Hyper-V; QCOW2 or raw IMG for QEMU and UTM. VHDX and QCOW2 need qemu-img.
Can I use a macOS ISO in a virtual machine on an Apple Silicon Mac?
Apps that use Apple's Virtualization framework install macOS guests from an IPSW restore image, not an ISO. ISO and virtual disk images are mainly for Intel virtual machines, emulators and OpenCore or Hackintosh setups.
Do I still need a USB drive?
Only if you want to install macOS on a real Mac. For a virtual machine or an archive, an image file is enough.
Which macOS versions can Bootabler create images for?
Any installer from OS X Mavericks 10.9 to the latest release. Bootabler itself runs on macOS Big Sur 11 or later.