ZIP protected: Compress a folder with password on Windows, macOS and Linux

ZIP protected: Compress a folder with password for free.

Want to know how to go about compressing a folder with password? With two of different compression tools used, 7-Zip et WinRAR, you will be able to compress a folder of your choice and condition its password access.

To read or extract its content, any compressed folder will require entering the password configured upstream. It is therefore an alternative for those looking for an additional means of secure your files. Whether on a personal computer or for collective use, here's how to do it step by step.

Use 7-Zip to compress a folder with password

7-Zip is a free data compression and archiving tool. It has high compression ratio and supports multiple compression formats like 7z, ZIP, CAB, RAR, ARJ, GZIP, BZIP2, etc. Free and efficient, it differs from several compression tools by its efficiency.

To use 7-Zip and compress a password folder, you will need to download the software for free. This is a very light installation file, so no need to worry about your data.

Download 7-Zip for Windows and macOS.

After downloading, launch the file for installation. At the end of the installation, click on " Close " to close. 7-Zip will take care of automatically integrating into your operating system. It will then be accessible directly from the contextual menu.

Compression of the backrest with 7-Zip

To compress a folder with a password, go to the file explorer and select the folder of your choice. Right click on it:

Adding the folder to the archive with 7-Zip

In the context menu, locate 7-Zip and point the cursor over it. A secondary menu will appear, click on " Add to archive ... ". From there you will have the advanced compression options. This is where the entire compression operation will be able to be done.

Folder configuration before compression

As you will have noticed, there are several encryption options, from the archive format to the encryption method. Some options vary depending on the archive format, others remain the same despite selecting another format. Choose the zip, tar format or leave the default one, 7z.

Whichever format you choose, leave the default settings, or change them to suit your preferences. If you know your way of course. And if you don't know much about it, leave the default settings. They are already good for standard secure archiving.

Then enter the password and confirm it once more. Towards the bottom right of the window, check or uncheck the " Encrypts file names ". By checking this, the files will be encrypted in their entirety, up to their names. Then click on OK to start the operation.

This operation will take a relatively long time, depending on the size of the file concerned and the computing power of your computer. You can pause it, play it in the background, or even just cancel it. At the end, your compressed folder will be visible next to the original folder.

Read also: Recover damaged or deleted data on PC and Mac.

Editing, adding files to the 7-Zip compressed folder

Apart from compressing a folder with a password, 7-Zip also offers the possibility of modifying an already compressed folder. You can modify its content by adding, deleting files, or renaming them at will. To do this, open the newly compressed and encrypted folder by entering your password:

Open compressed folder with password

Open the folder and view its items. By right-clicking on a file of your choice contained in the folder, you can either rename it, delete it, etc. You can even create another folder in there or add more files to it. To add a file to it, do the following:

Editing, Adding a file to the 7-Zip compressed folder

Open the folder containing the target file. While the 7-Zip folder will be open, drag and drop the relevant file into the 7-Zip folder. The software will perform its compression and add it to the folder immediately after.

If you are returned a message stating that the file is in use by another process, then start with stop the 7-Zip File Manager process in the task manager. After that everything will work wonderfully.

Read also: Password Lock Folder, Lock File for Free.

Use WinRAR to compress folder with password

WinRAR is another free compression tool used by many people for archiving their data. It is available in several languages ​​and on several platforms. You can thus use WinRAR on Windows, macOS, Linux and even on your Android smartphone.

Like 7-Zip, WinRAR supports several compressed file formats. It allows compressing a folder with password in a very easy way. Here are the steps to lock your folders or files with WinRAR:

Download WinRAR for Windows, macOS, Linux and Android.

After downloading, install the software. Then go to your file explorer, choose a folder or file of your choice. Right click on it and choose " Add to archive ... ". The WinRAR icon will serve as a guide:

Adding a folder to the archive with WinRAR

WinRAR also offers several compression options. After choosing to add your folder, file to the archive, you will have the window with the advanced compression settings. Select the archive format (ZIP, RAR or RAR4) and the compression method (Optimal):

Configuring archiving with WinRAR

You can ignore the options " Dictionary size " and " Split by volume ". To then compress a folder with a password, click on the " Set a password »And start the compression. Enter one and remember to remember it, it will then be your right to access the compressed file.

Editing, adding files to WinRAR compressed folder

After compression, access to the items in the folder will be conditioned each time by a password, the one configured. Even after you finish compressing a folder with password using WinRAR, you will still be able to make changes to it.

Modification, Adding items to the WinRAR compressed folder

For each file, a certain number of maneuvers are possible. You will be able to rename, delete a file of your choice, create or add a folder or file. To add a folder, a file, proceed by dragging and dropping, or as follows:

Adding new files to the WinRAR compressed folder

Click on " Add », Browse your disk to choose the file, the folder of your choice. Then click once again on the password configuration button. You wonder why still a password?

Well it's about adding a new file to an already existing archive. However, this was not the case with 7-Zip! You will understand, each software works in its own way. If you do not put a password, WinRAR will not be able to protect the new file, folder that you are going to add.

Since it was not in the compressed folder initially, then it will be extractable without password. And therefore, not secure. But don't take my head, put the same password as for the whole file. For simplicity. But you can also put a whole other.

There are other methods to compress a folder with password. But by using these two presented above, you will be able to archive any folder, file of your computer by securing it. And not just those on your computer, since WinRAR can also be used on Android.

Leave comments

Your email address will not be published. Required fields are marked with *