.dmg

What is a .dmg file?

DMG is a macOS disk image used to distribute software — it mounts as a virtual drive containing the app you need to install.

Use caution
Type System
By Apple
MIME application/x-apple-diskimage

Drop any file to identify it

No upload. No signup. No sending your file halfway across the internet.
We tell you what it is, right here in your browser.

What is it

You downloaded an application for your Mac. It arrived as a DMG — a virtual disk image that mounts on your desktop like a phantom USB drive. Inside, you'll find an app icon and an arrow pointing to your Applications folder. Drag, drop, eject, done. It's elegant once you understand it and baffling the first three times.

DMG supports compression (making downloads smaller), encryption (protecting contents with a password), and checksumming (verifying nothing was tampered with during download). This makes it ideal for distributing verified software, which is why most third-party Mac developers still ship DMGs despite the Mac App Store existing. Under the hood, a DMG can contain any filesystem macOS understands — it's literally a disk, just not a physical one.

macOS opens DMG files natively — double-click, use the app, eject when done. If you're on Windows and someone sent you a DMG, 7-Zip can extract its contents (though you likely can't run the Mac app inside). DMG files are safe to delete after you've installed the application — the app lives in your Applications folder, not inside the disk image.

Technical details
Full Name
Apple Disk Image
MIME Type
application/x-apple-diskimage
Developer
Apple
Magic Bytes
78 01 73 0D
Safety
.dmg requires caution. DMG files can contain any software. Only open DMGs from trusted developers. macOS Gatekeeper will warn you about unsigned apps.
What opens it
macOS (mounts natively)
FREE macOS
7-Zip
FREE Windows

* Can extract contents

FAQ
How do I open a DMG file on Windows?
Windows can’t mount DMGs natively. Use 7-Zip (free) to extract the contents. HFSExplorer (free) also works. Keep in mind that .app bundles inside are macOS-only — you can extract assets but not run Mac software on Windows.
What is the difference between DMG and PKG?
A DMG is a disk image — it mounts as a virtual drive and usually lets you drag an app to install it. A PKG is a macOS installer package that runs a step-by-step installation process, often used when an app needs to install system extensions or components in multiple locations.
What do I do after mounting a DMG?
Drag the application icon into your Applications folder. Then eject the DMG by right-clicking its icon on the desktop or sidebar and selecting Eject. You can delete the original .dmg file after installation — the app has already been copied.
Are DMG files safe to open?
DMG files themselves are just containers — the safety depends on what’s inside. macOS Gatekeeper checks for developer signatures and notarisation. If you see a warning that the app is from an unidentified developer, be cautious. Only open DMGs from sources you trust.
Related formats