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

  1. 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.[1]
  2. 2
    Add your files to a new RAR archive. There are a couple of different ways that you can do this:[2]
    • 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...".[3]
    Advertisement
  3. 3
    Give your archive a name. By default, it will be named after the folder the files were originally in.
  4. 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. 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.[4]
  6. 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. 7
    Click .OK to save your password. Click OK in the "Archive name and parameters" window to create your new RAR file.
  8. 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

  1. 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. 2
    Start the SimplyRAR program. A window will appear allowing you to add files to the new RAR file.
  3. 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. 4
    Check the "Password protect" box. This will tell SimplyRAR that you want to add a password when the RAR file is created.
  5. 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. 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. 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

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 23 people, some anonymous, worked to edit and improve it over time. This article has been viewed 780,443 times.
How helpful is this?
Co-authors: 23
Updated: March 10, 2023
Views: 780,443
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?
Advertisement