What is RAR5?
RAR5 is the current version of the RAR archive format, introduced with WinRAR 5.0 in 2013. Compared with the older RAR4 it has AES-256 encryption, a much larger compression dictionary and a stronger recovery record. The extension is still .rar, and every modern extractor opens both.
RAR5 is the current version of the RAR archive format. It was introduced with WinRAR 5.0 in 2013, replacing the format now usually called RAR4. RAR5 brought stronger encryption (AES-256), a far larger compression dictionary and a more robust recovery record. The file extension didn’t change: both are .rar. For someone who just wants to open an archive, the difference rarely matters, because every current extractor opens both.
What changed from RAR4 to RAR5
| RAR4 | RAR5 | |
|---|---|---|
| Encryption | AES-128 | AES-256 |
| Password key derivation | Older scheme | PBKDF2 with HMAC-SHA256 |
| Largest dictionary | 4 MB | 1 GB at launch, raised in later WinRAR versions |
| Recovery record | Older scheme | Reed-Solomon codes, more resistant to damage in several places |
| File checksum | CRC32 | CRC32, or optionally BLAKE2sp |
| Opens in UnRAR older than 5.0 | Yes | No |
Encryption
RAR4 encrypts with AES-128; RAR5 uses AES-256, and turns the password into a key with PBKDF2, a deliberately slow, salted function. That makes each password guess more costly for anyone trying to break into an archive. In practice, the password you choose matters far more than the key length: a short or common password is weak in either format. RAR5 also usually stores a password check value, so tools can tell you plainly that a password is wrong, where RAR4 archives sometimes just report a checksum error. How to open a password-protected RAR file covers the practical side.
Both formats can also encrypt the file names, so that without the password nobody can even see the list of files.
Compression dictionary
The dictionary is how far back the compressor can look for repeated data. RAR4 was limited to 4 MB. RAR5 started at up to 1 GB, and later versions of WinRAR raised the limit further. A larger dictionary helps most with big collections of similar files, such as several versions of the same project or game data with repeated assets. It costs memory, though: extracting an archive made with a very large dictionary needs a correspondingly large amount of RAM.
Recovery record
A recovery record is optional error-correction data that lets WinRAR repair a damaged archive. In RAR5 it’s based on Reed-Solomon codes, which cope much better than the RAR4 scheme when the damage is spread over several places. It still has to be added when the archive is created; you can’t add protection after the damage. Corrupt RAR file? explains how repair works.
Checksums
Every file in a RAR archive has a checksum, used to check that it came out intact. RAR5 keeps CRC32 and adds BLAKE2sp, a 256-bit cryptographic hash, as an option for people who want stronger integrity checks.
Which tools open RAR5
Almost everything current:
- WinRAR 5.0 and later, and RARLAB’s
unrarandrarcommand lines from version 5.0; - 7-Zip, on Windows, and its
7zzcommand for Mac and Linux; - The Unarchiver and Keka on Mac;
- File Explorer in recent versions of Windows 11, for archives without a password;
- tools built on a recent libarchive, such as the
tarcommand on macOS; - OpenRAR, in the browser and on the Mac.
Archive Utility, the extractor built into macOS, doesn’t open RAR at all, whatever the version. What is a RAR file? lists the options on each platform.
Problems with RAR5 come from old software: an UnRAR older than 5.0, an outdated package on an old Linux system, or an archive app that hasn’t been updated for years. Such tools typically report an unknown or unsupported format, or say the archive is damaged when it isn’t. The fix is to update the tool or use another one.
How to tell which one you have
You rarely need to know, but if a tool refuses an archive, it can help to check.
- 7-Zip shows the format when you list an archive:
7zz l archive.rarprintsType = Rar5for RAR5 andType = Rarfor RAR4. - WinRAR shows the archive format in its information window.
- On a Mac or Linux, without any app, look at the first bytes of the file:
xxd -l 8 archive.rar
Both formats start with the letters Rar!, shown as 5261 7221. After that, a RAR4 archive continues with 1a07 00 and a RAR5 archive with 1a07 0100.
Should you create RAR4 or RAR5?
If you create RAR archives, use RAR5. WinRAR still lets you create RAR4 for compatibility, but that’s only worth it when the recipient is stuck with very old software, and in that case a ZIP is often the better answer, because every system opens ZIP without extra software. RAR vs ZIP vs 7z compares the three formats, and How to create a RAR file on a Mac covers making RAR archives without Windows.
RAR5 and OpenRAR
- In the browser, openrar.app opens RAR4 and RAR5 archives, including solid ones, without uploading them. It also opens password-protected RAR archives, including those with encrypted file names, and split sets when you select all the parts at once.
- OpenRAR for Mac reads RAR with the official UnRAR code, so it opens RAR5 and RAR4, password-protected archives (including those with encrypted file names) and split sets.
Neither creates RAR archives; for that you need RARLAB’s own software, WinRAR or the rar command line.