Whether you are emailing tax returns to an accountant, backing up private health records to cloud storage, or sharing client contracts across the internet, sending unencrypted files exposes your personal identity to interception.
While standard Windows and macOS zip features compress files into smaller sizes, they do not encrypt the data. To prevent unauthorized access, you must generate an archive protected by AES-256 (Advanced Encryption Standard). Here is how to create encrypted password-protected ZIP files on Windows 11 and macOS using free, trusted utilities.
Why AES-256 Encryption Is Essential (And Why Legacy ZipCrypto Fails)
When creating a password-protected zip file, the encryption cipher you select determines whether your data is secure or vulnerable:
- Legacy ZipCrypto: The vintage encryption algorithm developed in 1989. Modern computers and GPU password-cracking software (like Hashcat or John the Ripper) can break ZipCrypto passwords in minutes using known plaintext attacks, regardless of password length.
- AES-256: The modern cryptographic standard adopted by governments, banks, and cybersecurity institutions worldwide. An AES-256 encrypted zip file is impervious to brute-force attacks when paired with a strong passphrase.
- Encrypt File Names (Header Encryption): Standard zip tools hide file contents but leave file names (e.g., "2025_Tax_Return_SSN.pdf") visible. Top encryption tools scramble file names completely.
Method 1: On Windows 11 Using 7-Zip (Free & Open-Source)
Windows 11 does not natively include an AES-256 encryption option in File Explorer's basic "Compress to ZIP file" tool. The open-source program 7-Zip is the worldwide industry standard for Windows:
- Download and install 7-Zip from the official portal:
7-zip.org(choose the 64-bit Windows x64 installer). - Open File Explorer and highlight the files or folders you want to protect.
- Right-click the selected files, select Show more options (or hover over 7-Zip), and click Add to archive....
- In the 7-Zip configuration window:
- Archive format: Choose zip (or 7z if you want maximum compression and file name encryption).
- Encryption: Enter a strong password in the Enter password and Reenter password fields.
- Encryption method: Ensure AES-256 is selected (do NOT select ZipCrypto).
- Click OK.
- 7-Zip will generate a secure
.ziparchive in your folder. Anyone who attempts to extract or view files inside will be prompted for your password.
Method 2: On macOS Using Terminal (No Third-Party Apps Required)
macOS includes a native AES-256 encryption utility built directly into the UNIX Terminal:
- Place all files you want to encrypt into a single folder on your desktop (e.g., name the folder
Confidential). - Press Command + Space, type Terminal, and press Return.
- Change the directory to your Desktop by typing:
```bash
cd ~/Desktop
```
- Run the encrypted zip command:
```bash
zip -er SecureArchive.zip Confidential
```
(Note: The -e flag enables encryption; the -r flag compresses folders recursively).
- Terminal will prompt:
Enter password:. Type your secret password (keystrokes will remain invisible for security) and press Return. - Type the password a second time to verify and hit Return.
- A new file named
SecureArchive.zipwill appear on your Mac Desktop. Opening it in Finder will require entering your decryption password.
Method 3: On macOS Using Keka (Graphic User Interface)
If you prefer a clean graphic interface rather than command-line terminals on Mac:
- Download Keka (free open-source Mac file archiver from
keka.io). - Open Keka and choose ZIP format.
- Enter your password in the Password field.
- Drag and drop your documents directly into the Keka app window. Keka immediately outputs a password-protected zip file.
Crucial Rule: Transmitting the Password Securely
Never send the decryption password in the same email or message as the attached zip file. If an unauthorized party intercepts the email, they will have both the encrypted container and the key:
- Send the zip archive via email or cloud link.
- Send the decryption password through an encrypted secondary channel, such as Signal, WhatsApp, or an SMS text message.