How to Add a Password to a RAR File

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

Download Article
  1. How.com.vn English: Step 1 Download and install WinRAR.
    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. How.com.vn English: Step 2 Add your files to a new RAR archive.
    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. How.com.vn English: Step 3 Give your archive a name.
    By default, it will be named after the folder the files were originally in.
  4. How.com.vn English: Step 4 Click the .
    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. How.com.vn English: Step 5 Enter in your password.
    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. Step 6 Check the "Encrypt file names" box.
    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. How.com.vn English: Step 7 Click .
    OK to save your password. Click OK in the "Archive name and parameters" window to create your new RAR file.
  8. How.com.vn English: Step 8 Test it out.
    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

Download Article
  1. How.com.vn English: Step 1 Download and install Simply RAR.
    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. How.com.vn English: Step 2 Start the SimplyRAR program.
    A window will appear allowing you to add files to the new RAR file.
  3. How.com.vn English: Step 3 Add files to your RAR file.
    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. Step 4 Check the "Password protect" box.
    This will tell SimplyRAR that you want to add a password when the RAR file is created.
  5. How.com.vn English: Step 5 Enter a password.
    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. Step 6 Click "Create RAR".
    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. How.com.vn English: Step 7 Test it out.
    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
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 24 people, some anonymous, worked to edit and improve it over time. This article has been viewed 874,868 times.
      How helpful is this?
      Co-authors: 24
      Updated: March 18, 2024
      Views: 874,868
      Categories: Software
      Article SummaryX

      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 874,868 times.

      Reader Success Stories

      • How.com.vn English: Hossein Abtahi

        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?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement