7-Zip on Windows: Installation, Usage and All Features of the Best Free Archiver
How to install 7-Zip on Windows and use it: extract archives, create compressed files, encrypt with password, command line usage. Compare with WinRAR and WinZip.
7-Zip is the best free archiver for Windows. Open source, no ads, no limits. Compresses better than WinRAR in most cases — and it's completely free forever.
Why 7-Zip over WinRAR or WinZip
| 7-Zip | WinRAR | WinZip | |
|---|---|---|---|
| Price | Free | Nagware | Paid |
| Open source | ✅ | ❌ | ❌ |
| Compression ratio | Excellent | Good | Average |
| AES-256 encryption | ✅ | ✅ | ✅ |
| Size | ~1.5 MB | ~4 MB | ~40 MB |
Install
- Download from 7-zip.org → 64-bit x64
- Run installer → "Install"
# Or via winget
winget install 7zip.7zip
Basic Operations
Extract Archive
Right-click on archive:
- "7-Zip → Extract Here" — extracts to current folder
- "7-Zip → Extract to [folder name]" — creates subfolder
- "7-Zip → Open archive" — browse without extracting
Create Archive
- Select files/folder → right-click → "7-Zip → Add to archive..."
- Settings:
| Setting | Recommendation |
|---|---|
| Format | 7z (better compression) or zip (compatibility) |
| Compression level | Normal (balance) or Maximum |
| Method | LZMA2 for 7z |
Encrypt with Password
- Add to archive → "Encryption" section
- Enter password twice
- Encryption method: AES-256
- Enable "Encrypt file names" — hides even file names
⚠️ If you forget the password — recovery is impossible.
Store passwords in a password manager.
Split Archive
For large files or sending in parts: Add to archive → "Split to volumes, bytes" field:
700m— for CD4092m— for FAT32 USB25000m— for Google Drive
Parts created: archive.7z.001, archive.7z.002, etc.
To extract — just extract the first part.
Command Line
:: Extract archive
7z x archive.7z -o"C:\Destination"
:: Create archive
7z a archive.7z "C:\Folder\*"
:: Create with password
7z a -p"MyPassword" -mhe archive.7z "C:\Folder"
:: List archive contents
7z l archive.zip
:: Test integrity
7z t archive.7z
PowerShell backup automation:
$date = Get-Date -Format "yyyy-MM-dd"
$dest = "D:\Backups\backup-$date.7z"
& "C:\Program Files\7-Zip\7z.exe" a -t7z -mx=5 -p"Password" $dest "C:\Data"
Compression Comparison
Test on 1 GB mixed files:
| Format | Size | Time |
|---|---|---|
| ZIP (normal) | 650 MB | 25 sec |
| 7z (normal) | 520 MB | 40 sec |
| 7z (maximum) | 480 MB | 3 min |
Summary
| Task | Action |
|---|---|
| Install | 7-zip.org or winget install 7zip.7zip |
| Extract | Right-click → 7-Zip → Extract Here |
| Create archive | Right-click → 7-Zip → Add to archive |
| With password | Add to archive → Encryption → AES-256 |
| Command line | 7z a archive.7z folder\* |