keepcalculator

06 Numbers and Powers

Unzip Files on Mac: Built-In & Free Ways

Card No. 06·6622 · Updated · Standard formula, shown below

To unzip files on a Mac, double-click the ZIP archive in Finder — Archive Utility automatically extracts its contents to the same folder. For more control (like unzipping to a specific location or handling password-protected files), you can use the built-in Archive Utility, the Terminal command unzip, or a free third-party app like The Unarchiver. This guide covers every built-in method, common problems, and when you might need extra software.

How macOS Unzipping Works

macOS has a built-in archiving system called Archive Utility, which handles both creating and extracting ZIP files. When you double-click a ZIP, Finder sends it to Archive Utility, which decompresses it and places the contents in the same directory as the original file. If a file with the same name already exists, macOS appends a number in parentheses (e.g., report (2).pdf) rather than overwriting. This behavior is automatic and requires no setup.

Archive Utility also handles other common formats like .gz, .tar, and .bz2, but not every format you might encounter — that’s where third-party tools come in.

Built-In Methods to Unzip

1. Double-Click (Easiest)

  • Locate the .zip file in Finder.
  • Double-click it. The contents appear in a new folder (or as individual files) next to the original ZIP.
  • If the ZIP contains a single file, macOS may extract it directly without creating a folder.

2. Right-Click → Open With → Archive Utility

  • Control-click (or right-click) the ZIP file.
  • Choose Open With → Archive Utility.
  • Same result as double-clicking, but useful if you have another app set as the default.

3. Terminal (For Power Users)

Open Terminal (in Applications/Utilities) and use the unzip command:

  1. Type cd followed by the path to the folder containing the ZIP. For example: cd ~/Downloads
  2. Type unzip filename.zip and press Return.
  3. To extract to a specific folder: unzip filename.zip -d /path/to/destination

This method gives you more control and works even if Finder is unresponsive.

How to Choose a Third-Party Unzipper

The built-in tools handle standard ZIP files well, but you may need a third-party app if you regularly encounter:

  • RAR files (.rar) — not natively supported by macOS.
  • 7z files — also not natively supported.
  • Password-protected ZIPs — Archive Utility can handle these, but only with the password typed each time.
  • Split archives (e.g., .z01, .z02) — need an app that can recombine parts.

Popular free options include The Unarchiver and Keka. Both are open-source and available on the Mac App Store or the developers’ websites. They integrate with Finder, so you can right-click and choose “Open With� just like the built-in tool.

Common Problems and Fixes

“Unable to expand� error

This usually means the ZIP file is corrupted or incomplete. Try downloading it again. If it still fails, use Terminal: unzip -t file.zip tests the integrity of the archive.

Files appear as garbled names (e.g., “中�)

This is a character-encoding issue, common with ZIPs created on Windows or in non-English locales. Third-party tools like The Unarchiver often handle this better than the built-in utility.

ZIP contains a Mac-specific file (__MACOSX)

These hidden folders store Finder metadata. They are harmless but can clutter your extraction. You can delete them manually, or use a tool like Keka, which has an option to skip them.

Password-protected ZIP won’t open

Archive Utility will prompt for the password. If you don’t know it, there is no legitimate way to bypass it — the encryption is strong. If you do know the password but it fails, the ZIP may use an older encryption method (ZipCrypto) that some tools refuse; try The Unarchiver.

Comparing Built-In vs. Third-Party

Feature Archive Utility The Unarchiver / Keka
ZIP Yes Yes
RAR No Yes
7z No Yes
Password-protected ZIP Yes (basic) Yes (more formats)
Repair damaged archives No Sometimes
Cost Free (built-in) Free (open-source)

For most users, the built-in tool is enough. Only install a third-party app if you encounter formats or features it can’t handle.

Safety and Security When Unzipping

ZIP files can contain malicious content. Before extracting, consider:

  • Only open ZIPs from trusted sources. A ZIP can contain a script that runs when you double-click it (e.g., a .command file).
  • Check the contents before extracting: right-click the ZIP and choose Quick Look (press Space) to preview the file list.
  • If a ZIP contains an executable file (.app, .exe, .sh) that you weren’t expecting, do not run it.
  • macOS’s Gatekeeper will warn you if you try to open an app downloaded from the internet, but it doesn’t scan the contents of a ZIP for malware automatically.

Frequently Asked Questions

Can I unzip a file without installing anything?

Yes. Double-clicking a ZIP works out of the box on every Mac. For RAR or 7z files, you’ll need a third-party app, but ZIP is the most common format.

Why does unzipping create a __MACOSX folder?

That folder stores Finder metadata (like icon positions and custom attributes) for files inside the ZIP. It’s created by macOS when you compress files. It’s safe to delete after extraction.

How do I unzip a file to a specific folder?

Use Terminal: unzip file.zip -d /path/to/folder. Or, after double-clicking, move the extracted folder to your desired location.

What if the ZIP is password-protected?

Double-click it and enter the password when prompted. If the password is unknown, you cannot extract the contents — there is no legitimate bypass.

Can I unzip multiple files at once?

Yes. Select all the ZIP files in Finder, then double-click any one of them. Archive Utility will extract all of them in one go.

Does unzipping damage the original file?

No. Extraction reads the ZIP file and creates new files; the original ZIP remains untouched. You can delete it manually after extracting if you wish.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →