Proton

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

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

People and companies are generally subject to the laws of the country and city where they are located, and those laws can change when they move to a new place. However, the situation becomes more complicated when considering data, which can be subjec
Your online data is no longer just used for ads but also for training AI. Google uses publicly available information to train its AI models, raising concerns over whether AI is even compatible with data protection laws. People are worried companies
iPhone stores passwords in iCloud Keychain, Apple’s built-in password manager. It’s convenient but has some drawbacks. A major issue is that it doesn’t work well with other platforms, making it hard for Apple users to use their passwords and passkeys
There are many reasons you may need to share passwords, bank details, and other highly sensitive information. But we noticed that many people do this via messaging apps or other methods that put your data at risk. In response to the needs of our com
Large language models (LLMs) trained on public datasets can serve a wide range of purposes, from composing blog posts to programming. However, their true potential lies in contextualization, achieved by either fine-tuning the model or enriching its p
is Google Docs secure
Your online data is incredibly valuable, particularly to companies like Google that use it to make money through ads. This, along with Google’s numerous privacy violations, has led many to question the safety of their information and find alternative