Difference Between 7z.exe, 7za.exe, and 7zr.exe
The popular file archiver 7-Zip includes three distinct command-line
executables: 7z.exe, 7za.exe, and
7zr.exe. While all three allow you to manipulate archives
via the command line, they differ significantly in format support,
external file dependencies, and file size. This guide explains the core
differences between these utilities so you can choose the right one for
your automation, scripting, or deployment needs.
7z.exe (Full Console Version)
7z.exe is the standard command-line version included
with the official 7-Zip installation.
- Dependencies: It requires external dynamic link
libraries (specifically
7z.dlland other companion files) to operate. - Format Support: It provides complete format support. It can compress to 7z, ZIP, GZIP, BZIP2, TAR, WIM, and XZ. It can decompress almost every format supported by 7-Zip, including RAR, ISO, CAB, DMG, MSI, VHD, and many others.
- Best Used For: General desktop use, power users, and systems where the full 7-Zip suite is already installed.
7za.exe (Standalone Extra Version)
7za.exe is a standalone console application distributed
as part of the "7-Zip Extra" package.
- Dependencies: It is completely self-contained and
operates independently without requiring
7z.dllor any other external files. - Format Support: It supports a restricted set of archive formats. It can pack and unpack 7z, ZIP, GZIP, BZIP2, and TAR, and can unpack CAB and Z files. It lacks support for complex or proprietary formats such as RAR, ISO, and MSI.
- Best Used For: Automated deployment scripts, batch tasks, and portable environments where you need multi-format support (such as ZIP and 7z) without installing full software or shipping multiple DLLs.
7zr.exe (Reduced Standalone Version)
7zr.exe is a lightweight, reduced standalone console
version, also found in the "7-Zip Extra" archive.
- Dependencies: Like
7za.exe, it is completely self-contained and does not require7z.dll. - Format Support: It only supports the native 7z format (including LZMA and LZMA2 compression). It cannot create or extract ZIP, TAR, GZIP, RAR, or any other file format.
- Best Used For: Minimalist build pipelines,
microservices, or embedded environments where disk space is at a premium
and operations are strictly limited to
.7zarchives.
Summary Comparison
| Feature | 7z.exe |
7za.exe |
7zr.exe |
|---|---|---|---|
Requires
7z.dll |
Yes | No | No |
| 7z Format Support | Full | Full | Full |
| ZIP / TAR / GZIP / BZIP2 | Full | Full | None |
| RAR / ISO / MSI / Others | Full | None | None |
| Primary Advantage | Maximum format coverage | Portable, multi-format | Minimal footprint, portable |