devcrea

How to Open RAR Files on Mac: The Unarchiver, Keka, and Terminal Methods

macOS can't open RAR files natively. Use The Unarchiver, Keka, or unar via Homebrew — all free. Covers RAR5, password-protected, and multi-part archives.

// The short answer

macOS does not open RAR archives natively, so install The Unarchiver or Keka, then right-click the file and choose Open With. For terminal workflows, Homebrew can install unar; use an up-to-date extractor for RAR5 archives, and extract password-protected or multi-part sets only after all parts are in the same folder.

Full walkthrough, edge cases and why it works
In this guide · 10 sections
  1. 01Why macOS Can't Open RAR Files Natively
  2. 02Tool Comparison: Which One Should You Use?
  3. 03How to Open RAR Files with The Unarchiver
  4. 04How to Open RAR Files with Keka
  5. 05How to Open RAR Files from Terminal (Using unar)
  6. 06How to Open RAR5 Files
  7. 07How to Open Password-Protected RAR Files
  8. 08How to Extract Multi-Part RAR Archives
  9. 09Troubleshooting: Common Problems
  10. 10When to Ask for ZIP Instead

You just downloaded a file, saw the .rar at the end, double-clicked it, and... absolutely nothing happened. We've all been there, staring at the screen wondering why something so basic has to be a headache. That exact annoyance is why I put this guide together.

The reason your Mac refuses to touch it right out of the box is pretty simple: Apple never paid to license the RAR format. macOS plays nice with standard ZIP files all day long, but RAR requires an outside app to unpack. Luckily, you don't need to spend a dime, and getting set up takes all of two minutes.

Here is the quick-and-dirty fix:

  1. Grab The Unarchiver from the Mac App Store (it's totally free, and you don't need to create any new accounts).

  2. Right-click your .rar file, hover over Open With, and choose The Unarchiver.

  3. Pick where you want the unzipped files to land, hit Extract, and you're done.

Honestly, that three-step routine will take care of things for 90% of folks. But if you're dealing with something trickier, stick around. Below, we'll dive into which utility fits your workflow best, how to handle things via the Terminal with Homebrew, how to tackle stubborn RAR5 formats, and what to do with password locks or annoying multi-part .part1.rar splits.

Why macOS Can't Open RAR Files Natively

The RAR format is proprietary tech cooked up by RARLAB - the folks behind WinRAR. That means any operating system wanting to peek inside a RAR file needs either an official paid license or a reverse-engineered open-source workaround.

Apple basically decided it wasn't worth the trouble or cash to build RAR compatibility into macOS. ZIP got the native pass because it's a completely open standard. RAR simply isn't, so Apple leaves it off the guest list.

You might notice macOS includes a built-in tar command in the Terminal, but that tool is strictly meant for .tar, .tar.gz, .zip, and similar open formats. macOS's default tar utility cannot unpack RAR files. If you run across a blog post telling you to just type tar -xf archive.rar, ignore it - you'll just end up with a cryptic terminal error or a scrambled, unreadable file.

The terminal trick that actually gets the job done uses an open-source utility called unar, which you install through Homebrew. We'll walk through that whole process in a minute.

Tool Comparison: Which One Should You Use?

Tool RAR5 Password-Protected Multi-Part Cost
The Unarchiver Yes Yes Yes Free
Keka Yes Yes Yes Free (via keka.io), $3 on App Store
unar (Homebrew) Yes Yes Yes Free
BetterZip Yes Yes Yes $25
7-Zip (7zz) Yes Yes Yes Free

How to pick what you need:

  • You just want this file open right now: Go with The Unarchiver. It requires zero tweaking, comes straight from the Mac App Store, and just works.

  • You create archives often or love tweaking settings: Get Keka. You can drag files straight onto its Dock icon, and the settings menu gives you plenty of control.

  • You live in the Terminal or want to automate extractions: Grab unar via Homebrew. It’s light, fast, and easy to script.

  • A weird, stubborn archive refuses to open anywhere else: Install 7zz via Homebrew as your heavy-duty backup plan.

Are these utilities safe? Definitely. Both The Unarchiver and Keka are trusted staples in the Mac community with years of track records and millions of downloads.

Everything unpacks straight onto your local drive - none of your data gets sent off to a remote server. The Unarchiver is sandboxed by Apple inside the App Store, and Keka’s entire codebase is publicly viewable over on GitHub.

How to Open RAR Files with The Unarchiver

  1. Launch the Mac App Store, search for "The Unarchiver," and download it for free.

  2. Track down your .rar file in Finder, right-click it, and head to Open With > The Unarchiver.

  3. A small window will pop up asking where you want the unpacked contents saved. Choose your target folder and hit Extract.

To save yourself these steps in the future, set it as your default: launch The Unarchiver app itself, jump into Preferences > Archive Formats, and tick the box for RAR files. Once that's set, you can just double-click any RAR file from then on, and it will unpack without asking questions.

How to Open RAR Files with Keka

Keka is a fantastic little compression powerhouse that extracts pretty much anything you throw at it, including modern RAR and RAR5 packages.

  1. Download Keka directly from keka.io for free, or grab it from the Mac App Store for $3 if you'd like to support the developer.

  2. Drag and drop your .rar file right onto Keka's little armadillo icon sitting in your Dock.

  3. Keka immediately unzips everything into the same folder alongside the original RAR file. You can easily tweak that default path in Keka’s preferences if you prefer a different workflow.

Where Keka really shines is flexibility: you get granular control over output folders, it has a knack for handling slightly damaged archives, and you can customize extraction rules for different file types. Plus, going by real-world reports across Reddit and GitHub, it tends to be noticeably snappier with massive multi-gigabyte files - often finishing around 30% faster on 1 GB+ archives, though your drive speeds and file layout play a role there too.

How to Open RAR Files from Terminal (Using unar)

If you're comfortable working in the command line, unar is easily the cleanest, no-fuss option around. It takes RAR, RAR5, password-locked files, and multi-part sets in stride.

First up, make sure you have Homebrew installed on your machine:

Bash

code1 line
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

If you're running on modern Apple Silicon (an M1, M2, or M3 Mac), Homebrew drops its files into /opt/homebrew/ rather than the old Intel /usr/local/ directory. If your terminal complains with a "command not found" error after setup, toss this line into your ~/.zshrc file:

Bash

code1 line
export PATH="/opt/homebrew/bin:$PATH"

Next, pull down unar using brew:

Bash

code1 line
brew install unar

Unpacking a basic archive is as straightforward as it gets:

Bash

code1 line
unar archive.rar

Got a password on that file? Just pass the flag:

Bash

code1 line
unar -p yourpassword archive.rar

Need the contents to extract straight to a specific spot like your Desktop? Use the output flag:

Bash

code1 line
unar -o ~/Desktop/extracted archive.rar

Want to peek inside without actually extracting everything? The tool includes a sibling command called lsar:

Bash

code1 line
lsar archive.rar

This spits out an inventory of every single file sitting inside the container before you start unpacking. It’s a lifesaver when you're dealing with a gigantic download and want to verify what's in there before committing your disk space.

Because unar runs purely in the terminal with zero pop-up windows, it's trivial to drop into shell scripts if you ever need to batch-process a pile of downloads automatically.

How to Open RAR5 Files

RAR5 is the newer compression algorithm introduced back in WinRAR 5.0, designed to offer tighter compression ratios and much better self-repair features. The hitch is that older extraction utilities don't know what to do with it, throwing confusing alerts like "unsupported format" or "unknown compression method."

If your file is acting up, walk through these checks:

  1. Update your extraction software. Modern releases of The Unarchiver (version 4.x and up) and Keka (version 1.4 and up) unpack RAR5 out of the box.

  2. If updating doesn't crack it, run the file through unar via Homebrew - it relies on an alternate decoding library that is usually much more forgiving with RAR5 quirks.

  3. You can also fall back to official 7-Zip (grabbed via brew install sevenzip and executed with 7zz), which eats RAR5 for breakfast.

How to Open Password-Protected RAR Files

Both The Unarchiver and Keka will catch password-protected archives automatically; the moment you open the file, a native prompt will appear asking for the passphrase. Just type it in and let it rip.

If you'd rather stay in Terminal using unar, supply the password in quotes:

Bash

code1 line
unar -p "your password here" archive.rar

A quick reality check: if you genuinely don't know the password, no Mac app or terminal command is going to crack it for you. You'll have to reach out to whoever created or sent the file, because RAR’s underlying encryption is exceptionally solid when implemented properly.

How to Extract Multi-Part RAR Archives

Multi-part archives split large files across several smaller pieces, showing up in your downloads with names like archive.part1.rar, archive.part2.rar, archive.part3.rar, and so on.

The secret here: only interact with the very first file. The extraction software is smart enough to pick up the trail and parse all the subsequent chunks in order, provided they're all sitting together in the exact same folder.

If you're using The Unarchiver or Keka, just right-click archive.part1.rar and tell it to unpack. The software will quietly chain through part two, part three, and so on behind the scenes.

If you're using the command line with unar:

Bash

code1 line
unar archive.part1.rar

Keep in mind that if even a single part of that sequence is corrupted or missing from the folder, the process will abruptly grind to a halt right at that missing chunk. You need the complete set present on your drive for the rebuild to succeed.

Troubleshooting: Common Problems

"Cannot open file: it does not appear to be a valid archive"

This almost always means the download cut out early or suffered data corruption along the way. Compare the file size on your drive with what the download source listed. A half-finished download will still wear the .rar extension, but the internal header data will be broken - your best bet is to trash it and redownload from scratch.

Extraction starts but fails partway through

If this happens on a split set, you're almost certainly missing one of the numbered volumes or one specific part got corrupted during transit. Comb through your directory to ensure every single .part*.rar file is accounted for, and try downloading that specific problem piece again.

"Encrypted file - wrong password or corrupt"

Check carefully for simple typos, because archive passwords respect exact uppercase and lowercase letters. If you copied the passphrase from an email, Slack, or a web forum, make sure your clipboard didn't accidentally grab an invisible character or trailing space at the end.

The Unarchiver says "No files extracted"

You'll see this occasionally when bumping into an unusually new flavor of RAR5 compression. Try grabbing the latest update for The Unarchiver via the App Store, or simply swap over to terminal-based unar to get past that specific file.

macOS security warning: "cannot be opened because the developer cannot be verified"

You'll bump into this message if you grab Keka (or another app) straight from its official website instead of Apple's walled garden, triggering macOS’s built-in quarantine gatekeeper. Getting around it is easy:

  1. Open System Settings > Privacy & Security.

  2. Scroll downward until you spot the "Security" header.

  3. You’ll see a note about the app being held back - just click Open Anyway.

Prefer doing things via the command line? Run this quick snippet:

Bash

code1 line
xattr -d com.apple.quarantine /Applications/Keka.app

That command strips away the quarantine attribute instantly. Keka is entirely open-source and harmless; this is just Apple's Gatekeeper taking standard safety precautions with downloads originating from the open web.

Slow extraction on large archives

This is standard behavior if you're unpacking tens of thousands of tiny loose files rather than a few big videos or disk images. That said, if you're frequently unpacking giant archives, Keka tends to outpace The Unarchiver quite a bit. Dropping into the terminal with unar is also exceptionally fast since it doesn't waste any system overhead rendering a graphical user interface.

When to Ask for ZIP Instead

Whenever you actually have a say in how the files get sent to you, just ask the other person to send a standard ZIP file. macOS, Windows, and Linux can open ZIP containers out of the box without making anyone go hunting for extra utilities.

RAR really only offers an edge when you need built-in data recovery records (handy if a file might get corrupted over spotty network transfers) or if you need heavy-duty AES-256 encryption right inside the archive. If you don't specifically need those features, sticking to ZIP saves everyone from dealing with the whole extraction puzzle in the first place.

Quick answers

Frequently asked questions

Can I open RAR files on Mac without downloading any software?

Not directly. macOS doesn't support RAR natively. You can use Terminal with unar installed via Homebrew, but Homebrew itself requires installation. The easiest no-account option is The Unarchiver from the Mac App Store.

What's the difference between RAR and RAR5?

RAR5 is a newer version of the RAR format introduced in WinRAR 5.0. It offers better compression ratios and improved error recovery records. Older tools may fail to open RAR5 archives — update to the latest version of The Unarchiver or Keka if you get an 'unsupported format' error.

How do I open a password-protected RAR file on Mac?

The Unarchiver and Keka both prompt for a password automatically when you open an encrypted archive. In Terminal, use: unar -p "yourpassword" archive.rar. If you don't have the password, no tool can bypass the encryption.

How do I extract a multi-part RAR archive (.part1.rar, .part2.rar)?

Put all the .partX.rar files in the same folder, then open only archive.part1.rar with The Unarchiver or Keka. The tool reads the remaining parts automatically. If any part is missing, extraction will fail at that point.

Is The Unarchiver safe to use?

Yes. The Unarchiver is a well-established Mac app available on the Mac App Store, which means it's sandboxed by Apple. It extracts files locally and doesn't upload anything to external servers.

Why does macOS say it can't verify the developer when I open Keka?

This is macOS Gatekeeper blocking an app downloaded from outside the App Store. Go to System Settings > Privacy & Security and click 'Open Anyway' next to the Keka warning. Keka is open-source and safe — this is just a macOS security prompt for apps from outside the App Store.

Can the Mac Terminal open RAR files natively?

No. macOS's built-in tar command does not support RAR. You need to install unar via Homebrew (brew install unar) to extract RAR files from Terminal.

Something wrong or out of date?

Tools change fast. Tell the editor what no longer works.