Can't open a password-protected ZIP on a Mac?
If a ZIP won’t open on your Mac and you see one of these, that doesn’t mean the archive is damaged:
need PK compat. v5.1 (can do v4.5)fromunzipin Terminalunsupported compression method 99fromunzip, depending on which app made the ZIPUnknown compression typefromditto
All three mean the ZIP is encrypted with AES, the strong kind of ZIP
encryption that apps like 7-Zip and WinRAR can create. The unzip built into
macOS only handles ZipCrypto, the older and weaker kind, and ditto can’t
open password-protected ZIPs at all. Both stop without asking for the
password. (“Method 99” is the number the ZIP
format uses to mark AES-encrypted entries.)
You need an app that reads AES ZIPs, plus the password from whoever sent it.
Free ways to open an AES ZIP
Purrchiver (Mac App Store): opening encrypted archives is free. Open the ZIP, enter the password, then browse and extract.
The Unarchiver (Mac App Store): free, and opens AES ZIPs. See Purrchiver vs The Unarchiver.
Terminal: 7-Zip’s command-line version. With Homebrew,
brew install sevenzip, then:7zz x file.zipIt asks for the password and extracts into the current folder.
If it still won’t open
- “Wrong password” really can mean the password: check for a trailing space or the wrong keyboard layout. In Purrchiver, passwords with non-ASCII characters (accented letters, emoji) aren’t supported for ZIP.
- Any other error, with the right password, usually means the file is damaged or the download didn’t finish. Download it again first. See Why a ZIP turns into a .cpgz and Repair a damaged ZIP.
Making one yourself
To send a ZIP that only the right person can open, see How to password-protect a ZIP file on a Mac. Remember that the person receiving it needs an app like the ones above.