How to Password Protect a Zip File for Free

Last Updated on July 3, 2026

Zip files are a commonly used file format that most people have had some experience with. They are commonly used to compress files to make them smaller so you can do things such as email them or upload them to your favorite cloud sharing platform such as Dropbox or Google Drive.

Zip files are also used to combine multiple files into one single file while compressing them at the same time. Once these zip files are created, you can then easily extract the file or files contained within them as needed.

How to Password Protect a Zip File for Free in Windows using 7-Zip

Sometimes you will find that you have the need to password protect a zip file so its contents cannot be accessed with out knowing the password. You would think Windows would include this option in the operating system since you can create zip files from any of your files and folders as needed but unfortunately, they do not. In this article, we will be showing you how to password protect a zip file for free using a commonly use free app called 7-Zip.

Creating a Secure Zip Archive

1. Install the 7-Zip Software

Once you download the 7-Zip app from their website, you can install it just like any other program. You will then have a new option automatically added to the right click context menu in File Explorer. This integration makes creating archives incredibly fast.

2. Select Your Target Files

To zip up files and folders, all you need to do is select the ones you want to add to your zip file. You can hold down the Ctrl key while clicking to select multiple files at once. Right click on any of the highlighted files to open the context menu.

3. Open the Archive Tool

Choose the 7-Zip option and then select Add to archive from the flyout menu. If you want to create a zip file without a password, you can simply choose the Add to “filename.zip” option. This will have the zip file created instantly in the exact same folder as the files you selected.

How to Password Protect a Zip File for Free
7-Zip right click -Add to archive

Configuring the Archive Settings

1. Set the Archive Name and Format

After you choose the Add to archive option, you will then be shown a new screen with several options that you can use to configure your new zip file. The main settings you will need to focus on are the Archive name and the Archive format. You have several options for the archive format including 7z, tar, wim and zip.

2. Choose the Best Format

You will most likely be using either zip or 7z. The standard zip file type is the most common type of compressed file and most compatible with other zipping apps and operating systems. The 7z format offers slightly better compression rates but requires the recipient to also have 7-Zip installed to open it.

 Password Protect a Zip File with 7-Zip
7-Zip add to archive settings

3. Enter Your Secure Password

You can then type the password you want to use for the zip file in the Encryption settings area on the bottom right. You must type it twice to verify the spelling. Make sure you remember this password because there is no way to recover it if you forget it.

4. Hide the File Names

If you use the 7z archive format, you will have a special option to encrypt file names. Check this box and it will prevent people from even seeing the names of the files within your zip file. If you do not use this option or use the standard zip archive

Zip file in File Explorer
Zip file contents

5. Verify the Password Protection

But once they try to open a file, extract the zip file, or drag a file out of the zip file folder, they will be stopped. They will be immediately prompted to enter the password that you created for the zip file. The extraction will fail if the incorrect password is provided.

Password protected zip file
Password needed to open file

As you can see, its fairly easy to password protect a zip file for free when you have the right software to do so. You can download the 7-Zip program from their website here.

If you didn’t know, you can also password protect your Office documents as well for extra security.

Todd Simms

Todd Simms has over 15 years of experience in the IT industry specializing in Windows, networking and hardware.

Related Posts

© 2026 Online Computer Tips
Website by Anvil Zephyr