Skip to content
Home

7-Zip: Free open-source file archiver and compression utility

Free, open-source file archiver created by Igor Pavlov in 1999. Uses the 7z format with LZMA compression; supports many archive types, AES-256 encryption, GUI and command-line tools, and cross-platform ports.

7-Zip is a free and open-source file archiver that packs and unpacks files into compressed archives. First released in 1999 by developer Igor Pavlov, it is best known for the 7z archive format and for implementing the LZMA family of compression algorithms, which aim to deliver higher compression ratios than many older formats. 7-Zip is available for Microsoft Windows as a native graphical application and has ports for Unix-like systems (commonly distributed as p7zip).

Image gallery

1 Image

Key characteristics

7-Zip emphasizes efficient compression, format support, simple integration with the operating system, and strong encryption. It offers both a graphical file manager and command-line interfaces so it can be used by end users and automated scripts. Important technical and user-facing features include:

  • 7z format: a flexible container that supports solid compression and multiple compression methods (notably LZMA / LZMA2).
  • High compression: LZMA algorithms often yield better ratios for many file types compared with older algorithms.
  • Encryption: AES-256 encryption is available for 7z and ZIP archives to protect contents with a password.
  • Multiple interfaces: a Windows GUI (File Manager and Explorer shell integration) and command-line tools (7z or p7zip) for advanced use.
  • Multithreading: modern builds use multiple CPU cores to speed compression and decompression where applicable.

Supported formats

7-Zip can create archives in its native 7z format and also read, extract, and in many cases write other widely used archive formats. Commonly handled formats include 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM. It can extract from formats such as RAR, CAB, ARJ, and others; however, creating RAR archives is not possible because RAR is a proprietary format.

History and development

Igor Pavlov released 7-Zip in 1999 and continued to develop it, introducing the 7z format and the LZMA algorithm implementations. Over time the project grew into a widely used compression tool for personal and professional use. The Unix port commonly known as p7zip brought much of 7-Zip's functionality to Linux and macOS environments. The codebase is mostly distributed under the GNU Lesser General Public License (LGPL), while a small portion related to RAR extraction is subject to additional restrictions.

Typical uses and examples

Users employ 7-Zip for routine file compression, archival backups, and secure file exchange. The graphical interface lets users select files and choose options such as archive format, compression level, and encryption. For automation and scripting, the command-line utility supports actions like creating, listing, testing, and extracting archives—commonly using an "add" action to compose an archive and an "x" action to extract with full paths.

Security, licensing and notable distinctions

7-Zip's built-in AES-256 encryption protects archive contents, but the strength depends on the password chosen. The software is mostly open-source under LGPL terms, making it suitable for many uses, while the code for extracting certain proprietary formats carries a separate restriction that prevents reverse-engineering of those formats. Compared to many proprietary archivers, 7-Zip is compact, fast on decompression, and often yields superior compression ratios, though compression speed can be slower at higher settings.

Overall, 7-Zip remains a popular, well-regarded tool for compressing and managing archives across platforms because of its efficiency, license, and blend of advanced options with straightforward usability.

Questions and answers

Q: What is 7-Zip?

A: 7-Zip is a free and open-source file archiver software used to shrink files into containers called archives.

Q: Who developed 7-Zip?

A: 7-Zip was developed by Igor Pavlov and was first released in 1999.

Q: What file format does 7-Zip use?

A: 7-Zip uses its own 7z format but can also read and write several other archive formats.

Q: Can 7-Zip be used through a command-line interface?

A: Yes, 7-Zip can be used from a command-line interface as the command p7zip.

Q: Is most of the 7-Zip source code under an open-source license?

A: Yes, most of the 7-Zip source code is under the GNU LGPL license.

Q: What license is the unRAR code under?

A: The unRAR code is under the GNU LGPL with an "unRAR restriction" which prohibits the code from being used to reverse-engineer the RAR compression format.

Q: What is the graphical user interface for 7-Zip?

A: The graphical user interface for 7-Zip works with the shell.

Related articles

Author

AlegsaOnline.com 7-Zip: Free open-source file archiver and compression utility

URL: https://en.alegsaonline.com/art/113034

Share