Skip to main content
coreydaley.dev

RAR "checksum error" or "CRC failed" on a Mac

You’re extracting a RAR, and it stops with something like:

  • Checksum error in movie.mkv or, in older versions, CRC failed in movie.mkv. The file is corrupt (WinRAR)
  • Checksum error in the encrypted file movie.mkv. Corrupt file or wrong password (WinRAR)
  • movie.mkv - checksum error (the unrar command)
  • The archive is corrupt or Unexpected end of archive

What it means

A RAR stores a checksum for every file inside it: a short fingerprint of the original data. When a file is extracted, the fingerprint is worked out again, and if the two don’t match, the data has changed since the archive was made. The usual causes:

  • A damaged or incomplete download, especially one part of a multi-part set.
  • A failing drive or a bad copy.
  • A wrong password. Older RAR archives (RAR4) have no separate password check, so a wrong password and damaged data look identical, which is why WinRAR’s message says “corrupt file or wrong password”. Newer RAR5 archives report a wrong password separately.

1. If it has a password, check it first

Type the password again carefully: check Caps Lock, the keyboard layout, and a space copied by accident at the start or end. If some files extract correctly and a later one fails, the password is right and the data is damaged.

2. Check the parts

For a multi-part RAR (.part1.rar, .part2.rar, … or .rar, .r00, .r01, …):

  • Make sure every part is there, in the same folder, with its original name.
  • Compare their sizes: all parts except the last are usually exactly the same size. One that’s smaller didn’t finish downloading.
  • Download just the damaged part again, if you can tell which it is. The error usually names the file inside; the part it’s in is often the one that’s the wrong size.

More in Multi-part archives on macOS.

3. Use repair data, if it came with any

  • .rev files with a multi-part set are RAR recovery volumes: they can rebuild missing or damaged parts. Some RARs also carry a recovery record inside the archive. Both are used by WinRAR, or on a Mac by RARLAB’s rar command-line tool (from rarlab.com; shareware, with a free trial; see WinRAR for Mac?): rar rc archive.part1.rar rebuilds parts from .rev files, and rar r followed by the damaged part’s name repairs it with its recovery record. Purrchiver rebuilds missing or damaged parts from RAR5 .rev files New in 1.1; it doesn’t use a RAR’s recovery record.
  • .par2 files are PAR2 recovery data, often covering every part of a set. Purrchiver repairs single files from PAR2; for a set covering several parts, use par2 in Terminal. See Recovery data and When Purrchiver can’t help.

4. Get back the files that aren’t damaged

New in Purrchiver 1.1. If you don't see it, update Purrchiver from the App Store.

Usually only one file, or one part, is damaged. Purrchiver can take out everything else:

  1. Open the RAR (the first part, for a set) in Purrchiver.
  2. When extracting fails because the archive is damaged, choose Recover What’s Readable…, or use Tools → Recover Damaged Archive….
  3. Every file whose checksum matches comes out intact. A damaged file is flagged and never handed back looking like the real thing.

It’s free, it runs on your Mac, and it never changes the damaged RAR. It also checks files stored without compression, whose checksum the library Purrchiver uses didn’t verify; we fixed that, and reported it upstream.

Two limits to know:

  • Solid RARs compress many files together as one stream, so damage in one file can stop the files after it from coming out too.
  • Passwords: for RAR5 archives, Purrchiver tells a wrong password apart from damage. For older RAR4 archives, a wrong password looks like damage, so if recovery marks every file as damaged, check the password first.
Download on the Mac App Store

Free forever to open and extract anything. $9.99 once for the advanced tools. No trial, no subscription.