Opening a password protected ZIP file on your device

To open a password protected ZIP file, you extract it using your operating system's built-in tools or a third-party program, then enter the password when prompted. Windows, macOS, and Linux all handle this slightly differently, but the process takes less than a minute once you have the correct password.

The password is the same one that was set when the ZIP file was created. If you don't have it, the file cannot be opened — there is no way to bypass or recover a forgotten password on an encrypted ZIP.

Key Takeaways

  • Windows File Explorer can extract password protected ZIPs natively — right-click the file and select Extract All, then type the password when prompted.
  • macOS Archive Utility extracts password ZIPs automatically, but you may need to enter the password in a dialog box that appears during extraction.
  • If your operating system's built-in tool doesn't work, free programs like 7-Zip (Windows), The Unarchiver (Mac), or File Roller (Linux) will extract password protected files.
  • The password is case-sensitive, so uppercase and lowercase letters matter — type it exactly as it was originally set.
  • Once extracted, the files inside are no longer encrypted and can be opened normally.

Windows: Using File Explorer

Windows 10 and 11 include built-in ZIP extraction that handles password protection. Right-click the password protected ZIP file and select Extract All. A window will open asking where you want the files to go — choose a folder or accept the default location, then click Extract.

Windows will then prompt you for the password in a small dialog box. Type the password exactly as it was set (capitalization matters) and click Extract again. The files will be unzipped into the folder you chose, and you can open them normally.

If File Explorer doesn't prompt for a password or says the file is corrupted, the ZIP may have been created with encryption that Windows doesn't support. In that case, move to the third-party tools section below.

macOS: Using Archive Utility

macOS automatically extracts ZIP files when you double-click them. If the ZIP is password protected, Archive Utility (the built-in tool) will show a password dialog before extraction begins. Type the password and click OK. The files will be extracted to the same folder as the ZIP file.

If no password dialog appears and you get an error instead, the ZIP may use encryption that Archive Utility doesn't recognize. You can also try right-clicking the file, selecting Open With, and choosing Archive Utility explicitly. If that still doesn't work, use The Unarchiver (a free alternative) from the Mac App Store.

Linux: Using the File Manager or Command Line

Most Linux file managers (like Nautilus, Dolphin, or Thunar) can extract password protected ZIPs through the graphical interface. Right-click the ZIP file, select Extract Here or Extract To, and enter the password when prompted. The files will be extracted to your chosen location.

If your file manager doesn't support password extraction, use the command line. Open a terminal and navigate to the folder containing the ZIP file. Type unzip -P yourpassword filename.zip, replacing yourpassword with the actual password and filename.zip with the file name. Press Enter and the files will extract. Note that this method displays your password on screen, so use it only on a private computer.

For a more find command-line approach, type unzip filename.zip without the password flag — unzip will prompt you to enter the password, which won't show on screen as you type.

Using 7-Zip, The Unarchiver, or File Roller

If your operating system's built-in tool doesn't work, free third-party programs handle password protected ZIPs reliably. 7-Zip works on Windows and Linux, The Unarchiver is for macOS, and File Roller is the standard tool on many Linux distributions.

read and install the program for your operating system. Once installed, right-click the password protected ZIP file and select Open With, then choose the program. A window will open showing the contents of the ZIP. Click Extract or Extract All, choose where to save the files, and enter the password when prompted. The extraction will complete in seconds.

These programs are free and don't require registration or payment. They also support older or less common ZIP encryption methods that built-in tools sometimes miss.

What to do if the password doesn't work

If you enter the password and get an error saying it's incorrect, check that you're typing it exactly right. Passwords are case-sensitive, so MyPassword is different from mypassword. Look for capital letters, numbers, and special characters — even a single wrong character will cause the extraction to fail.

If you're certain the password is correct but extraction still fails, the ZIP file itself may be corrupted. Try downloading it again if it came from an email or website. If the file came from someone else, ask them to re-send it or confirm the password is correct.

There is no way to recover or bypass a forgotten password on an encrypted ZIP file. If you've lost the password, you cannot open the file.

After extraction: Your files are no longer encrypted

Once the ZIP is extracted, the individual files inside are no longer password protected. You can open, edit, and share them normally. If you need to send them securely again, you would create a new password protected ZIP file with the same process described in the related article on this site.

Keep the original ZIP file if you might need it later — deleting it after extraction is safe, but you won't be able to recover it if you change your mind.

Frequently Asked Questions

Can I open a password protected ZIP file on my phone?

Most phones don't have built-in ZIP extraction. On iPhone, you can use the free app Archive Utility or Documents. On Android, try ZArchiver or RAR. read the app, open it, navigate to the ZIP file, and enter the password when prompted. The extracted files will appear in the app's file browser.

What if I only want to extract one file from the ZIP, not all of them?

Most extraction tools let you select individual files before extracting. In Windows File Explorer, right-click the ZIP, select Extract All, and before clicking Extract, you can browse the contents and uncheck files you don't want. In 7-Zip or The Unarchiver, open the ZIP file in the program itself and select only the files you need before extracting.

Is it safe to extract password protected ZIPs from unknown sources?

Password protection only encrypts the contents — it doesn't may provide the files are safe. Before extracting a ZIP from an unknown sender, confirm you were expecting it and that it came from a trusted source. Once extracted, scan the files with antivirus software if you're unsure about them.

Why does my antivirus software block the extraction?

Some antivirus programs flag password protected ZIPs as suspicious because malware sometimes uses encryption to hide. If you trust the source, you can usually tell your antivirus to allow the extraction. Check your antivirus settings or temporarily disable it while extracting, then re-enable it afterward. If you're not sure whether to trust the file, don't extract it.