ArticleslgStudy

computer science

7-Zip

7-Zip is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand 7-Zip rather than just read about it. In short: 7-Zip is a free and open-source file archiver, a utility used to place groups of files within compressed containers known as "archives". It is developed by Igor Pavlov and was first released in 1999. 7-Zip has its own archive format called 7z introduced in 2001, but can read and write several others.

7-Zip — main illustration
7-Zip — illustration

Key takeaways

  • 7-Zip belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect 7-Zip to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of 7-Zip from memory before moving on to harder problems.

Reference excerpt

7-Zip is a free and open-source file archiver, a utility used to place groups of files within compressed containers known as "archives". It is developed by Igor Pavlov and was first released in 1999. 7-Zip has its own archive format called 7z introduced in 2001, but can read and write several others. The program can be used from a Windows graphical user interface that also features shell integration, or from a command-line interface as the command 7z that offers cross-platform support (see versions for details). Most of the 7-Zip source code is under the LGPL-2.1-or-later license; the unRAR code, however, is under the LGPL-2.1-or-later license with an "unRAR restriction", which states that developers are not permitted to use the code to reverse-engineer the RAR compression algorithm. Since version 21.01 alpha, native Linux support has been added.

Archive formats

7z

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 by looking for similarities throughout the data 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 uses an LZ-based sliding dictionary of up to 3840 MB in size, backed by a range coder. The native 7z file format is open and modular. File names are stored as Unicode. The 7z file format specification is distributed with the program's source code, in the "doc" sub-directory.

Others 7-Zip supports the following formats both for compression and decompression: bzip2, gzip, tar, WIM, xz and ZIP. Decompression is available for APM, ar, ARJ, chm, cpio, cramfs, deb, DMG, FAT, FLV, HFS, ISO, JAR, LHA/LZH, LZMA, MBR, MSLZ (Microsoft's proprietary LZ77 compression format), NTFS, Office Open XML, onepkg, RAR, RPM, SquashFS, SWF, XAR, UDF, VHD, Z and ZIPX. 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) that 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 freely available source code of the unRAR program, which has a licensing restriction against creation of a RAR compressor. 7-Zip v15.06 and later support extraction of files in the RAR5 format. Some backup systems use formats supported by archiving programs such as 7-Zip; e.g., some Android backups are in tar format, and can be extracted by archivers such as 7-Zip.

Features Basic orthodox file manager when used in dual panel mode Encryption via the 256-bit AES cipher, which can be enabled for both files and the 7z hierarchy. When the hierarchy 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. Volumes of dynamically variable sizes, allowing use for backups on removable media such as writable CDs and DVDs Multi-threaded compression Opening EXE files as archives, allowing the decompression of data from inside many "Setup" or "Installer" or "Extract" type programs without having to launch them Unpacking archives with corrupted filenames, renaming the files as required. Creation of self-extracting archives Command-line and graphical user interfaces. Only the Windows version of the application comes with its own GUI. For Unix-like systems, several GUIs, e.g. PeaZip, can handle the 7z file format based on the Unix binaries. Calculating Blake2SP, CRC-32, CRC-64, MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, and XXH64 checksums for disk files, available either via command line or Explorer's context menu Ability to optionally record creation dates (tc) and last access dates (ta) in archives (in addition to modification dates).

File manager 7-Zip comes with a file manager along with the standard archiver tools. The file manager has a toolbar with options to create an archive, extract an archive, test an archive to detect errors, copy, move, and delete files, and open a file properties menu exclusive to 7-Zip. The file manager, by default, displays hidden files because it does not follow Windows Explorer's policies. The tabs show name, modification time, original and compressed sizes, attributes, and comments (4DOS descript.ion format). When going up one directory on the root, all drives, removable or internal appear. Going up again shows a list with four options:

Computer: loads the drives list Documents: loads user's documents, usually at %UserProfile%\My Documents Network: loads a list of all network clients connected \\.: Same as "Computer" except loads the drives in low-level filesystem access. This results in critical drive files and deleted files still existing on the drive to appear. (NOTE: As of November 2020, access to the active partition in low-level mode is not allowed for currently unknown reasons.)

Versions In the past, three command-line versions were available: 7z (7z.exe), using external libraries to support a large number of different formats and the ability to support even more formats via plug-ins; 7za (7za.exe), which is a standalone executable containing built-in modules, but with compression/decompression support limited to 7z, ZIP, gzip, bzip2, Z and tar formats; and 7zr (7zr.exe), which is a minimized standalone executable with compression/decompression support limited to just the 7z format. A 64-bit version is available, with support for large memory maps, leading to faster compression. All versions support multi-threading. As of 2026, the application comes only with the 7z.exe command line binary.

… excerpt ends here. Continue reading the full article.

Illustrations

7-Zip illustration
7-Zip illustration

Worked examples

Example 1 — a first encounter with 7-Zip

Start with the simplest possible case. Write down what 7-Zip claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to 7-Zip before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about 7-Zip ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of 7-Zip

In research
7-Zip appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses 7-Zip in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
7-Zip is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1999 software, Cross-platform free software, Disk image extractors, so understanding it makes those chapters shorter.
In everyday life
Look for 7-Zip outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “7-Zip” →

How to study 7-Zip in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what 7-Zip means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain 7-Zip out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is 7-Zip in simple terms?

7-Zip is a free and open-source file archiver, a utility used to place groups of files within compressed containers known as "archives". It is developed by Igor Pavlov and was first released in 1999. 7-Zip has its own archive format called 7z introduced in 2001, but can read and write several other…

Why does 7-Zip matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study 7-Zip?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on 7-Zip.

Tags

  • 1999 software
  • Cross-platform free software
  • Disk image extractors
  • File archivers
  • Free data compression software
  • Free file managers
  • Free multilingual software
  • Free software programmed in C
  • Free software programmed in C++
  • Portable software
  • Software using the GNU Lesser General Public License
  • Windows compression software

Keep exploring