How to Compress a Folder in 7-Zip (Step-by-Step Guide)

7-Zip is one of the most widely used free compression tools available, known for its high compression ratios and support for a wide range of archive formats. Compressing a folder in 7-Zip is straightforward once you know the steps — but a few settings along the way can make a meaningful difference depending on what you're trying to do.

What "Compressing a Folder" Actually Does

When you compress a folder using 7-Zip, the tool packages all of the files and subfolders inside into a single archive file. That archive is smaller than the original because 7-Zip applies a compression algorithm that identifies and eliminates redundant data patterns.

The result is typically a .7z or .zip file that takes up less disk space and is easier to transfer, email, or upload. The original folder stays untouched — 7-Zip works on a copy, not the source files.

Step-by-Step: Compressing a Folder in 7-Zip

Step 1: Install 7-Zip

If you haven't already, download 7-Zip from the official site (7-zip.org) and run the installer. It integrates directly into Windows Explorer's right-click context menu, which is how most users interact with it day-to-day.

Step 2: Right-Click the Folder You Want to Compress

Navigate to the folder in File Explorer. Right-click on it and look for 7-Zip in the context menu. On Windows 11, you may need to click "Show more options" first to reveal the full context menu.

Step 3: Select "Add to Archive…"

Hover over the 7-Zip submenu and click "Add to archive…" This opens the full compression dialog box, where you control all the key settings.

💡 The shortcut option "Add to [foldername].7z" skips the dialog and compresses immediately with default settings. Use "Add to archive…" when you want control over format, compression level, or split size.

Step 4: Configure Your Archive Settings

The Add to Archive dialog has several important fields:

Archive name — By default, 7-Zip names the archive after the folder. You can rename it here and choose where to save it.

Archive format — Choose between:

  • 7z — 7-Zip's native format. Highest compression, smaller file sizes, but requires 7-Zip (or a compatible tool) to open.
  • zip — Universally compatible. Larger file sizes than 7z, but anyone can open it on Windows, macOS, or mobile without extra software.

Compression level — Ranges from Store (no compression, just bundling) to Ultra. Higher levels produce smaller archives but take longer to process.

Compression LevelSpeedFile SizeBest For
StoreFastestNo reductionArchiving without size concerns
FastQuickModerate reductionLarge media files
NormalBalancedGood reductionGeneral use
Maximum / UltraSlowBest reductionSharing or long-term storage

Compression method — For .7z format, LZMA2 is the default and generally the best all-around choice. It also supports multi-core processing, which speeds things up on modern CPUs.

Split to volumes — Lets you break the archive into smaller chunks of a defined size. Useful if you're uploading to a service with file size limits or saving to FAT32-formatted drives (which have a 4GB file limit).

Encryption — 7-Zip supports AES-256 encryption. If you tick "Encrypt file names", even the list of files inside the archive is hidden from anyone without the password. Leave this off unless you need it — there's no password recovery if you forget it.

Step 5: Click OK

7-Zip will compress the folder and save the archive to the location you specified. A progress bar will appear for larger folders. Once it closes, the archive is ready.

Factors That Affect Your Results 🗜️

File type inside the folder — Text files, documents, and databases compress extremely well. Images (JPEG, PNG), videos (MP4, MKV), and audio files (MP3, AAC) are already compressed and won't shrink much further regardless of settings.

Folder size and depth — Very large folders with thousands of files may take noticeably longer at higher compression levels, especially on older hardware.

CPU performance — LZMA2 compression scales across multiple cores. A modern multi-core processor will complete the same job significantly faster than an older single-core machine.

Compression level chosen — The difference between Normal and Ultra compression can be meaningful for text-heavy folders but negligible for media-heavy ones. Running the math before a large archive is worth it.

Archive format — If the recipient doesn't have 7-Zip installed, a .7z file may be inconvenient for them. .zip trades some compression efficiency for universal compatibility.

Different Users, Different Priorities

Someone archiving old project files for long-term storage might prioritize maximum compression and encryption — size savings and security matter more than speed. A developer sending a folder of scripts to a colleague might reach for .zip at Normal compression for simplicity and compatibility. A content creator packaging raw video files will likely find compression ratios disappointing regardless of settings, since the underlying files are already encoded.

The "right" configuration isn't fixed — it shifts based on what's inside the folder, where it's going, who's opening it, and how much time you're willing to spend waiting.

Understanding those variables is the starting point. Whether the settings that make sense for one folder also apply to your specific situation depends on what you're working with and what outcome matters most to you.