What is a DMG file?
Apple Disk Image
- Developed By
- Apple Inc.
- Initial Release
- 2001
- MIME Type
- application/x-apple-diskimage
The DMG (Apple Disk Image) format is a proprietary disk image container developed by Apple Inc., functioning as a virtual volume that encapsulates file systems including HFS+ (Mac OS Extended) and APFS (Apple File System). Built on the Universal Disk Image Format (UDIF) specification, DMG archives support block-level compression algorithms such as zlib, bzip2, ADC (Apple Data Compression), and LZFSE, alongside optional 128-bit or 256-bit AES encryption. The file structure concludes with a trailer containing an XML property list (plist) and a Resource Fork, which define the partition map and include CRC-32 checksums for data integrity verification during the mounting process.
How to open a DMG file
On macOS, DMG files are handled natively by the Apple DiskImageMounter utility, which mounts the image as a virtual drive within Finder without requiring external software. Windows operating systems lack the kernel-level drivers to read HFS+ or APFS file systems; therefore, users must rely on third-party extraction utilities such as 7-Zip, PeaZip, or TransMac to access the contained data. In Linux environments, users typically employ the command-line tool dmg2img to convert the archive into a standard ISO format before mounting, or use p7zip for direct extraction.