What is a 7z file?
A 7z file is an archive in the format of 7-Zip, the free archiver Igor Pavlov released in 1999. It holds files and folders like a ZIP, but compresses them with stronger algorithms — LZMA2 by default — and can pack them as one solid stream, which is why a .7z can be smaller than a ZIP of the same files.
Unlike RAR, the format is open. Its layout is documented, the LZMA SDK is in the public domain, and 7-Zip itself is free software. Any program may read and write 7z; in practice far fewer do than handle ZIP.
Do it in your browser, nothing uploaded
- Open a 7Z fileOpen and extract .7z files in your browser on Windows, Mac, Linux or Chromebook — nothing to install. Inspect every entry, then pull out only what you need.
- Convert 7Z to ZIPConvert 7z archives to ZIP privately. Entries are decoded with libarchive in WebAssembly and re-packed into a new ZIP, with nothing uploaded.
- Archive viewerInspect any ZIP, RAR, 7z, TAR or TAR.GZ archive in your browser: full file tree, sizes, compression ratio, checksums, encryption status and unsafe paths.
How to recognise one
Every 7z begins with a 32-byte signature header. Its first six bytes are fixed:
| Offset | Bytes | Contents |
|---|---|---|
| 0 | 6 | Signature 37 7A BC AF 27 1C — 7z followed by four binary bytes |
| 6 | 2 | Format version (major, minor) |
| 8 | 4 | CRC-32 of the next 20 bytes |
| 12 | 8 | Offset of the main header, from the end of this 32-byte block |
| 20 | 8 | Size of the main header |
| 28 | 4 | CRC-32 of the main header |
This site identifies 7z from the signature, never the extension, and hands it to libarchive compiled to WebAssembly.
Inside a 7z
The compressed data comes straight after the signature header, and the main header — the list of files, their sizes, timestamps, attributes and which compressed stream holds them — is written at the end, and can be compressed itself. There are no per-file headers in front of each file as in ZIP, so a 7z whose end is cut off cannot even be listed.
- Solid blocks. By default many files are compressed together as one stream (a "folder" in the format's terms). Similar files compress much better; extracting one file means decoding the block up to it.
- Methods. LZMA2 is the default, with LZMA, PPMd, BZip2, Deflate and plain copy available, plus filters such as BCJ for executables. The formats page lists the ones verified here: LZMA, LZMA2, BZip2, Deflate and Store.
- Encryption. AES-256, with the key derived from the password by SHA-256 iterated 2^19 times. With header encryption on (
-mhe=on, "Encrypt file names" in 7-Zip) the file list is hidden too. - Split sets. 7-Zip splits an archive into
name.7z.001,name.7z.002and so on. The first part carries no marker saying it is a volume.
How to open a 7z file
- Windows 11. Windows 11 version 23H2 added archive reading to File Explorer (Microsoft's release notes), built on the open-source libarchive library — the same library this site runs as WebAssembly for RAR and 7z. Windows 10 and earlier need a separate program. Version 24H2 can also create 7z archives from the Compress to menu.
- Older Windows. 7-Zip itself, which is free.
- macOS. In our test on macOS 26.6.1 (December 2026), Archive Utility opened a 7z file. Where it does not, a third-party unarchiver or 7-Zip's own command-line build does.
- Linux.
7zfrom the p7zip package, or7zz, the official 7-Zip build for Linux.bsdtarreads 7z as well. - Any browser. The 7z opener here lists and extracts 7z without installing anything; nothing is uploaded.
7z l archive.7z # list the contents
7z x archive.7z # extract, keeping folders
7z x archive.7z -oout # extract into out/ (no space after -o)
7z a -mx=9 archive.7z folder/ # create, maximum compression
7z a -p -mhe=on secret.7z folder/ # encrypt contents and file names7z on this site
| Operation | Supported | Detail |
|---|---|---|
| List and extract | Yes | libarchive 3.7.2 compiled to WebAssembly |
| Convert 7z to ZIP | Yes | Every entry decoded and re-compressed with DEFLATE into a new ZIP, then re-read |
| Encrypted 7z | No | libarchive has no 7z decryption in any build; no password field is offered |
| Split .7z.001 sets | No | Reported as unreadable, naming a split set as the likely cause |
| Create 7z | No | Not implemented |
| Timestamps | No | This decoder does not expose them; outputs are dated when the job runs |
Questions
Is a 7z file safe?
The format is as safe as ZIP: an archive cannot run anything on its own. Check what is inside — executables and scripts are what to watch for — and use an extractor that refuses paths escaping the target folder. Every path is checked here before anything is written.
Do I need 7-Zip to open a 7z file?
Not on Windows 11 23H2 or later, which opens 7z in File Explorer, not on macOS 26.6.1, where Archive Utility opened a 7z file in our test (December 2026), and not in a browser, where the 7z opener here reads it. Elsewhere you need 7-Zip or another program that supports the format.
Why is extracting one file from a 7z slow?
Solid compression. Files in a solid block share one stream, so reaching a file near the end means decoding everything before it in that block. Archives made with -ms=off are not solid and extract single files quickly, at some cost in size.
What is a .7z.001 file?
The first part of a split 7z. Put every part in one folder and open the .001 in 7-Zip, which reads the rest in sequence. Split sets cannot be opened here.
Is 7z better than ZIP?
It can be smaller, and its encryption can hide file names. ZIP opens everywhere without installing anything. The trade-off is laid out in 7z vs ZIP.