RAR (file format)


RAR is a proprietary archive file format that supports data compression, error recovery and file spanning. It was developed by Russian software engineer Eugene Roshal and the RAR software is licensed by win.rar GmbH.
This is not to be confused with the unrelated Resource Adapter Archive file format which also uses the "rar" extension.

File format

The filename extensions used by RAR are .rar for the data volume set and .rev for the recovery volume set. Previous versions of RAR split large archives into several smaller files, creating a "multi-volume archive". Numbers were used in the file extensions of the smaller files to keep them in the proper sequence. The first file used the extension .rar, then .r00 for the second, and then .r01, .r02, etc.
RAR compression applications and libraries are proprietary software, to which Alexander L. Roshal, the elder brother of Eugene Roshal, owns the copyright. Version 3 of RAR is based on Lempel-Ziv and prediction by partial matching compression, specifically the PPMd implementation of PPMII by Dmitry Shkarin.
The minimum size of a RAR file is 20 bytes. The maximum size of a RAR file is 9,223,372,036,854,775,807 bytes, which is 8 exbibytes minus 1 byte.

Versions

The RAR file format revision history:
;Notes

Software

Operating system support

Software is available for Microsoft Windows, Linux, FreeBSD, macOS, and Android; archive extraction is supported natively in Chrome OS. WinRAR supports the Windows graphical user interface ; other versions named RAR run as console commands. Later versions are not compatible with some older operating systems previously supported:
RAR files can be created only with commercial software WinRAR, RAR for Android, command-line RAR, and other software that has written permission from Alexander Roshal or uses copyrighted code under license from Roshal. The software license agreements forbid reverse engineering.

Third-party software for extracting RAR files

Several programs can unpack the file format., however, some third-party programs claiming to "support the RAR format" did not recognise RAR5 files.