WinRAR is atrialwarefile archiver utility, developed byEugene Roshal of win.rar GmbH. It can create and view archives inRAR orZIP file formats,[6] and unpack numerous archivefile formats. To enable the user to test the integrity of archives, WinRAR embedsCRC32 orBLAKE2checksums for each file in each archive. WinRAR supports creatingencrypted, multi-part andself-extracting archives. WinRAR is a Windows-only program. AnAndroid application called "RAR for Android" is also available.[7] Related programs include the command-line utilities "RAR" and "UNRAR"[8] and versions formacOS,[4]Linux,FreeBSD, WinCE, andMS-DOS.
RAR/DOS started as a mix ofx86assembler andC, with the amount of assembly code decreasing over time and moving to pure C/C++ later on. The first versions of WinRAR were written in C, modern versions are using C++. RAR for Android is written as a mixture of Java and C++.[1]
WinRAR and the RAR file format have evolved over time. Support for the archive format RAR5, using the same RARfile extension as earlier versions, was added in version 5.0;[9] the older RAR file format has since been referred to as RAR4. WinRAR versions before 5.0 do not support RAR5 archives;[10] only older versions of WinRAR run on older operating systems, and cannot open RAR5 archives.
The RAR5 file format - from version 7 on, referred to as "RAR" - increased the maximum dictionary size up to 64 GB, depending on the amount of available memory, with the default in version 5 increased from 4 MB to 32 MB, typically improving compression ratio.For dictionaries larger than 4 GB, the size can be specified if it is unequal to a power of 2. Thus, there are no restrictions to the range 4, 8, 16, 32, 64, allowing 5 GB or 22 GB to be chosen at will. Archives with dictionaries larger than 4 GB can only be extracted by WinRAR 7.0 or newer.AES encryption, when used, is inCBC mode and was increased in strength from 128- to 256-bit. Maximum path length for files in RAR and ZIP archives is increased from 2047 to 65535 characters.[10]
Options added in v5.0 include 256-bitBLAKE2 file-hashing algorithm instead of default 32-bit CRC32, duplicate file detection, NTFS hard and symbolic links, and Quick Open record to allow large archives to be opened faster.[10]
The RAR5 file format removed comments for each file (though archive comment still remains), authenticity verification, and specialized compression algorithms for text and multimedia files. RAR5 also changed the file name for split volumes from "archivename.rNN" to "archivename.partNN.rar".[10]
The RAR7 file format added support for 64GB compression dictionary and improved compression ratio by adding two extra algorithms. RAR7 archives with dictionary sizes up to 4GB can be unpacked by previous versions of WinRAR (5.0 and above) given there's enough RAM.
Support for maximum file size of 16 EiB, about 1.8 × 1019 bytes or 18 million TB
Compression dictionary from 1 MiB to 64 GiB (it is limited to 256 MiB on 32-bit editions, although 32-bit editions still can decompress archives with 1 GiB dictionary; default size is 32 MiB)[10]
Optional 256-bitBLAKE2 file hashing that can replace the default 32-bit CRC32 file checksum[10]
Optional dataredundancy is provided in the form ofReed–Solomonrecovery records andrecovery volumes, allowing reconstruction of damaged archives (including reconstruction of entirely missed volumes)
Optional "quick open record" to open RAR files faster[10]
Ability to create multi-volume (split) archives[13]
Ability to createself-extracting files (multi-volume self-extracting archives are supported;[13] the self-extractor can execute commands, such as running a specified program before or after self-extraction[14])
Support forNTFS permissions, hard and symbolic links[10]
Support for maximum path length up to 65,535 characters (stored in theUTF-8 format)[10]
Optional archive comment (stored in the UTF-8 format)[10]
Optional file timestamps preservation: modification, creation, last access times with high precision[15]
The software is distributed as "try before you buy"; it may be used without charge for 40 days.[2] When the period expires, the non-enterprise functionalities remain available, a move intended to discourage piracy.[5] InChina, a free-to-use personal edition has been provided officially since 2015.[16]
Although archiving with the RAR format is proprietary, RARLAB supplies as copyrightedfreeware theC++ source code of the current UnRAR unpacker, with a license allowing it to be used in any software, thus enabling others to produce software capable of unpacking, but not creating, RAR archives.[17]
RAR for Android is free of charge. It displays advertisements; for a payment they can be disabled.[7] A license for WinRAR does not provide ad-suppression for RAR for Android.
In February 2019, a major security vulnerability in the unacev2.dll library which is used by WinRAR to decompressACE archives was discovered.[18][19] Consequently, WinRAR dropped the support for the ACE format from version 5.70.
Self-extracting archives created with versions before 5.31 (including the executable installer of WinRAR itself) are vulnerable toDLL hijacking: they may load and use DLLs named UXTheme.dll, RichEd32.dll and RichEd20.dll if they are in the same folder as the executable file.[10][20]
It was widely reported that WinRAR v5.21 and earlier had aremote code execution (RCE) vulnerability which could allow a remote attacker to insert malicious code into a self-extracting executable (SFX) file being created by a user, "putting over 500 million users of the software at risk".[21] However, examination of the claim revealed that, while the vulnerability existed, the result was merely an SFX which delivered its payload when executed; published responses dismissed the threat, one saying "If you can find suckers who will trust a .exe labelled as self-extracting archive ... then you can trick them into running your smuggled JavaScript".[22][23]
WinRAR 6.23 fixes a critical security vulnerability which allowed the hacker to automatically execute malware distributed in archives under some circumstances.[24]
Command line RAR and UNRAR were first released in autumn 1993.[8]
Early development version WinRAR 1.54b was released in 1995.
3.00 (2002–05): the newRAR3archive format is implemented. The new archives cannot be managed by older versions of WinRAR. Solid compression and WAV audio lossless compression features are added.[25]
3.41 (2004–12): adds support for Linux .Z archives like GZIP and BZIP2. New options include storing entire file paths and restoring compressed NTFS files.[26]
3.50 (2005–08): adds support for interfaceskins.[26]
3.60 (2006–08): adds multithreaded version of the compression algorithm, which improves compression speed on systems with multipledual-core orhyper-threading-enabledCPUs.
3.80 (2008–09): adds support for ZIP archives, which containUnicode file names inUTF-8.[27]
3.90 (2009-05): adds support for thex86-64 architecture. Multithreaded support is enhanced.[10]
4.00 (2011-03): decompression is sped up by up to 30%.[10]
4.10 (2012-01): removes all ZIP limitations now allowing unlimited number of files and archive size. WinRAR now also allows creation of multivolume ZIP files. ZIP archives now includeUnicode file names.[10]
4.20 (2012-06): compression speed inSMP mode is increased significantly, but this improvement was made at the expense of increased memory usage. ZIP compression now uses SMP as well. The default SMP mode cannot handle text; text compression is significantly worse unless additional switches are used.[10]
5.00 (2013-09): the RAR5 archive format is implemented. RAR5 compressed archives cannot be managed by old versions of WinRAR. The RAR 5 format improvesmulti-core processor utilization, and adds a larger dictionary size of up to 1 GiB with 64-bit WinRAR. Special optional compression algorithms optimized for RGB bitmaps, raw audio files,Itanium executables, andplain text, which were supported by earlier versions, are supported only in the older RAR format, not RAR5.[10] Optional optimized compression of x86 executables anddelta compression (for structured table data) are supported in both file formats.
5.50 (2017-08): adds support for a master password which can be used to encrypt passwords stored in WinRAR. The default RAR format is changed to version 5. Adds support for decompressingLzip archives; adds support for high precision file dates, longer file names and larger file sizes forTAR archives.[10]
5.60 (2018-06): repairing of protected RAR5 archives was improved. Automatic detection of the encoding of ZIP archive comments. Recognition of GZIP files with arbitrary preceding data as an actual GZIP archive.[10]
5.70 (2019-02): removes support forACE archive decompression due to major security vulnerabilities[28] in the unacev2.dll library.[10]
6.00 (2020-12): "Ignore" and "Ignore All" options are added to read error prompt. "Ignore" allows to continue processing with already read file part only and "Ignore All" does it for all future read errors.
6.10 (2022-01): Added support for unpackingZST archives. Maximum recovery record is increased to 1000% of protected data size.
6.11 (2022-03): Support of Gzip archives with large archive comments has been added; In command line mode, the switch -mes can also be used to suppress the password prompt and abort when adding new files to an encrypted solid archive.
6.12 (2022-05):CVE-2022-30333 security vulnerability is fixed in Unix RAR versions. WinRAR and Android RAR are not affected.
6.23 (2023-08):CVE-2023-40477 andCVE-2023-38831 critical security vulnerabilities are fixed in WinRAR. Unix and Android versions are not affected.
6.24 (2023-10): Fixes an issue with null pointers.
7.00 (2024-02): drops support for creating RAR 4.x format archives. Maximum path length limit increased to 65535 characters. Maximum RAR dictionary size up to 64 GB for the64-bit version (limited by available RAM). Command line RAR filters out control character 27 from screen output for security reasons.
7.10 (2025-02): drops support for 32bit Windows editions. Adds support forLarge Memory Pages which increases compression and decompression speed specially when using a large compression dictionary. Addsdark mode.
More recent versions do not support many older operating systems. Versions supporting older operating systems may still be available, but not maintained:
RAR 2.50 is the last version to support MS-DOS and OS/2 on 16-bitx86 CPUs (8086-compatible).[29]
^abVoloshin, Kirill (2011-03-10).Интервью по переписке [Interview by correspondence] (in Russian).Archived from the original on 2015-08-16. Retrieved2014-10-27.
Yeo, Gary S.-W.; Phan, Raphael C.-W. (8 March 2006). "On the security of the WinRAR encryption feature".International Journal of Information Security. Special issue on ISC'05.5 (2):115–123.doi:10.1007/s10207-006-0086-3.ISSN1615-5262.S2CID22398865.
Spanbauer, Scott (December 2000). "Forget Napster – Usenet Is Where the Files Are".PC World.18 (12): 254.ISSN0737-8939.
Allen, Danny (February 2007). "Compression Apps Do More Than Shrink Files".PC World.25 (2): 64.ISSN0737-8939.
Sanjuàs-Cuxart, J.; Barlet-Ros, P.; Solé-Pareta, J. (2011). "Measurement Based Analysis of One-Click File Hosting Services".Journal of Network and Systems Management.20 (2): 276.doi:10.1007/s10922-011-9202-4.ISSN1064-7570.S2CID2784124.
Jovanova, B.; Preda, M.; Preteux, F. O. (2009). "MPEG-4 Part 25: A graphics compression framework for XML-based scene graph formats".Signal Processing: Image Communication.24 (1–2): 101.doi:10.1016/j.image.2008.10.011.ISSN0923-5965.