Bob
Have a question related to this hub?
Alice
Got something to say related to this hub?
Share it here.
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
RAR file format | |
---|---|
Filename extension |
.rar, .rev, .r00, .r01 |
Internet media type |
application/vnd.rar |
Uniform Type Identifier (UTI) | com.rarlab.rar-archive |
Magic number | 52 61 72 21 1A 07 00 (RAR 1.5 to 4.0) 52 61 72 21 1A 07 01 00 (RAR 5+) [1] |
Size limitation | 263-1 bytes (almost 8 exbibytes) |
Developed by | Eugene Roshal |
Initial release | March 1993[2] |
Type of format | archive format |
Free format? | No (decompression source code publicly available, but not free software, with restriction that it "cannot be used to develop RAR (WinRAR) compatible archiver") [3] |
Website | rarlab.com |
RAR is a proprietary archive file format that supports data compression, error correction and file spanning.[4] It was developed in 1993 by Russian software engineer Eugene Roshal and the software is licensed by win.rar GmbH.[4] The name RAR stands for Roshal Archive.
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 (including GUI based WinRAR application for Windows, console rar utility for different OSes and others) are proprietary software, to which Alexander L. Roshal,[4] the elder brother of Eugene Roshal, holds the copyright. Version 3 of RAR is based on Lempel-Ziv (LZSS) and prediction by partial matching (PPM) compression, specifically the PPMd implementation of PPMII by Dmitry Shkarin.[5]
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 (263−1) bytes, which is one byte less than 8 EiB.[6]
The RAR file format revision history:
RARlab's native software is available for Microsoft Windows (named WinRAR), Linux, FreeBSD, macOS, and Android; archive extraction is supported natively in ChromeOS. WinRAR and RAR for Android support the graphical user interface (GUI); other versions named RAR run as console commands.
RAR files can only be created with proprietary WinRAR (Windows), RAR[9] for Android, command-line RAR (available for Windows, macOS, Linux, and FreeBSD), 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.[4]
Several programs can unpack the file format.
unrar
program.[10] The license permits its use to produce software capable of unpacking, but not creating, RAR archives, without having to pay a fee. It is not a free software license.The filename extension rar is also used by the unrelated Resource Adapter aRchive file format.[26][27][28][29][30][31]
The author and holder of the copyright of the software is Alexander L. Roshal. [...] Neither RAR binary code, WinRAR binary code, UnRAR source or UnRAR binary code may be used or reverse engineered to re-create the RAR compression algorithm, which is proprietary, without written permission.