RAR Compatibility: Apps, Versions and Common Limits
Understand why a valid RAR file can behave differently across applications and devices.
Why a Valid RAR File Can Fail
A RAR archive that opens without issue in WinRAR 6.x may fail silently in a mobile app, refuse extraction on macOS, or produce garbled output in an older archiver. This is rarely a sign of corruption. It is a consequence of the RAR format's evolving specification, optional features, and uneven implementation across third-party tools.
The RAR format has undergone five major revisions since its introduction. Each revision added capabilities that older tools cannot parse, and many third-party implementations support only a subset of features within a given version. A file that is structurally valid per the RARLAB specification can still be unreadable on a specific device or application.
RAR Version Boundaries and Hard Limits
RAR 1.3–1.5 (Legacy)
These versions used a simple recovery record and no encryption. Modern tools rarely support them directly. Archives in this format carry the signature Rar!\x1a\x07\x00.
RAR 2.0
Introduced solid archives and the compr_info field. This version served as the baseline for most third-party libraries until approximately 2010. Signature remains Rar!\x1a\x07\x00.
RAR 3.0
Added AES-128 encryption, Unicode filenames via UTF-8, and improved recovery records. Most third-party applications that claim RAR support target this version. Signature: Rar!\x1a\x07\x00. Maximum path length for archived files is 2047 characters in Unicode; some tools truncate at 255 bytes.
RAR 5.0 (WinRAR 5.0, 2013)
Not backward-compatible. This revision uses a different signature (Rar!\x1a\x07\x01\x00), a new AES-256-CTR encryption scheme, and a revised file time format with 1-second precision (replacing the older 2-second granularity). Maximum dictionary size increased to 1 GB. Recovery records are protected by a separate checksum. Any tool that checks only the RAR 1–4 signature will reject a RAR 5 archive as unknown or corrupt.
RAR 6.0 (WinRAR 6.0, 2022)
Added the zstd compression method as an optional algorithm. The archive signature remains Rar!\x1a\x07\x01\x00 (same as RAR 5), but compression method ID 0x35 indicates zstd. Most RAR 5-compatible tools cannot decompress zstd streams.
Observable Version Check
Inspect bytes 4–7 of the file header with a hex editor or xxd:
xxd -l 8 archive.rar
0x00at offset 7: RAR 1–40x01at offset 7: RAR 5+
Reference: RARLAB Technote §2.1, "RAR file format version."
Platform-Specific Extraction Capabilities
Windows
- WinRAR (RARLAB): Full support for all versions through 6.x. Handles all encryption modes, recovery records, recovery volumes, and solid archives. This is the only tool guaranteed to parse every valid RAR file.
- 7-Zip (24.x): Supports RAR 2/3/5 decompression. Does not handle RAR 6 zstd, RAR 5 AES-256 decryption, or recovery record reconstruction. Solid archives are supported, but extracting a single file from a solid archive requires decompressing all preceding files in the block.
- WinZip: Limited to RAR 2/3. RAR 5 archives are rejected as corrupt or unknown.
- Windows File Explorer: No native RAR support. Extraction requires a third-party shell extension.
macOS
- The Unarchiver: Handles RAR 3 and RAR 5 without encryption. RAR 5 AES-256 encrypted archives prompt for a password but fail to decrypt.
- Keka: Supports RAR 3 and RAR 5 without encryption. AES-128 decryption works; AES-256 does not. RAR 6 zstd archives produce "unsupported compression method" errors.
- unar (command line): Same limitations as The Unarchiver. Encrypted RAR 5 falls back to a stub warning that decryption is unimplemented.
- macOS Archive Utility: Reads RAR 2/3 only. RAR 5 archives are silently ignored—no error message, no extraction.
Linux
- unrar (RARLAB free CLI): Supports RAR 3 and RAR 5, including AES-128 and AES-256 decryption. Does not support RAR 6 zstd. Recovery records are not applied; use the paid
rarpackage for repair. - 7-Zip (p7zip): Same limitations as the Windows build: no RAR 6 zstd, no RAR 5 encryption, no recovery record reconstruction.
- unar: Same as macOS—RAR 5 encryption is unsupported.
- rar (RARLAB paid CLI): Full support, identical to WinRAR.
Mobile
- RAR for Android (RARLAB): Supports RAR 3 and RAR 5, encrypted and unencrypted. RAR 6 zstd is not supported. Recovery records are not applied.
- 7-Zip Android forks: RAR 2/3 only. RAR 5 archives produce "unsupported format" errors.
- RAR for iOS (RARLAB): Same as Android—RAR 3/5, no RAR 6 zstd, no recovery record usage.
- iZip, The Unarchiver for iOS: RAR 2/3 only. RAR 5 encrypted archives crash or return empty extractions.
Features That Cause Silent Extraction Failure
Not every RAR feature is implemented by every tool. These are the most common causes of unexpected behavior:
- Recovery record (RR): Only WinRAR and the paid
rarCLI apply recovery records during extraction. 7-Zip, The Unarchiver, and all mobile apps ignore the RR data. A file with damaged data and a valid RR will appear corrupted in these tools, even though WinRAR would repair it transparently. - Recovery volumes (REV): Exclusively a WinRAR feature. No third-party tool reads REV files.
- Solid archives: Supported by 7-Zip and unrar, but extracting a single file from a large solid archive requires decompressing all preceding files. This is a design trade-off, not a bug, but it causes severe performance degradation on memory-constrained mobile devices.
- RAR 5 AES-256 encryption: Only WinRAR, the paid
rarCLI, and RARLAB mobile apps decrypt this. 7-Zip, The Unarchiver, Keka, and libarchive-based tools do not implement AES-256-CTR decryption for RAR. - RAR 6 zstd compression (method 0x35): Only WinRAR 6.x and the paid
rarCLI decompress this. All other tools, including 7-Zip 24.x, report "unsupported compression method." - Unix symlinks and hardlinks: Stored in RAR 5 as extra file attributes. 7-Zip and unrar preserve them on Linux; macOS and Windows tools typically ignore them or extract them as regular files.
Cross-Platform Distribution Settings
When creating a RAR archive for recipients with unknown extraction tools, minimize compatibility failures with these settings in WinRAR or the rar CLI:
- Use RAR 3 format instead of RAR 5. Most third-party tools support RAR 3 fully. If file names exceed 255 bytes, RAR 5 is required, but macOS and mobile users will be unable to open encrypted archives.
- Disable solid archiving (
-s-). Solid archives save space but make single-file extraction slow on tools that do not cache decompressed blocks. - Use AES-128 encryption (RAR 3) instead of AES-256 (RAR 5). AES-128 is supported by 7-Zip, unrar, and most mobile apps. AES-256 is supported only by RARLAB tools.
- Omit recovery records (
-rr0). The RR is ignored by non-RARLAB tools, adding file size without benefit for recipients who do not use WinRAR. - Avoid RAR 6 zstd. Use the default compression method. zstd is only available in WinRAR 6+ and the paid CLI.
Testing Compatibility Without the Target Tool
Simulate common limitations using open-source tools to determine whether an archive will extract correctly on a given platform:
# Test extraction via 7-Zip (no RAR 5 encryption, no RAR 6 zstd)
7z t archive.rar
# Test extraction via unrar free CLI (no RAR 6 zstd, handles RAR 5 encryption)
unrar t archive.rar
# Test listing via libarchive (fails on RAR 5 encryption, used by The Unarchiver and Keka)
bsdtar -tf archive.rar
If bsdtar -tf fails on an encrypted RAR 5 archive, every macOS and mobile tool that relies on libarchive will also fail.
Verifying Tool Claims Against the RARLAB Specification
The definitive reference for RAR format behavior is the RARLAB technote. When a tool claims RAR support but fails on a file, check these spec items:
- File signature (§2.1): Does the tool recognize both
Rar!\x1a\x07\x00(RAR 1–4) andRar!\x1a\x07\x01\x00(RAR 5+)? If it checks only the first signature, RAR 5 archives will be rejected. - Encryption algorithm (§5.4): RAR 3 uses AES-128-CBC with a 64-bit checksum. RAR 5 uses AES-256-CTR with a 256-bit checksum. A tool that implements only AES-128 cannot decrypt RAR 5 archives.
- Compression method IDs (§4.1.2): Method
0x30(store),0x31(normal),0x32(maximum),0x33(fast), and0x34(fastest) are standard. Method0x35(zstd) is RAR 6 only. Any tool that does not recognize0x35will abort extraction.
If a tool's documentation does not explicitly state support for RAR 5 signatures, AES-256-CTR, or compression method 0x35, assume it does not. The RAR format has no fallback mechanism—if an archive was created with an unsupported method, the file is unreadable in that tool.