How to Open RAR Files on Windows, Mac, Linux and Mobile
Choose a safe RAR viewer or editor and diagnose files that refuse to open.
Platform-Specific RAR Decoders
RAR archives use a proprietary LZSS-based compression algorithm with a prediction model. Generic ZIP libraries cannot decompress them. The official specification at RARLab’s technical note documents the container format, encryption methods, and recovery record structure. Choose a decoder based on whether you need read-only extraction or full archive manipulation, and whether the archive uses multi-volume spanning or header encryption.
Windows
Windows provides no native RAR support. WinRAR 7.0+ implements the complete RAR5 specification, including 256-bit AES-256-CTR encryption in CTR mode and the recovery record format (RAR5 technical note §3.2). The trial license never expires. For read-only decompression of both RAR4 and RAR5 archives, 7-Zip 24.0+ is sufficient but cannot create RAR archives.
When handling multi-volume sets (.part01.rar, .part02.rar, …), 7-Zip requires every part in the same directory and opens only the .part01.rar file. Do not rename or extract individual parts in isolation.
Unsupported features in third-party Windows tools:
- Recovery volumes (
.revfiles) — only WinRAR can reconstruct missing or damaged volumes using them. - Solid archives with custom dictionary sizes exceeding 64 MB — 7-Zip fails without an error message.
- RAR5 archives created with the
-hpheader encryption flag — only WinRAR prompts for the password before listing contents.
macOS
macOS has no built-in RAR decoder. The Unarchiver (free, App Store) handles RAR4, RAR5, and multi-volume sets without requiring Terminal, but cannot repair or test archives. For verification and CRC reporting, install the command-line unrar utility via Homebrew: brew install rar. The command unrar x archive.rar extracts with the same decompression engine WinRAR uses, licensed from RARLab. It reports CRC mismatches per extracted file.
macOS limitations:
- No native application creates RAR archives. WinRAR for Mac was discontinued in 2015.
- The
-o+overwrite flag inunrardoes not function on APFS case-sensitive volumes unless an explicit-oflag is passed. - Recovery volumes are ignored by all macOS decompressors except Wine-emulated WinRAR.
Linux
Linux distributions package unrar as a non-free component due to RARLab’s licensing. Install with sudo apt install unrar (Debian/Ubuntu) or sudo dnf install unrar (Fedora). unrar l archive.rar lists contents without extracting; unrar t archive.rar runs an integrity test against stored checksums. For a GUI, PeaZip (Flatpak or native package) handles RAR5 archives with recovery records and multi-volume sets without invoking the proprietary unrar binary.
Distribution-specific behavior:
- The
unrarbinary is statically linked against glibc 2.17. On musl-based distributions such as Alpine, it will not execute without a compatibility layer. - Archives created with the Windows
-ep(exclude path) flag store backslashes as path separators. Extraction on Linux preserves those backslashes literally. Inspect stored paths withunrar vb archive.rarbefore extracting. - Encrypted RAR5 archives containing Unicode filenames may display garbled names in
unrar lif the system locale is not UTF-8.
iOS
The official RAR app by RARLab ($4.99) is the only iOS application supporting RAR5, recovery volumes, and encrypted headers. Free alternatives such as iZip or 7ZP handle RAR4 only. They provide no warning when failing to open a RAR5 archive. iOS sandboxing prevents third-party apps from reading passwords from the system keychain; encrypted archives require manual password entry on every access.
Android
RAR by RARLab (free, ad-supported) supports the full RAR5 specification and multi-volume extraction. 7Zip for Android (Pavel Karnoukhov) decompresses RAR4 and RAR5 but cannot process archives containing recovery records. Android’s filesystem truncates filenames longer than 255 characters. RARLab’s app silently shortens these to the first 255 characters followed by an underscore. Other apps report a generic “corrupt archive” error when encountering such filenames.
Diagnosing Archives That Refuse to Open
Three distinct failure modes account for most RAR files that will not open. Do not assume corruption as the first cause.
Header Encryption Mismatch
An archive created with the -hp flag encrypts file metadata — names, sizes, modification dates — in addition to file data. No tool can list contents without the correct password. If no password prompt appears and the error reads “wrong password” or references an encrypted header, request the password again and confirm case sensitivity. Header encryption is uncommon outside sensitive distribution channels.
Multi-Volume Assembly Failure
A multi-volume set requires a contiguous, unrenamed sequence. If parts were downloaded from different mirrors or any file was renamed, the sequence breaks. WinRAR reports “cannot find volume.” 7-Zip displays zero files. unrar l returns “Unexpected end of archive.” Sort all .partNN.rar files by number, verify no gaps exist, and never rename a .rar extension to .part01.rar. A recovery volume (.rev) can reconstruct exactly one missing volume only when the set uses RAR5 recovery records.
Truncated or Bit-Rotten Archives
A RAR file that lists contents but fails during extraction is truncated. The RAR5 format begins with a 7-byte signature at offset 0: 0x52 0x61 0x72 0x21 0x1A 0x07 0x00. If this signature is intact but extraction fails at a specific file offset, the archive was interrupted during creation. Check for recovery records with unrar rv archive.rar. Recovery records can reconstruct up to the number of record blocks present. Without them, data beyond the last intact file boundary is unrecoverable.
Fallback for Unsupported Features
When a platform lacks support for a specific RAR feature — recovery volumes on Linux, for example — the only reliable fallback is transferring the archive to a Windows machine running WinRAR. No cross-platform emulation or Docker container replicates the recovery volume algorithm. RARLab’s technical note (§5.4) specifies that the Reed-Solomon code uses a proprietary generator polynomial that remains unpublished. Third-party implementations are approximations.
For encrypted archives on mobile devices, request that the sender re-archive using file encryption only (-p) without header encryption (-hp-). This permits mobile apps to list filenames and extract individual files without exposing the encryption key.
Verifying Extraction Integrity
After extraction, run unrar t archive.rar to validate output. This command compares the stored checksum — CRC32 per file for RAR4, BLAKE2sp hash for RAR5 — against the decompressed data. A clean test report confirms correct decompression even if the extracted content appears wrong. If the test passes but the content is unintelligible, the archive was correctly compressed from already-corrupted source data. No tool detects this condition.