7z is the native format of 7-Zip, the free archiver for Windows. It typically produces smaller files than ZIP, so it is popular for software distributions, game mods, emulator collections, database dumps and backups. If you received a .7z file, the sender was most likely a 7-Zip user who wanted the smallest possible download.
History
Igor Pavlov published the first version of 7-Zip in 1999 together with the 7z format and its main compression method, LZMA. The format is documented, the reference code is open (mostly GNU LGPL, the LZMA SDK is public domain), and there are no licence or patent restrictions on 7z files. 7-Zip is still developed by Pavlov; in 2026 it is at version 26. A Linux port called p7zip filled the gap for years but stopped at version 16.02; current Linux distributions ship the official 7-Zip instead.
How 7z compresses
- LZMA2 is the default method in current 7-Zip; it is LZMA with better multi-core support. LZMA combines a large dictionary (up to 4 GB) with range coding. Also available: PPMd (very good on text), BZip2, Deflate and plain storage.
- Solid archive by default: files are compressed as one stream, so repeated content across files is stored only once. This is where most of the gain over ZIP comes from. The downside: extracting a single file from the end of a large solid block is slow, and damage in the middle can make every following file in that block unreadable.
- Filters such as BCJ and BCJ2 rearrange machine code in .exe and .dll files before compression, which shrinks programs further.
- Encryption: AES-256. The option "Encrypt file names" also hides the list of files, so without the password nobody sees what the archive contains.
- Not stored: Unix owners and groups and some special file types. For Linux backups, TAR followed by compression is the safer choice.
Opening 7z files
Windows 11 extracts 7z in File Explorer since version 23H2 and can create 7z archives since 24H2, but not with a password. On older Windows install 7-Zip. macOS has no built-in support; The Unarchiver and Keka are free. Linux: 7z x file.7z (package 7zip, older systems p7zip-full) or the desktop archive manager. On phones, ZIP is the safer choice: Files by Google and the iOS Files app do not open 7z.
Common problems
"Can not open the file as archive"
Either the download is incomplete, or the file is only one part of a split archive (.7z.001, .7z.002…). Put all parts in one folder and open the .001 file.
"Unsupported compression method"
The archive uses a method your program does not know. Typical cases: the outdated p7zip 16.02 on Linux, an old 7-Zip, or an archive from a modified 7-Zip build with Zstandard or Brotli. Update to the current 7-Zip; for the forked methods, ask the sender to use standard LZMA2.
"Data error in encrypted file. Wrong password?"
Despite the wording, the password is usually wrong, including wrong keyboard layout or a trailing space. If you are sure it is right, the file is damaged.
"Headers Error" or "Unexpected end of data"
The archive is cut off or damaged. 7z has no recovery record, so try downloading again. 7-Zip can sometimes extract the files before the damaged point.
Converting 7z
The most common reason is compatibility: 7z to ZIP for colleagues, a school portal or a phone that cannot open 7z. ZIP will usually be larger, sometimes noticeably for many similar files. Other targets are TAR, tar.gz or tar.xz for Linux and ISO. Our converter extracts the 7z and packs the content again, the files themselves stay identical. Password-protected and split 7z archives cannot be converted, and archives that use newer filters or Zstandard from 7-Zip forks may fail. Limits: 100 MB per upload, 2 GB unpacked. Conversion in the other direction, for example ZIP or RAR to 7z, produces a standard 7z archive (LZMA2, solid).
| 7z in brief | |
|---|---|
| Developer | Igor Pavlov (7-Zip) |
| First release | 1999 |
| Specification | open documentation in the 7-Zip and LZMA SDK sources |
| Type | archive, solid compression by default |
| Compression | LZMA2 (default), LZMA, PPMd, BZip2, Deflate |
| Encryption | AES-256, optionally including file names |
| MIME type | application/x-7z-compressed |
| Typical use | software and game downloads, backups, large data sets |
More: 7z format on the 7-Zip website and 7z File Format (Library of Congress).