Mac opens most compressed files automatically
When you download a compressed file on Mac — usually a .zip, .rar, .7z, or .tar.gz file — your Mac often extracts it without you doing anything. The file appears in your Downloads folder as a regular folder or file, ready to use. If that does not happen, or if you have a less common compressed format, you can extract it yourself using built-in tools or a third-party app.
The method depends on the file type. Most .zip files decompress on their own. Older formats like .rar and .7z need either a dedicated app or command-line tools. Knowing which tool to reach for saves time and prevents you from accidentally trying to open a compressed file as if it were already extracted.
Key Takeaways
- Mac automatically extracts .zip files when you download them, so check your Downloads folder first before assuming you need to do anything.
- For .rar, .7z, and .tar.gz files, you can use the Archive Utility app that comes with Mac, or download a third-party app like The Unarchiver or BetterZip.
- Double-clicking a compressed file in Finder usually starts the extraction process, and the decompressed version appears in the same folder.
- If a file does not extract automatically, right-click it and choose "Open With" to select a decompression tool manually.
Using Mac's built-in Archive Utility
Archive Utility is installed on every Mac and handles .zip, .tar, .tar.gz, and .cpio files without needing to download anything. To use it, double-click the compressed file in Finder. Archive Utility runs in the background and extracts the contents to the same folder, usually within a few seconds.
If you want to change which app opens compressed files by default, right-click the compressed file, select "Open With," and choose Archive Utility from the list. You can also set it as the default for all files of that type by clicking "Change All" in the dialog that appears.
Archive Utility works quietly — you will not see a window pop up. The extracted folder or file simply appears next to the original compressed file. If extraction fails, Finder shows an error message telling you the file may be damaged or use an unsupported format.
Opening .rar and .7z files with The Unarchiver
Mac's built-in tools do not handle .rar or .7z files. The Unarchiver is a free app from the Mac App Store that opens these formats plus many others. Download it, then double-click any .rar or .7z file and choose The Unarchiver from the "Open With" menu. The app extracts the file and closes automatically.
The Unarchiver also works with .zip, .tar.gz, and dozens of other formats, so it can replace Archive Utility if you prefer a single app. It has no ads, no paid features, and no complicated settings — it extracts and gets out of your way.
Using BetterZip for more control
BetterZip is a paid app ($29.99) that gives you more options when extracting files. Instead of automatically decompressing everything, BetterZip opens a preview window showing what is inside the compressed file. You can then choose which files to extract, where to put them, and whether to skip duplicates or overwrite existing files.
BetterZip also lets you create compressed files, edit what is inside them without extracting first, and handles damaged or incomplete archives better than the built-in tools. If you work with compressed files regularly or need fine control over extraction, the cost may be worth it. A free trial is available on the BetterZip website.
Extracting files from the command line
If you are comfortable using Terminal, you can extract compressed files without opening any app. Open Terminal (in Applications > Utilities), type cd Downloads to move to your Downloads folder, then use one of these commands:
- unzip filename.zip — extracts .zip files
- tar -xzf filename.tar.gz — extracts .tar.gz files
- tar -xf filename.tar — extracts .tar files
Replace "filename" with the actual name of your file. The extracted contents appear in the same folder. This method is faster if you extract many files at once, and it works for any format Mac supports.
What to do if a file will not extract
A compressed file may fail to extract if it is damaged, incomplete, or uses a format your Mac does not recognize. First, try downloading the file again — incomplete downloads are the most common cause. Then try a different decompression app, since some handle damaged files better than others.
If the file came from an email or messaging app, check whether it was truncated during transfer. Some email clients limit attachment size or strip certain file types. Ask the person who sent it to re-send it, or download it from a cloud storage link instead.
If you know the file format but no app on your Mac can open it, search the Mac App Store or the web for an app that handles that specific format. Formats like .iso, .dmg, and .001 (multi-part archives) need specialized tools.
Frequently Asked Questions
Why did my .zip file extract automatically when I downloaded it?
Safari and some other browsers automatically extract .zip files after downloading them. This is a convenience feature — the compressed file is deleted and only the extracted version remains. If you need to keep the original .zip file, change your browser settings to not auto-extract, or download the file using a different method.
Can I open a compressed file without extracting it?
BetterZip lets you preview and access files inside a compressed archive without fully extracting it. Some apps also let you open files directly from inside a .zip without decompressing the whole thing. For most uses, though, extraction is simpler and faster.
What is the difference between .zip, .tar.gz, and .rar?
.zip is the most common format and works on Mac, Windows, and Linux. .tar.gz is used mostly for software and source code on Mac and Linux. .rar is older and less common but still used for large file collections. Mac handles .zip and .tar.gz natively; .rar needs a third-party app.
Is it safe to download and extract files from the internet?
Compressed files themselves are safe — the risk is what is inside them. Only extract files from sources you trust. Mac's Gatekeeper will warn you if an app inside a compressed file is from an unrecognized developer; you can choose to open it anyway or move it to Trash.
Where do extracted files go?
Extracted files appear in the same folder as the compressed file. If you downloaded the .zip from the web, the extracted version is in your Downloads folder. You can then move it anywhere you want using Finder.