Bundling documents into a single archive is one of those everyday tasks where the format you choose has real consequences. ZIP is everywhere; 7z is faster on storage but slower on compatibility. RAR is widely used in some regions, almost unknown in others. Picking right depends on what's in the archive, who you're sending it to, and how much you care about the last 10% of compression.
What each format actually is
- ZIP dates to 1989 (yes, really). It's now standardised as part of file system specs in many operating systems. Native support on every major OS, every web browser, every mobile platform.
- 7z was created by Igor Pavlov in 1999 as a higher-compression alternative. Open source, widely supported but not native everywhere.
- RAR is proprietary (developed by Eugene Roshal). Widely used historically, especially in some regional software ecosystems. Decompression is supported by most tools; creation requires WinRAR (paid).
- TAR is a Unix-native format, often paired with gzip (
.tar.gz) or xz (.tar.xz) for compression. Standard in software distribution.
For mixed-platform document sharing, ZIP and 7z are the practical choices.
Compression: how each format performs
For typical office documents (PDFs, Word, Excel, PowerPoint), the ratios:
- ZIP: typically 5-15% reduction from raw size. PDFs and Office files are already compressed internally.
- 7z: typically 20-40% reduction. Better algorithms, better at de-duplication across files.
- RAR: similar to 7z, slightly behind on most benchmarks.
- TAR alone: no compression — TAR is just bundling. Add gzip for ~ZIP-level compression, xz for ~7z-level.
For text-heavy archives (logs, source code, plain text), the gap widens — 7z can outperform ZIP by 50% or more.
For archives of already-compressed content (JPEGs, MP3s, MP4s), no format compresses meaningfully. ZIP and 7z produce roughly the same size.
Speed: compress vs decompress
- Compression speed: ZIP is fastest. 7z is slower (especially at high compression levels). RAR is between them.
- Decompression speed: ZIP is fastest. 7z is slower (the same algorithms that compress better are slower to decompress).
- CPU usage: 7z uses substantially more CPU and memory during compression.
For one-off archiving of large folders, the difference is minutes. For batch processing, it adds up. See our batch processing guide.
Compatibility
The honest comparison for receiving an archive:
- ZIP: works everywhere. Native on Windows, macOS, Linux, iOS, Android. Browser extraction works for any modern browser.
- 7z: needs a tool to extract. 7-Zip on Windows, Keka or The Unarchiver on Mac, p7zip on Linux. iOS and Android need a third-party app.
- RAR: similar — extraction requires a tool. WinRAR, RAR for Mac, unrar on Linux.
For sending to non-technical recipients, ZIP saves you a "how do I open this?" reply.
Encryption
This is where the formats meaningfully differ:
- ZIP has historically supported weak encryption (ZipCrypto, broken decades ago). Modern ZIP (v6.3+) supports AES, but support varies — some readers can't decrypt AES-encrypted ZIPs.
- 7z uses AES-256 by default. Supported by every 7z-compatible tool.
- RAR uses AES-256 by default.
If you need encryption, 7z is more reliable. If you must use ZIP, explicitly choose AES (most tools call this "Strong encryption" or "AES-256") and confirm the recipient can decrypt.
For sensitive documents, encryption at the archive level is sometimes simpler than encrypting individual PDFs. See PDF encryption explained.
File metadata preservation
Different formats preserve different metadata:
- ZIP: filename, modification date, basic permissions on most systems.
- 7z: same as ZIP plus extended file attributes on some platforms.
- TAR: full Unix permissions, ownership, symlinks. The only format that preserves these losslessly.
For archiving Linux server backups, TAR. For document archives where filenames and dates are enough, ZIP or 7z.
Splitting large archives
For archives that exceed email or upload size limits:
- ZIP: supports multi-volume archives (
archive.z01,archive.z02, ...). All volumes needed to extract. - 7z: supports splitting (
archive.7z.001,archive.7z.002, ...). All parts needed. - RAR: classic multi-volume support.
For sending large document bundles via email (where individual attachment limits apply), splitting is useful. For cloud transfer, prefer a single file with a download link.
Use case: sending PDFs to a client
ZIP is almost always right:
- The client may not have 7-Zip installed.
- The size savings of 7z over ZIP for already-compressed PDFs is small (~5%).
- You want minimum friction.
For sensitive bundles, encrypt with AES or password-protect each PDF inside. Don't rely on ZIP's old ZipCrypto.
Use case: archiving old documents long-term
7z has the edge:
- Better compression saves storage.
- AES-256 if you encrypt.
- Open, well-supported format that will survive.
For maximum future-proofing, consider also keeping a small uncompressed master alongside; archive integrity checks via checksums.
Use case: distributing software or large datasets
For software, format conventions vary:
- Linux/macOS source distributions: usually
.tar.gzor.tar.xz. - Windows installers: ZIP for portable apps, MSI/EXE for installers.
- Datasets: often 7z or
.tar.zst(Zstandard) for the size advantage.
For internal distribution, pick whatever is easiest in your toolchain. For public distribution, ZIP for the broadest audience.
Use case: backups
For backup of documents:
- Cloud storage with built-in version history is usually better than archive-based backup. See cloud vs local document storage.
- External drive backups of unmodified files (no archive) are simplest.
- Archives are useful for occasional cold storage — bundle a year's documents into one 7z, store off-site, never touch unless needed.
For everyday backup, archives add complexity without much benefit.
Compression level trade-offs
Most tools offer compression level options (often 1-9 or "fastest" / "fast" / "normal" / "ultra"):
- Fastest / level 1: minimum compression, near-instant.
- Normal / level 5: balanced. Default.
- Maximum / level 9: best ratio, slowest, much higher memory use.
For documents, "normal" gives nearly all the size benefit. Going to maximum saves a few more percent at the cost of much more time. Use maximum only for cold archives.
Tools to use
- 7-Zip (Windows, free): handles ZIP, 7z, RAR, TAR, and more. The de facto Windows archive tool.
- The Unarchiver (Mac, free): handles every format you'll meet.
- Keka (Mac, free): creates ZIP, 7z, TAR with a clean interface.
- p7zip (Linux): command-line 7z.
- Built-in OS tools: macOS Finder ZIPs and unzips natively. Windows File Explorer ZIPs natively, opens 7z with a third-party tool.
For the command line, the basic syntax:
zip -r archive.zip folder/
7z a archive.7z folder/
tar czf archive.tar.gz folder/
Sending an archive
A short checklist:
- Did you actually need an archive? A single PDF can be sent as is.
- Did you include the right files? Don't include
.DS_Store,Thumbs.db, ordesktop.ini. - Did you scrub metadata from PDFs first if needed? See stripping metadata from a PDF.
- Is the recipient expected to open this? ZIP for unknown recipients; 7z for technical ones.
- Encryption? AES-256 if sensitive, sent password through a separate channel.
Conclusion
For everyday document archives, ZIP is the right default — universal compatibility, fast, well-supported encryption (with AES). For long-term storage where size matters, 7z wins on compression and encryption robustness. For Linux-native or Unix-permission archives, TAR. For PDFs being archived inside, Docento.app handles compression and metadata stripping in the browser without uploads. For more on the surrounding workflow, see reducing PDF file size and paperless office setup.