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...".
    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.[2]
  5. Enter it a second time to confirm it. You can check the "Show password" box to see the characters as you type them.
  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.[3]
  7. OK to save your password. Click OK in the "Archive name and parameters" window to create your new RAR file.[4]
  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
200 characters left
Include your email address to get a message when this question is answered.
Submit
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!

You Might Also Like

Open RAR Files on Mac OS X Open RAR Files on Mac OS X: Free Apps, Online Tools, & More
Open RAR FilesOpen RAR Files
Install the Google Play Store on an Amazon Fire Add the Google Play Store to an Amazon Fire Tablet
Play MinesweeperPlay Minesweeper
Open EPUB FilesOpen EPUB Files
Use RufusUsing Rufus to Create Bootable USB Drives: A Step-By-Step Guide
Make an Exe FileMake an Exe File
Save an Animation in BlenderSave an Animation in Blender
Turn On Windows Defender Turn on Microsoft Defender in Windows 10 and 11
Create an RSS Feed2 Simple Ways to Create an RSS Feed
Compare Two Excel FilesA Step-by-Step Guide to Compare Two Excel Files
Things to Do Alone83 Fun Things to Do Alone at Home or Elsewhere
Change Hostname on Linux Change the Hostname on Linux Without Rebooting
Connect the Kindle Fire to a Computer2 Easy Ways Connect the Kindle Fire to a Computer
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, 24 people, some anonymous, worked to edit and improve it over time. This article has been viewed 916,917 times.
How helpful is this?
Co-authors: 24
Updated: December 10, 2024
Views: 916,917
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 916,917 times.

Reader Success Stories

  • 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?

Advertisement