IMG DMG
File conversion

Convert IMG to DMG

QUICK ANSWER
Is it possible to convert IMG to DMG?
Yes - IMG converts to DMG.

On macOS, run hdiutil convert input.img -format UDZO -o output.dmg in Terminal; this is the only method that produces a native Apple DMG. On Windows, AnyToISO can wrap the image as a DMG, but the result is not a native Mac volume and is not suitable for bootable Mac use.

5 programs
Also to DMG: SPARSEBUNDLE · PKG · MPKG

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert IMG to DMG?

DMG is Apple's standard disk image format. Converting an .img to .dmg makes the file work natively with macOS's DiskImageMounter and Finder, and is needed when distributing the image to Mac users or using it in macOS installer workflows.

How to convert IMG to DMG

hdiutil (macOS) FREE

Run hdiutil convert input.img -format UDZO -o output.dmg in Terminal; use UDZO for a compressed read-only DMG or UDRW for a read/write image.

AnyToISO APP

Load the .img in AnyToISO, choose DMG as the output format, and click Convert; the result is a wrapped image suitable for file extraction but not for bootable Mac use.

AnyToISO for Mac APP

Open the .img in AnyToISO for Mac, select DMG output, and convert; for a native Apple volume hdiutil is more reliable.

Programs that convert IMG

About these formats

Quality & what to watch

  • Only hdiutil on macOS produces a true Apple DMG; Windows tools wrap the raw image and the result may not mount or boot correctly on a Mac.
  • The conversion preserves the filesystem data inside the image, but DMG-specific features (HFS+ extended attributes, code-signed volumes) are only present if the source .img already had them.
  • Boot-sector data for non-Apple bootable images (Linux, Windows install discs) is carried over in the raw data, but macOS will not boot from such an image.

Frequently asked questions

Can I convert IMG to DMG on Windows?
AnyToISO can produce a DMG file, but it will not be a proper Apple-native volume - use macOS hdiutil for genuine Mac disk images.
Which hdiutil format option should I use?
UDZO gives a compressed read-only DMG (most common); use UDRW if you need a writable image.
Will the DMG be bootable on a Mac?
Only if the source .img already contained a macOS-compatible bootable filesystem; non-Apple images are not bootable on macOS after conversion.
Can I extract files from an IMG without converting it?
Yes - 7-Zip on Windows can open most .img files directly and extract their contents without conversion.