Three Archive Formats Still Dominant
Archive formats compete on:
- Compression efficiency: smaller files
- Speed: faster to compress/decompress
- Compatibility: which OS/tools open them
- Features: encryption, splitting, error recovery
The three dominant formats in 2026:
- ZIP: 1989, universally supported, baseline compression
- RAR: 1993, proprietary, popular in software distribution
- 7z: 1999, open-source, best compression
This post covers the practical comparison. For broader format context, see Archive Formats ZIP TAR 7z.
Compression Comparison
For a 1 GB folder of mixed content (documents, images, code):
| Format | File size | Compression time |
|---|---|---|
| Uncompressed | 1.0 GB | Reference |
| ZIP (default) | 720 MB | 30 seconds |
| ZIP (max compression) | 690 MB | 90 seconds |
| RAR (default) | 660 MB | 60 seconds |
| RAR (best) | 640 MB | 180 seconds |
| 7z (default) | 580 MB | 120 seconds |
| 7z (ultra) | 540 MB | 360 seconds |
7z produces the smallest files. ZIP is fastest but largest. RAR is middle on both axes.
For specialized content:
| Content type | Best compressor |
|---|---|
| Plain text | 7z (text compresses very well) |
| Source code | 7z |
| JPG photos | None (already compressed) |
| Office documents (XLSX, DOCX) | None (already ZIP) |
| Movies/MP3 | None (already compressed) |
| Database files | 7z (high compression) |
| Disk images (raw) | 7z |
For already-compressed content (videos, JPGs, MP3): no archive format adds meaningful compression.
OS Support
| OS | ZIP | RAR | 7z |
|---|---|---|---|
| Windows | Native (since XP) | Read with WinRAR/7-Zip | 7-Zip (free) |
| macOS | Native (Finder) | Free apps | The Unarchiver, etc. |
| Linux | unzip / zip | unrar (closed) / unrar-free | p7zip |
| iOS | Files app | Documents app | Documents app |
| Android | Default file manager | RAR | ZArchiver |
For broadest compatibility: ZIP. For "everyone has the tool": ZIP.
Encryption
| Format | Encryption support |
|---|---|
| ZIP (legacy) | ZipCrypto (weak, broken) |
| ZIP (modern) | AES-256 (strong) |
| RAR | AES-256 (strong) |
| 7z | AES-256 (strong) |
For sensitive content: 7z or RAR with AES-256. ZIP's modern AES-256 is also fine, but legacy ZipCrypto is broken (don't use for security).
For password protection in 7z:
7z a -p"YourPassword" -mhe=on archive.7z files/
-mhe=on encrypts the file headers (filenames hidden). Only with password.
Encryption Strength
| Algorithm | Status |
|---|---|
| AES-256 | Strong, current standard |
| AES-192 | Strong |
| AES-128 | Strong |
| ZipCrypto | Broken since 2003 |
| 3DES | Deprecated |
For new encrypted archives: AES-256 in 7z, RAR, or modern ZIP.
For broader archival considerations, see FFV1 Archival Codec.
Multi-Volume Archives
For splitting large archives:
# Split into 100 MB volumes
7z a -v100m archive.7z files/ # Output: archive.7z.001, .002, etc.
# Reassemble (just reference first volume)
7z x archive.7z.001
For 7z and RAR: built-in. For ZIP: requires specific tools that support split ZIPs.
For email transfer of large content: split into under 25 MB volumes (Gmail attachment limit).
Solid Archives
7z and RAR support "solid" archives (compress all files as if they were one big file):
| Mode | Compression | Random access |
|---|---|---|
| Non-solid | OK | Fast |
| Solid | Better (10-30%) | Slow |
For backup archives where you'll extract everything: solid. For libraries where you'll extract specific files: non-solid.
Format-Specific Advantages
ZIP:
- Universal compatibility
- Fastest decompression
- Built into every OS
RAR:
- Recovery records (heal partial corruption)
- Multi-volume archives
- Advanced compression for source code
- Proprietary but well-supported
7z:
- Open source
- Best compression overall
- Strong encryption
- Multiple compression algorithms (LZMA, LZMA2, PPMd, Bzip2)
Use Case Matrix
| Use case | Best format |
|---|---|
| Email attachment | ZIP (universal) |
| Software distribution | ZIP (Windows), TAR.GZ (Linux) |
| Backup archive | 7z (best compression) |
| Encrypted personal files | 7z or RAR |
| Server logs archive | 7z (text compresses well) |
| Game mod distribution | RAR (community standard) |
| Video file batch | ZIP (compression won't help) |
| Source code | 7z |
| Cross-platform sharing | ZIP |
For most casual use: ZIP. For backup or sensitive content: 7z.
Encoding for Multi-Volume
For ZIP (limited):
# WinRAR or 7-Zip can produce split ZIPs
# Command-line:
zip -s 100m archive.zip files/ # Output: archive.zip, archive.z01, archive.z02
For 7z:
7z a -v100m archive.7z files/
For RAR:
rar a -v100m archive.rar files/
For batch processing patterns, see Batch Processing Files Guide.
Compression Speed Trade-offs
For backup workflows where speed matters:
# 7z fastest (less compression)
7z a -mx=1 archive.7z files/
# 7z balanced
7z a -mx=5 archive.7z files/ # default
# 7z maximum (slow)
7z a -mx=9 archive.7z files/
Compression levels 0-9. Higher = smaller files, slower encoding. For backups: 5 (default) is the production sweet spot.
File Integrity
| Format | CRC | Recovery |
|---|---|---|
| ZIP | CRC-32 (reasonable) | Limited |
| RAR | CRC + Recovery Record | Yes |
| 7z | CRC | Limited |
RAR's recovery records can repair partially corrupted archives. Important for long-term archives where storage may degrade.
For long-term archival, see FFV1 Archival Codec.
Common Issues
Cannot open RAR on Mac: Mac doesn't ship unrar. Install The Unarchiver or 7-Zip Mac.
ZIP password fails: case sensitivity, character encoding. Try variations.
7z files corrupted halfway through: solid archive corruption. Use non-solid mode for resilience.
Cross-platform encoding issues: file names with special characters. Use UTF-8 encoding when creating ZIP.
Multi-volume archive missing parts: all volumes must be present for extraction. Verify completeness.
For batch processing, see Batch Processing Files Guide.
Frequently Asked Questions
Should I always use 7z?
For maximum compression: yes. For broadest compatibility (every OS): ZIP. For RAR ecosystem (gaming, software): RAR.
Is RAR free?
WinRAR is shareware (free trial, then paid). The unrar tool is free. Creating RAR archives requires WinRAR (paid) on most platforms.
What about TAR.GZ?
Linux/Unix standard. TAR + gzip compression. Roughly equivalent to ZIP in size. Standard for Linux package distribution.
For TAR.GZ context, see Archive Formats.
Is encryption secure?
Modern AES-256 in 7z, RAR, and modern ZIP is secure. Legacy ZipCrypto is broken. For sensitive content: AES-256.
How do I create a self-extracting archive?
7-Zip's -sfx flag creates self-extracting EXE. Useful for delivering archives to non-technical users:
7z a -sfx archive.exe files/
Recipient runs the EXE; archive extracts automatically.
Can I add files to an existing archive?
ZIP and 7z: yes (add to archive). RAR: yes (with WinRAR). Useful for incremental backups.
Related Reading
Bottom Line
For archive format choice in 2026: ZIP for universal compatibility, 7z for best compression, RAR for game mod distribution and recovery records. AES-256 encryption for sensitive content. Multi-volume archives for email-friendly chunks. Our video converter and document converter handle related conversions.



