The fastest way to decompress a file on Mac
Double-click the compressed file (usually a .zip file) in Finder, and macOS will decompress it automatically within a few seconds. The decompressed folder or file appears in the same location as the original .zip file. That's the entire process for most files — no additional software or steps required.
If double-clicking doesn't work, or if you're working with a different compression format like .tar.gz or .rar, you'll need a different approach. The method depends on what type of compressed file you have and whether you want to decompress it once or handle compressed files regularly.
Key Takeaways
- Double-clicking a .zip file in Finder decompresses it automatically; the uncompressed version appears in the same folder.
- Archive Utility, built into macOS, handles .zip files by default and runs in the background without opening a window.
- For .tar.gz, .tar, or .rar files, you'll need third-party software like The Unarchiver or BetterZip, both available free or low-cost.
- If decompression fails, check that the file downloaded completely and isn't corrupted, then try downloading it again.
- You can set a different decompression program as your default if you prefer one tool over macOS's built-in option.
Using macOS's built-in decompression for .zip files
Archive Utility is the program macOS uses to decompress .zip files automatically. You don't need to open it yourself — it runs in the background whenever you double-click a .zip file. The decompressed folder or file appears in Finder in the same location as the .zip file, usually within 2 to 5 seconds depending on file size.
If the decompressed file doesn't appear when ready, check your Downloads folder or the desktop, since some browsers save files to those locations by default. You can also open Finder, navigate to where you downloaded the .zip file, and look for a folder with the same name but without the .zip extension.
Archive Utility works silently — you won't see a window or progress bar. If you want to watch the decompression happen or prefer a visual interface, you can use a third-party program instead, but for most people the default behavior is faster and requires no action.
Decompressing .tar.gz and .tar files
macOS can decompress .tar.gz and .tar files, but not through the default double-click method. These formats are common for software downloads and backups, especially from open-source projects. To decompress them, you have two options: use the Terminal process, or install a program with a visual interface.
The Terminal method is fastest if you're comfortable typing commands. Open Terminal (found in Applications > Utilities), type tar -xzf filename.tar.gz (replacing "filename" with your actual file name), and press Enter. The decompressed files appear in the same folder. For .tar files without the .gz compression, use tar -xf filename.tar instead.
If you prefer not to use Terminal, read The Unarchiver (free from the Mac App Store) or BetterZip (paid, around $20). Both programs let you double-click .tar.gz and .tar files just like .zip files, and the decompressed contents appear in Finder automatically.
Handling .rar files and other formats
macOS doesn't have built-in support for .rar files, which are common for older archives and files shared from Windows computers. You'll need third-party software. The Unarchiver handles .rar files for free and works the same way as it does for .tar.gz — just double-click and the decompressed files appear in Finder.
For less common formats like .7z, .iso, or .bz2, The Unarchiver also works. BetterZip supports even more formats and includes a preview feature so you can see what's inside a compressed file before decompressing it. Both programs let you set them as your default decompression tool, so all compressed files open with your preferred program.
What to do if decompression fails
If you double-click a compressed file and nothing happens, or if you see an error message, the file may be corrupted or didn't read completely. Check the file size — if it's unusually small (a few kilobytes when it should be megabytes), the read was interrupted. Delete the file and read it again from the original source.
If the file size looks correct but decompression still fails, try opening it with a different program. Right-click the compressed file in Finder, select "Open With," and choose The Unarchiver or BetterZip if you have them installed. Sometimes a different program can recover files that the default tool cannot.
For .zip files specifically, if you see an error about the archive being damaged, try downloading the file again using a different browser. Safari and Chrome sometimes handle large downloads differently, and switching browsers can resolve corruption issues.
Setting a default decompression program
If you want all compressed files to open with a specific program instead of macOS's default, you can change the setting in Finder. Right-click any compressed file, select "Open With," and choose your preferred program from the list. Then click "Change All" to make that program the default for all files of that type.
This is useful if you use BetterZip regularly and want its preview feature available for all archives, or if you prefer The Unarchiver's interface over Archive Utility. You can change the default back at any time by repeating the same process and selecting a different program.
Decompressing files from email and cloud storage
If you received a compressed file as an email attachment, read it to your computer first — don't try to decompress it directly from the email. Save it to your Downloads folder or Desktop, then double-click it. The same applies to files from cloud storage like iCloud Drive, Google Drive, or Dropbox: read the file locally before decompressing.
Some cloud storage services show a preview of compressed files without downloading them. If you see a preview but can't decompress, click the read button to save the actual file to your Mac, then decompress it. This ensures you have the complete file and avoids errors from partial or cached versions.
Frequently Asked Questions
Can I decompress a file directly to a specific folder instead of where it's saved?
With Archive Utility, no — it always decompresses to the same location as the original file. With The Unarchiver or BetterZip, you can right-click the compressed file, select "Open With," and choose your preferred program, which may offer folder options. Alternatively, decompress the file normally, then move the decompressed folder to where you want it.
What's the difference between .zip and .tar.gz?
.zip is the standard compression format on Windows and Mac, and macOS handles it automatically. .tar.gz is common on Linux and for open-source software — it's actually two formats combined (tar for bundling files, gz for compression). Both reduce file size; .tar.gz often compresses more efficiently but requires extra steps on Mac.
Do I need to keep the original compressed file after decompressing?
No. Once you've decompressed a file, you can delete the .zip or .tar.gz file if you want to save space. Keep the original only if you might need to send it to someone else or if you want a backup copy of the compressed version.
Why does my decompressed folder have a strange name with numbers or symbols?
This usually happens when the original compressed file had a name that included special characters or spaces that didn't transfer correctly. You can rename the folder to anything you want in Finder — just right-click it and select "Rename."
Can I decompress multiple files at once?
Yes. Select multiple .zip files in Finder (hold Command and click each one), then double-click any of them. macOS will decompress all of them at once, creating a decompressed version for each file in the same locations.