How to Convert ISO to IMG in a Terminal

By Jedadiah Casey

Standard ISO image files contain the contents of an entire disc, including the boot sector in a single file. These multi-platform files interoperate with many different operating systems and applications. IMG files are used on Apple’s Mac OS X along with the DMG format, and are similar to ISO files in that they contain multiple files within a single file. You can convert an ISO image to the IMG format in a Terminal session using Apple’s built-in **hdiutil** command.

Step 1

Open a Terminal window from the Utilities folder.

Step 2

Navigate to the folder containing the ISO image. For example, type **cd Desktop** and then press **Return**.

Step 3

Type **hdiutil convert source.iso -format UDRW -o destination.img** and then press **Return**. Replace "source" and "destination" with their actual values.

Tips & Warnings

  • Don’t worry if the application appears to hang or freeze during the conversion process; the application does not have a progress bar and so may appear to be non-responsive even when it is actually functioning.