1 What Is a DMG File?
A Mac-specific file format.
A .dmg file (Apple Disk Image) is macOS's equivalent of a virtual CD/DVD. It's a container file that, when opened, "mounts" as a virtual drive on your desktop. This is how most Mac software is distributed — when you download an app from a developer's website, it usually comes as a .dmg file.
2 Opening a DMG on Mac
This is native to macOS — no extra tools needed.
Double-click the .dmg file
macOS automatically mounts the disk image. A new window will open showing the contents.
Drag the app to your Applications folder
Most DMGs show the app icon and an arrow pointing to the Applications folder. Just drag the app icon over. If there's no Applications shortcut, open a new Finder window and drag the app to Applications manually.
Eject the DMG
Right-click the mounted drive icon on your desktop (or in Finder's sidebar) and click "Eject." You can also delete the original .dmg file to save space — you don't need it after installing the app.
3 Opening a DMG on Windows
Got a DMG but you're on a PC? Here are your options.
Windows can't open DMG files natively since they're a Mac format. However, you have a couple of options:
7-Zip can extract the contents of most DMG files. Right-click the DMG → 7-Zip → "Extract Here." You'll get the files inside, though Mac applications won't run on Windows.
If someone sent you a DMG and you need the files inside, ask them to re-send as a ZIP file instead. If they sent you a Mac application, it won't work on Windows regardless of how you extract it.