From Wikipedia, the free encyclopedia
Jump to: navigation, search
7-Zip Logo
7-Zip File Manager on Windows 8
Developer(s) Igor Pavlov
Initial release 18 July 1999 (1999-07-18)[1]
Stable release 9.20 (November 18, 2010; 4 years ago (2010-11-18)) [±][1]
Preview release 9.38 beta (January 3, 2015; 2 months ago (2015-01-03)) [±][2]
Written in C++
Operating system Microsoft Windows, GNU/Linux, Mac OS X
Size 1.3 MB
Available in 79 languages, including Brazilian Portuguese, Czech, English, French, German, Italian, Japanese, Polish, Russian, Simplified Chinese, Sinhala, Spanish and Korean
Type File archiver
License GNU LGPLv2.1+ with unRAR restriction[3]
Website www.7-zip.org

7-Zip is an open source file archiver, or an application used to compress files. 7-Zip operates with the 7z archive format, but can read and write several other archive formats. The program can be used from a command line interface, graphical user interface, or with a window-based shell integration. 7-Zip began in 1999[1] and is developed by Igor Pavlov. The cross-platform version of the command line utility, p7zip, is also available.[4]

7-Zip is open source software. Most of the source code is under the GNU LGPL license. The unRAR code is under a mixed license: GNU LGPL + unRAR restrictions.[5][6]



Main article: 7z (file format)

By default, 7-Zip creates 7z format archives with a .7z file extension. Each archive can contain multiple directories and files. As a container format, security or size reduction are achieved using a stacked combination of filters. These can consist of pre-processors, compression algorithms, and encryption filters.

The core .7z compression uses a variety of algorithms, the most common of which are bzip2, PPMd, LZMA2, and LZMA. Developed by Pavlov, LZMA is a relatively new system, making its debut as part of the 7z format. LZMA consists of a large LZ-based sliding dictionary up to 4 GB in size, backed by a range coder.[7]

The native 7z file format is open and modular. All filenames are stored as Unicode.[8]

TopTenReviews found that the 7z compression is at least 17% better than ZIP,[9] and 7-Zip's own site reports that while compression ratio results are very dependent upon the data used for the tests, "usually, 7-Zip compresses to 7z format 30–70% better than to zip format, and 7-Zip compresses to zip format 2–10% better than most other zip compatible programs."[10]

The official 7z file format specification is distributed with the program's source code, in the 'doc' subdirectory.


7-Zip supports a number of other compression and non-compression archive formats (both for packing and unpacking) including 7z, ZIP, Gzip, bzip2, xz, tar and WIM. The utility also supports unpacking APM, ARJ, CHM, cpio, DEB, FLV, JAR, LHA/LZH, LZMA, MSLZ, Office Open XML, onepkg, RAR, RPM, smzip, SWF, XAR and Z archives and CramFS, DMG, FAT, HFS, ISO, MBR, NTFS, SquashFS, UDF and VHD disk images.

7-Zip can open some MSI files, allowing access to the meta-files within along with the main contents. Some Microsoft CAB (LZX compression) and NSIS (LZMA) installer formats can be opened. Similarly, some Microsoft executable programs (.EXEs) which are self-extracting archives or otherwise contain archived content (e.g., some setup files) may be opened as archives.

When compressing ZIP or gzip files, 7-Zip uses its own DEFLATE encoder, which may achieve higher compression, but at lower speed, than the more common zlib DEFLATE implementation. The 7-Zip deflate encoder implementation is available separately as part of the AdvanceCOMP suite of tools.

The decompression engine for RAR archives was developed using source code of the unRAR program (which has a licensing restriction against creation of a RAR compressor). 7-Zip v9.20 doesn't support the latest RAR5 file format.


Two command line versions are provided: 7z.exe, using external libraries; and a standalone executable 7za.exe containing built-in modules. However, 7za's compression/decompression support is limited to 7z, ZIP, gzip, bzip2, Z and tar formats. A 64-bit version is available, with support for large memory maps leading to faster compression. All versions support multi-threading.

The 7za.exe version of 7-Zip is available for Unix-like operating systems (including Linux, FreeBSD and Mac OS X), FreeDOS, OpenVMS and AmigaOS 4 under the name p7zip, also developed and maintained by Pavlov (7-zip).[4]


7-Zip supports:

  • The 256-bit AES cipher. Encryption can be enabled for both files and the 7z directory structure. When the directory structure is encrypted, users are required to supply a password to see the filenames contained within the archive. WinZip-developed zip file AES encryption standard is also available in 7-Zip to encrypt ZIP archives with AES 256-bit, but it does not offer filename encryption as in 7z archives.[11]
  • Volumes of dynamically variable sizes, allowing use for backups on removable media such as writable CDs and DVDs.
  • Usability as a basic orthodox file manager when used in 2-panel mode.
  • Multiple-core CPU threading settings can be configured.
  • The ability to attempt to open EXE files as archives, allowing the decompression of data from inside many "Setup" or "Installer" or "Extract" type programs without having to launch them.
  • The ability to unpack archives with corrupted filenames, renaming the files as required.
  • The ability to create self-extracting single- (but not multi-) volume archives.
  • Command-line interface.[12]
  • Graphical User Interface. The Windows version comes with its own GUI, however p7zip uses the GUI of the Unix/Linux Archive Manager.[13]


Snapfiles.com rates 7-zip 4.5 stars out of 5, noting that its "interface and additional features are fairly basic, but the compression ratio is outstanding."[14]

On TechRepublic, Justin James found the detailed settings for Windows File Manager integration were "appreciated," and called the compression/decompression benchmark utility "neat". And though the archive dialog has settings that "will confound most users", he concluded, "7-Zip fits a nice niche in between the built-in Windows capabilities and the features of the paid products, and it is able to handle a large variety of file formats in the process."[15]

The 2011 review of version 9.20 in PC World magazine pointed out that 7-Zip can "compress and e-mail files in one easy step", and although it offers "options that most users should never have to think about ... The default settings are just fine."[16]

The software has received awards. In 2007, SourceForge.net granted it community choice awards for "Technical Design" and for "Best Project".[17] In 2013, 7-Zip received Tom's Hardware Elite award due to superiority in speed and compression ratio.[18]

See also[edit]


  1. ^ a b c "HISTORY of the 7-Zip". www.7-zip.org. 15 April 2010. Archived from the original on 19 April 2010. Retrieved 2010-04-24. 
  2. ^ Pavlov, Igor (2015), 7-Zip, retrieved 2015-01-03 
  3. ^ Pavlov, Igor (2010). "7-Zip License for use and distribution". 7-zip.org. Archived from the original on 10 April 2010. Retrieved 2010-04-16. 
  4. ^ a b "P7ZIP". SourceForge.net. February 2009. Retrieved 2010-04-16. 
  5. ^ Pavlov, Igor. 7-zip. Retrieved 2012-10-31.
  6. ^ Pavlov, Igor. License. 7-zip.org. Retrieved 2012-10-31.
  7. ^ Diaz, Antonio Diaz. "Lzip". lzip.nongnu.org. Archived from the original on 29 July 2010. Retrieved 29 July 2010. 
  8. ^ 7z format. 7-zip.org.
  9. ^ "7-Zip 2011 – TopTenREVIEWS". Archived from the original on 25 October 2012. 
  10. ^ 7-zip.org – Main Page
  11. ^ "AES Encryption Information: Encryption Specification AE-1 and AE-2". winzip.com. 30 January 2009, WinZip International LLC.
  12. ^ "Command Line Syntax". sevenzip.sourceforge.jp.
  13. ^ "Command Line Syntax"
  14. ^ "7-Zip file compression tool". Snapfiles.com. WebAttack Inc. Retrieved 2012-10-12. 
  15. ^ James, Justin (10 November 2009). "Review: 7-Zip file compression application". Tech Republic. pp. 1–2. 
  16. ^ Spector, Lincoln (15 March 2011). "Editorial Review of 7-Zip (32-bit version)". PC World. 
  17. ^ "SourceForge.net: 2007 Community Choice Awards". SourceForge.net. 2007. Archived from the original on 26 March 2010. Retrieved 2010-04-16. 
  18. ^ "Compression Performance: 7-Zip, MagicRAR, WinRAR, WinZip". Tom's Hardware. Bestofmedia Group. 19 March 2013. p. And The Undisputed Winner Is... 

External links[edit]