This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages) (Learn how and when to remove this message)
|
| 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 8exbibytes) |
| Developed by | Eugene Roshal |
| Initial release | March 1993; 32 years ago (1993-03)[2] |
| Type of format | archive format |
| Free format? | No (decompression source code publicly available, but notfree software, with restriction that it "cannot be used to develop RAR (WinRAR) compatible archiver")[3] |
| Website | rarlab.com |
RAR is aproprietaryarchive file format that supportsdata compression,error correction andfile spanning.[4] It was developed in 1993 by Russian software engineerEugene Roshal and the software is licensed bywin.rar GmbH.[4] The nameRAR stands forRoshal Archive.
Thefilename 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 basedWinRAR application for Windows, console rar utility for different OSes and others) are proprietary software, to which Alexander L. Roshal,[4] the elder brother ofEugene Roshal, holds the copyright. Version 3 of RAR is based onLempel-Ziv (LZSS) andprediction 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 is9,223,372,036,854,775,807 (263−1) bytes, which is one byte less than 8EiB.[6]
The RAR file format revision history:
RARlab's native software is available forMicrosoft Windows (named WinRAR),Linux,FreeBSD,macOS, andAndroid; archive extraction is supported natively inChromeOS. WinRAR and RAR for Android support thegraphical user interface (GUI); other versions named RAR run as console commands.
RAR files can only be created with proprietaryWinRAR (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 afree software license.The filename extensionrar is also used by the unrelatedResource 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.