A RAR file is a compressed archive that can contain hundreds of other files. RAR is popular because of how much the file size can be compressed, as well as the powerful encryption that is built-in. With just a few clicks, you can encrypt and password-protect any RAR archive. Without the correct password, unauthorized users won't even be able to see the names of the files it contains.

Method 1
Method 1 of 2:

Windows

PDF download Download Article
  1. This program allows you to create RAR archives that you can protect with a password. WinRAR isn't free, but you can use the trial version for forty days before you have to pay to keep using it. You can download WinRAR from rarlab.com/download.htm .
  2. There are a couple of different ways that you can do this: [1]
    • Open the WinRAR window and then browse for the files you want to add. Select all the files and then click the "Add" button.
    • Select all of the files you want to archive in Windows. Right-click on your selection and choose "Add to archive...". [2]
    Advertisement
  3. By default, it will be named after the folder the files were originally in.
  4. Set password... button. This is located in the General tab of the "Archive name and parameters" window that appears when creating a new archive.
  5. Enter it a second time to confirm it. You can check the "Show password" box to see the characters as you type them. [3]
  6. This will ensure that no one can see the names of the files contained in the RAR file until after they have successfully entered the password.
  7. OK to save your password. Click OK in the "Archive name and parameters" window to create your new RAR file.
  8. After the RAR file is created, you can double-click it to test it out. When you try to extract it, you will be prompted for the password you created.
  9. Advertisement
Method 2
Method 2 of 2:

Mac

PDF download Download Article
  1. This is a lightweight archive program that can create simple RAR files. It is not as powerful as WinRAR on Windows, as the RAR format was developed by RARLAB, the creator of WinRAR.
    • WinRAR has a Mac version available as well, but it is in beta and only supports the Terminal. You can download it from rarlab.com/download.htm . Avoid using the "Get WinRAR FREE with TrialPay" option. This will attempt to install adware on your computer.
  2. A window will appear allowing you to add files to the new RAR file.
  3. You can drag and drop any files you'd like into the SimplyRAR window to add them to the list of files to be compressed and archived.
  4. This will tell SimplyRAR that you want to add a password when the RAR file is created.
  5. After checking the box, you will be prompted to create a password. You will need to enter it twice in order to use it.
  6. You will be asked to name the file and choose where you want to save it.
    • Note: Unlike WinRAR, you are not given the option to encrypt file names when password-protecting a RAR file.
  7. After the RAR file is created, you can double-click it to test it out. When you try to extract it, you will be prompted for the password you created.
  8. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Article Summary X

      1. Open WinRAR.
      2. Add your files to a new RAR archive.
      3. Name the archive.
      4. Click Set password .
      5. Enter and confirm the password.
      6. Check the "Encrypt file names" box.
      7. Click OK .

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 910,249 times.

      Reader Success Stories

      • Hossein Abtahi

        Jul 9, 2016

        "Most of the sites I Googled showed the way of setting passwords on Winrar files. But the most important thing here ..." more
      Share your story

      Is this article up to date?

      Advertisement