How to Zip, RAR, and password protect files in Windows 11

Windows 11 can create ZIP files on its own. For password-protected ZIPs, use 7-Zip. For RAR files, use WinRAR. The built-in ZIP option does not support passwords, so you will need 7-Zip for that.

You do not need to buy any premium software to protect or compress your data. Method 1 uses the Windows 11 right-click menu. Method 2 uses 7-Zip for password protection. Method 3 uses WinRAR for RAR files.

ADVERTISEMENT

How to create a standard ZIP file (no extra software)

Windows 11 can create ZIP files right inside File Explorer with no extra software.

  1. Open File Explorer.
  2. In File Explorer, go to the files or folders you want to compress into a ZIP file.
  3. Select the files or folders.
  4. Right-click the selection.
  5. Hover your mouse over Compress to.
  6. Select ZIP File.
Right-click, hover over Compress to, and click ZIP File

Windows creates a new ZIP file in the same folder. The name is highlighted, so you can type a new name right away.

ADVERTISEMENT

How to create a password-protected ZIP file using 7-Zip

Windows 11 cannot add a password to a ZIP file on its own. To add a password, you will need the free program 7-Zip. You can download and install 7-Zip from the official 7-Zip.org website.

  1. Open File Explorer.
  2. In File Explorer, go to the files or folders you want to compress and protect.
  3. Select the files or folders.
  4. Right-click the selection.
  5. Click Show more options.
  6. Hover over 7-Zip.
  7. Click Add to archive.
  8. Set the Archive format dropdown to zip.
  9. In the Encryption section, type your password into both text fields.
  10. Set the Encryption method dropdown to AES-256.
  11. Click OK.
Enter password and select AES-256 encryption method in 7-Zip

How to create a RAR file using WinRAR

RAR is a paid compression format. You need WinRAR to create one. You can download and install WinRAR from the official WinRAR website.

Note: WinRAR is free after a 40-day trial. You will see a reminder to buy a license each time you open it, but the software keeps working.

  1. Open File Explorer.
  2. In File Explorer, go to the files or folders you want to compress.
  3. Select the files or folders.
  4. Right-click the selection.
  5. Hover over WinRAR.
  6. Click Add to archive….
  7. Click OK.

    Tip: If you do not see WinRAR, click Show more options at the bottom of the menu first.

Right-click, hover over WinRAR, click Add to archive

WinRAR creates a new RAR file in the same folder. Note: You can password-protect a RAR file the same way. In the WinRAR window, click Set password before clicking OK.

ADVERTISEMENT

Related:

How to open ZIP, RAR, or 7Z files on Windows 11


Windows