ProtonBlog(new window)

It can be slightly difficult to encrypt a zip file using the tools available on your Windows or Mac. Unlike encrypting a PDF(new window) or an Excel file(new window), there’s no standardized software to use. You’ll need to rely on your device’s built-in encryption methods.

Alternatively, you can save your zip files to a secure cloud server, which will protect your files with end-to-end encryption. You’ll also be able to password-protect your zip files, share them, and access them from any device.

Scroll down for step-by-step instructions for each method.

1. Encrypt a zip file with cloud storage
2. Encrypt a zip file in the Mac Terminal
3. Encrypt a zip file with Mac Disk Utility
4. Encrypt a zip file with Windows

Encrypt a zip file with cloud storage

Encrypted cloud storage is simple and offers benefits beyond just protecting your zip file. With Proton Drive, you can set up a free account and secure all your files — not just zip files — in an end-to-end encrypted vault. No one will be able to access your files but you and anyone you choose to share them with.

You’ll also be able to access your files from anywhere using the Proton Drive apps for the web, Windows, iPhone, Android, and Mac (coming soon). The Windows app can also sync files automatically from any folder, and Proton Drive preserves a version history of your files, which is great for recovering lost data or reverting to an earlier version. 

Moreover, you may not even need to compress your files as Proton Drive lets you save and share large files for free.

Here’s how to encrypt a zip file in Proton Drive:

  1. Create a free Proton Account.
  2. Visit drive.proton.me(new window).
  3. Upload your zip file. It will be end-to-end encrypted so that only you can access it. Unlike other cloud storage providers, not even Proton can decrypt your data.

To password-protect the link to your file, right-click on the file and select Manage link. Then click Privacy settings in the window to set a password.

Learn more about how to use Proton Drive(new window)

Encrypt a zip file in the Mac Terminal

If you have a Mac, there’s a fairly easy way to encrypt your zip file, but you’ll need to use Terminal and enter some comments. The instructions below let you create a password-protected zip file by selecting any file or files on your computer.

Here’s how to do it:

  1. Open your Spotlight Search bar and search Terminal. You can also find Terminal in your Applications folder.
  2. Type zip -er desiredfilename.zip and then press the space bar once. Rather than “desiredfilename”, you should enter what you want your new zip file to be called. (In the example below, the file is called photo1.zip.)
  3. Drag and drop the file or files you want to compress into a zip file into the Terminal window.
  4. Press the Enter key.
  5. Next you will be prompted to enter a password. Note that no characters will appear in the Terminal. Press the Enter key and then verify your password.

Your Mac will create a new zip file. When you try to open it, you’ll be prompted to enter your password.

Encrypt a zip file with Mac Disk Utility

Another way to encrypt a zip file on your Mac is to put the zip file in a folder and then encrypt the folder using Disk Utility. (Mac will let you encrypt folders in Disk Utility but not individual files.)

The easiest way to encrypt a photo on your Mac is to move the photos to a folder and then encrypt the folder:

  1. Move the file or files you want to encrypt to a new or existing folder. Make sure you want to encrypt all the files in this folder.
  2. Next, go to FinderApplicationsUtilities.
  3. Open Disk Utility.
  4. In the Disk Utility application, select File from the top menu and select New ImageImage from Folder.
  5. Select the folder you want to encrypt and click on Choose.
  6. In the window that pops up, choose the kind of encryption you want to use. (Both 128-bit and 256-bit encryption are secure options.) Then enter a password. Do not lose this password. If you do not have your password, it will be impossible to recover your files. Click on Choose when you’re finished.
  7. Next to Image Format, select Read/Write and click on Save.

To access the folder again, double-click it and enter your password.

Encrypt a zip file with Windows

In Windows, you can simply right-click on the file or folder you want to encrypt and follow these instructions:

  1. Right-click or press and hold the zip file you want to encrypt. Select Properties.
  2. Click the Advanced… button and check the box next to Encrypt contents to secure data
  3. Select OK to close the Advanced Attributes window and then select Apply.
  4. Click OK.

Note: This feature is not available for Windows 10 Home.

Learn how to encrypt your entire hard drive in Windows(new window)

Conclusion

Proton is working to make it easier for anyone to protect the privacy and security of all their data with end-to-end encryption(new window). With other cloud storage services like Google Drive or Dropbox, the companies can scan your data. With Proton Drive, we encrypt your files on your device before they go to the cloud, so we never have access.

We believe the internet should be private by default, and our mission is to help you protect more of your online data from surveillance and hackers. That’s why we’re building a suite of online tools — from drive to email to calendar — that secure your data with end-to-end encryption.

Encrypting your zip files is a good start to being more private online. The more encrypted services you use, the more you’ll be taking back control of your data and building a better internet for the future. You can make the switch here.

FAQ

What is a zip file?

A zip file is an archive that stores one or more files that have been compressed, which is a way of reducing the size of a file. Zip files don’t lose any data when they’ve been constructed, meaning you can restore the original files in their entirety.

What is a zip file used for?

Zip files are useful if you need to save space on your device or transfer large files more quickly. Anyone can open a zip file, which is why it might be helpful to encrypt or password-protect them.

How do you make a zip file?

If you’re using a Mac, select the files you want to convert into a zip file. Then right-click on one of the selected files and click Compress. A new zip file will appear in the same location. On Windows, select the file or files you want to compress. Right-click, select Send to, and then select Compressed (zipped) folder.

Keep your files private, share them securely
Get Proton Drive free

Related articles

Secure, seamless communication is the foundation of every business. As more organizations secure their data with Proton, we’ve dramatically expanded our ecosystem with new products and services, from our password manager to Dark Web Monitoring for cr
what is a brute force attack
On the subject of cybersecurity, one term that often comes up is brute force attack. A brute force attack is any attack that doesn’t rely on finesse, but instead uses raw computing power to crack security or even the underlying encryption. In this a
Section 702 of the Foreign Intelligence Surveillance Act has become notorious as the legal justification allowing federal agencies like the NSA, CIA, and FBI to perform warrantless wiretaps, which sweep up the data of hundreds of thousands of US citi
In response to the growing number of data breaches, Proton Mail offers a feature to paid subscribers called Dark Web Monitoring. Our system checks if your credentials or other data have been leaked to illegal marketplaces and alerts you if so. Often
Your email address is your online identity, and you share it whenever you create a new account for an online service. While this offers convenience, it also leaves your identity exposed if hackers manage to breach the services you use. Data breaches
proton pass f-droid
Our mission at Proton is to help usher in an internet that protects your privacy by default, secures your data, and gives you the freedom of choice. Today we’re taking another step in this direction with the launch of our open source password manage