Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
7

7-Zip-zstd

> 编程语言
Open source

7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard

7.2K stars0 likes1 views
WebsiteGitHub

About

7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard

README

This is the Github Page of 7-Zip ZS with support of additional Codecs. The library used therefore is located here: Multithreading Library

You can install it in two ways:

  1. complete setup with additions within the GUI and a modified Explorer context menu
  2. only the codec plugin that goes to your existing 7-Zip installation (no GUI changes and no additional Hashers)

Status

Codec overview

  1. Zstandard v1.5.7 is a real-time compression algorithm, providing high compression ratios. It offers a very wide range of compression / speed trade-off, while being backed by a very fast decoder.

    • Levels: 1..22
  2. Brotli v.1.2.0 is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression.

    • Levels: 0..11
  3. LZ4 v1.10.0 is lossless compression algorithm, providing compression speed at 400 MB/s per core (0.16 Bytes/cycle). It features an extremely fast decoder, with speed in multiple GB/s per core (0.71 Bytes/cycle). A high compression derivative, called LZ4_HC, is available, trading customizable CPU time for compression ratio.

    • Levels: 1..12
  4. LZ5 v1.5 is a modification of LZ4 which was meant for a better ratio at cost of slower compression and decompression. It's superseded by Lizard now.

    • Levels: 1..15
  5. Lizard v2.1 is an efficient compressor with fast decompression. It achieves compression ratio that is comparable to zip/zlib and zstd/brotli (at low and medium compression levels) at decompression speed of 1000 MB/s and faster.

    • Levels 10..19 (fastLZ4) are designed to give about 10% better decompression speed than LZ4
    • Levels 20..29 (LIZv1) are designed to give better ratio than LZ4 keeping 75% decompression speed
    • Levels 30..39 (fastLZ4 + Huffman) adds Huffman coding to fastLZ4
    • Levels 40..49 (LIZv1 + Huffman) give the best ratio, comparable to zlib and low levels of zstd/brotli, but with a faster decompression speed
  6. Fast LZMA2 v1.0.1 is a LZMA2 compression algorithm, 20% to 100% faster than normal LZMA2 at levels 5 and above, but with a slightly lower compression ratio. It uses a parallel buffered radix matchfinder and some optimizations from Zstandard. The codec uses much less additional memory per thread than standard LZMA2.

    • Levels: 1..9

7-Zip ZS CLI variants

7z and 7zz provide largely the same core 7‑Zip functionality, but they are built/distributed differently (plugin-capable vs. standalone), which can affect available formats/codecs.

Binary Description
7z Full 7‑Zip command-line tool which loads it's modules/codecs via 7z.so.
7zz Official standalone 7‑Zip binary used on Linux/macOS packages - no external plugins via 7z.so.
7za Standalone executable which supports fewer archive formats than 7z. (Minimal + LZ4 and Hashes)
7zr Minimal "light" standalone executable focused on the 7z format. (FLZMA2, Zstd)

7-Zip Zstandard Edition (full setup, with GUI and Explorer integration)

Installation (via setup)

  1. download the setup from here 7-Zip ZS Releases
  2. install it, like the default 7-Zip one
  3. you may check, if the 7-Zip can deal with Zstandard or other codecs via this command: 7z.exe i

The output should look like this:

…

My Antivirus X.Y or Virustotal.com say it's malware/virus

In summaray: It's not maleware - but it's not my job to chase after these (snake oil manufacturers)[https://en.wikipedia.org/wiki/Snake_oil].

In detail: you can verify for yourself that the release downloads are generated on the fly by GitHub Actions on this Microsoft-owned platform. If there really were any viruses, they would be generated by machines running in Microsoft data centers

For example, for the released version v25.01-v1.5.7-R4:

  • it's the one with tag v25.01-v1.5.7-R4
  • click on Adjust Blake3 MAX_SIMD_DEGREE
  • scroll down to the Artifacts section
  • all the windows binaries are within this ZIP file: 7-Zip ZS Release binaries.zip
  • check if the SHA256 hashsums are the same as the files of the release

I started a list of false positive issues with issue #451. Please don’t open a new issue. Instead, contact the antivirus vendor and ask them to remove this false positive.

Usage and features of the full installation

  • compression and decompression for Brotli, Lizard, LZ4, LZ5 and Zstandard within the 7-Zip container format
  • compression and decompression of Brotli (.br), Lizard (.liz), LZ4 (.lz4), LZ5 (.lz5) and Zstandard (.zst) files
  • handling of ZIP files with Zstandard compression
  • included lzip decompression support, patch from: https://download.savannah.gnu.org/releases/lzip/7zip/
  • explorer context menu: "Add to xy.7z" will use all parameters of the last "Add to Archive" compression dialog (this includes: method, level, dictionary, blocksize, threads and paramters input box)
  • squashfs files with LZ4 or Zstandard compression can be handled
  • several history settings aren't stored by default, look here for some info about that, you can restore original 7-Zip behavior via tools->options->settings
  • these hashes can be calculated: CRC32, CRC64, MD2, MD4, MD5, SHA1, SHA256, SHA384, SHA512, SHA3-256, SHA3-384, SHA3-512, XXH32, XXH64, BLAKE2sp, BLAKE3 (lowercase or uppercase)
…

Zstandard codec Plugin for Mainline 7-Zip

Installation (via plugin)

  1. download the Codecs.7z archive from here 7-Zip ZS Releases, this archive holds binaries, which are compatible with the Mainline version of 7-Zip
  2. create a new directory named Codecs and put in there the zstd-x32.dll or the zstd-x64.dll, depending on your 7-Zip installation
    • normally, the x32 should go to: "C:\Program Files (x86)\7-Zip\Codecs"
    • the x64 version should go in here: "C:\Program Files\7-Zip\Codecs"
  3. you could also replace the 7z.dll directly within C:\Program Files (x86)\7-Zip
  4. then you may check if the dll is correctly installed via this command: 7z.exe i

The output should look like this:

…

Usage (codec plugin)

  • compression and decompression for Brotli, Fast LZMA2, Lizard, LZ4, LZ5 and Zstandard within the 7-Zip container format
  • you can only create .7z files, the files like .lz4, .lz5 and .zst are not covered by the plugins
  • when compressing binaries (*.exe, *.dll), you have to explicitly disable the bcj2 filter via -m0=bcj, when using only the plugin dll's
  • so the usage should look like this:
7z a archiv.7z -m0=bcj -m1=zstd -mx1   Fast mode, with BCJ preprocessor on executables
7z a archiv.7z -m0=bcj -m1=zstd -mx..  ...
7z a archiv.7z -m0=bcj -m1=zstd -mx21  2nd Slowest Mode, with BCJ preprocessor on executables
7z a archiv.7z -m0=bcj -m1=zstd -mx22  Ultra Mode, with BCJ preprocessor on executables
7z a archiv.7z -m0=bcj -m1=brotli -mxN  ...
7z a archiv.7z -m0=bcj -m1=lizard -mxN  ...
7z a archiv.7z -m0=bcj -m1=lz4 -mxN  ...
7z a archiv.7z -m0=bcj -m1=lz5 -mxN  ...
7z a archiv.7z -m0=bcj -m1=flzma2 -mxN  ...

Codec Plugin for Total Commander

  • download TotalCmd.7z
  • install it, by replacing the files tc7z.dll and tc7z64.dll with the new ones
  • you can get detailed information about this here
  • compressiojn and decompression for Brotli, Lizard, LZ4, LZ5 and Zstandard of the 7-Zip .7z format should work out of the box with Total Commander now :-)

Codec Plugin for Far Manager

  • copy the 7z.dll file from C:\Program Files\7-Zip-Zstandard\7z.dll to C:\Program Files\Far Manager\Plugins\ArcLite\7z.dll
  • then restart the Far manager - and on next start, you will have support for 7-Zip Zstandard archives ;-)

Benchmarks

For benchmarking, I started using the Linux binary 7zz in 2026.

The test system is an idle Dell PowerEdge R6615 with the following hardware:

  • CPU: AMD EPYC 9354P (32 cores)
  • Memory: 128 GB DDR5 (8x 16GB)
  • OS: AlmaLinux 9 (x86_64)

For the tests, the Silesia compression corpus is used.

Compression tests are performed by running a single-threaded compression for each method: 7z a test.7z -mmt=1 -m0=MethodX.

Decompression is tested on the freshly created archive using: 7z t test.7z. Memory usage and execution times are measured using a modified GNU time. The benchmarks themselves are executed via a shell script.

Results:

Themes

  • FileManager Toolbar Icon Theme: Glyfz 2016 by AlexGal homepage
  • File Types Icon Theme: Windows 10 by masamunecyrus homepage
  • Additional icons file types created by Mr4Mike4 homepage
  • Dark mode support via darkmodelib (v0.64.0) by ozone10 homepage

License and Redistribution

  • The same as the Mainline 7-Zip, which means most of the code is GNU LGPL v2.1-or-later
  • Read COPYING for more details

Links

  • 7-Zip Homepage
  • 7-Zip Zstandard Homepage
  • Request for inclusion into the mainline 7-Zip:
    • result, will currently not included :(
  • p7zip Homepage - for Linux and MacOS with LZ4 and Zstandard

Donate

You find this project useful, maybe you consider a donation ;-)

Version Information

  • 7-Zip ZS Version 26.03 - Release 1
    • Brotli Version 1.2.0
    • Fast LZMA2 Version 1.0.1
    • Lizard Version 2.1
    • LZ4 Version 1.10.0
    • LZ5 Version 1.5
    • Zstandard Version 1.5.7

/TR 2026-07-09

Notes

We are planning a to use a code signed installer again, https://github.com/mcmilk/7-Zip-zstd/issues/473

Issues· 23 open

View all issuesOpen on GitHub
  • #566

    [Feature request] Add statically compiled Linux binaries

    enhancementUpdated Sep 17, 2026
  • #565

    [feature request] TAR before "Zipping"/Compression

    enhancementUpdated Sep 16, 2026
  • #470

    Fluent Design Icon Needed

    Updated Sep 10, 2026
  • #553

    LZMA2 [std] compression ratio is worse than vanilla 7-Zip under identical extreme settings (both v26.02) when source data significantly exceeds dictionary size

    Updated Sep 10, 2026
  • #557

    [feature request] Support viewing Chromium `.pak` files

    enhancementmainlineUpdated Sep 5, 2026
  • #528

    Design proposal: AES-256-GCM + Argon2id for .7z (standards-only, one method, test vectors included)

    enhancementmainlineUpdated Aug 10, 2026
  • #549

    st_decompress() decodes only the first frame of a concatenated lz5/lizard stream

    Updated Aug 4, 2026
  • #484

    ZXC perhaps a new fast Codec to project here

    enhancementUpdated Jul 23, 2026
  • #473

    Make signed releases

    enhancementUpdated Jul 9, 2026
  • #410

    [Request] Add XZ option to ZIPs

    enhancementUpdated May 6, 2026

> Tags

C7-zip7z7ziparchiver

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 22, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言