ZIP and 7Z both bundle and compress files, but they make different trade-offs. ZIP is the universal format that opens almost anywhere without extra software. 7Z, the native format of 7-Zip, usually produces smaller files and has stronger encryption options, but the person receiving it may need to install something.
The short answer
- Sending files to other people: ZIP. It opens on every computer and phone without anyone installing anything.
- Archiving your own text-heavy data where every megabyte counts: 7Z is worth considering.
- Hiding file names as well as contents: 7Z with header encryption, because ZIP encryption leaves names visible.
- Photos, videos, music and PDFs: size barely differs, so pick ZIP for compatibility.
Side-by-side comparison
| Feature | ZIP | 7Z |
|---|---|---|
| Origin | 1989, PKWARE; public specification | 1999, Igor Pavlov for 7-Zip; open format |
| Default compression | Deflate | LZMA2 |
| Typical ratio | Good | Often noticeably better on text, code and similar data |
| Solid compression | No; each file is compressed separately | Yes by default; similar files are compressed together |
| Extracting one file | Fast; jumps straight to it | May need to decompress earlier files in the same solid block |
| Damage tolerance | A bad file usually affects only that file | Damage can affect the rest of a solid block |
| Encryption | AES-256, or weak ZipCrypto; names visible | AES-256; optional encryption of file names |
| Built-in OS support | Windows, macOS, Linux desktops, iOS, Android | Recent Windows 11 versions; elsewhere usually an app |
| Aback ZIP | Create, extract, edit, inspect and more | Not supported; detected and reported |
Compression: why 7Z is usually smaller
Two things give 7Z its edge. LZMA2 looks for repeated data across a dictionary that can be many megabytes, compared with Deflate's 32 KB window. And solid mode compresses many files as one stream, so a pattern learned in the first file helps compress the hundredth.
On a folder of source code, logs or documents, a 7Z is commonly 10-30% smaller than a ZIP of the same files. On JPEGs, videos or other already-compressed files, the difference is close to zero. The cost is time and memory: high 7Z levels are much slower to create than ZIP and need far more RAM, although extraction is reasonably quick.
Compatibility
ZIP's biggest advantage is that nobody needs to install anything. Windows File Explorer, macOS Finder, Linux file managers, the iOS Files app and Android file managers all open ZIP files.
7Z support is narrower. Recent Windows 11 versions open 7Z files in File Explorer, but Windows 10 cannot, and Mac users typically rely on apps such as Keka or The Unarchiver. If you do not know what your recipient uses, ZIP is the safe choice.
Encryption
Both formats use AES-256 when you choose strong encryption, but they differ in the details. 7Z derives its key with 2^19 rounds of SHA-256, while ZIP AES uses 1,000 rounds of PBKDF2-HMAC-SHA1, so guessing passwords against a 7Z is much slower. 7Z can also encrypt the file list so that names are hidden; ZIP always leaves names, sizes and dates readable.
ZIP's older ZipCrypto scheme is weak and should not be used for anything sensitive. See ZIP encryption: AES vs ZipCrypto.
Converting between them
There is no shortcut: converting 7Z to ZIP means extracting and compressing again. Aback ZIP does not read or write 7Z, so use 7-Zip, PeaZip or Keka for that step, then use the Aback ZIP tools on the resulting ZIP.
What is inside each format
A ZIP is a list of entries. Each entry begins with a local file header (signature 0x04034b50), followed by optional encryption bytes and the stored or compressed data. The central directory at the end of the file is the index: it records every path, size and offset, so a reader can list thousands of files without decompressing any of them. The layout is specified in PKWARE's APPNOTE.TXT.
A 7z archive is built from packed streams. Its header says which streams hold file data and which hold metadata, and the header itself can be compressed. Files may be grouped into a solid block, so pulling out one small file can require decoding earlier data in that block. That is why 7z is compact but less convenient for picking out a single file.
| Structural detail | ZIP | 7Z |
|---|---|---|
| Where the index lives | Central directory at the end of the file | Header at the start, often compressed |
| List contents without decompressing | Yes; read the directory | Usually read and decode the header first |
| Unit of compression | One file at a time | A solid block of many files |
| Random access to one file | Direct, using stored offsets | May need to decode earlier data in the block |
| Adding one file later | Append data and rewrite the directory | Usually rewrite the archive |
Compression methods each format can carry
ZIP is a container, not a single algorithm. A method number in each entry's header says how that entry was encoded, and one archive can mix methods. 7z is also an open architecture, but in practice 7-Zip uses LZMA or LZMA2 by default and offers PPMd, BZip2 and filters such as BCJ for executables; its own site documents the 7z format.
| Method | Where you see it | Aback ZIP |
|---|---|---|
| Store (0) | Both formats; no compression | Read and write |
| Deflate (8) | The ZIP default | Read and write |
| BZIP2 (12) | ZIP and 7z | Decoded inside ZIP entries |
| LZMA (14) | ZIP (often seen as .zipx) and 7z | Decoded inside ZIP entries |
| XZ (95) and Zstandard (93) | Modern ZIP writers | Decoded inside ZIP entries |
| Deflate64 (9) and PPMd (98) | Older or specialised archives | Detected; copied unchanged by split, merge, edit and clean, but not decompressed |
| Native 7z streams | .7z files | Not supported; detected and reported |
Aback ZIP never uploads a file to decode a method it does not support. An unsupported entry is reported plainly instead of being silently skipped.
Names, timestamps and metadata
Both formats store more than file bytes. ZIP names are bytes plus a flag: bit 11 of the general-purpose flags marks UTF-8, and without it readers fall back to a legacy code page. That is one reason a ZIP made on one system can show garbled names on another; see Why ZIP file names are garbled. The built-in date and time fields use MS-DOS format with two-second precision.
7z stores Unicode names natively and keeps timestamps with higher precision. For Unix backups the bigger difference is permissions and symbolic links: TAR is usually the better carrier for those, and a ZIP to TAR converter carries permissions across where the formats allow it.
- If file names matter to the recipient, open the archive before sending and check that they read correctly.
- If names are sensitive, remember that neither ZIP AES nor ZipCrypto hides them; encrypting file names needs 7z header encryption or a different tool.
- Do not rely on an archive's stored timestamp as evidence of when a file was created; it is metadata supplied by the writer and can be changed.
Checking what you have before you choose
If you already hold an archive, ZIP Viewer lists entries, methods, sizes and encryption without extracting them, so you can tell an ordinary Deflate ZIP from an unusual .zipx. For the format's hard size ceilings, see ZIP file size limits.
- Open the archive in a viewer and read the method column rather than trusting the extension.
- Look for an encryption marker: contents may be protected while the names stay readable.
- Note the entry count and largest file; these decide whether a 4 GB classic ZIP is even an option.
- Decide whether the recipient needs single-file access; if so, prefer ZIP's per-file structure.
- Only then choose the format and the compression level.
A short decision checklist
- Sending to someone you cannot advise? Use ZIP.
- Archiving text, code or logs for yourself and every megabyte matters? 7z is worth the extra step.
- Archiving photos, video or music? Use ZIP; the ratio difference is small.
- Need to hide the file list as well as the contents? 7z with header encryption.
- Need to recover one file from a damaged archive later? ZIP's per-file layout is safer.
- Need a browser tool to do the work? Aback ZIP handles ZIP, so convert a 7z first with a desktop app.
Once you have a ZIP, Create ZIP and Compress ZIP can build or rework it locally, with before-and-after sizes reported honestly.