LZ4 VS zstd

Compare LZ4 vs zstd and see what are their differences.

LZ4

Extremely Fast Compression algorithm (by lz4)

zstd

Zstandard - Fast real-time compression algorithm (by facebook)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
LZ4 zstd
10 54
7,123 16,909
3.3% 1.5%
7.8 9.6
4 days ago 1 day ago
C C
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

LZ4

Posts with mentions or reviews of LZ4. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-10.

zstd

Posts with mentions or reviews of zstd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-24.

What are some alternatives?

When comparing LZ4 and zstd you can also consider the following projects:

Snappy - A fast compressor/decompressor

LZMA - (Unofficial) Git mirror of LZMA SDK releases

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

ZLib - A massively spiffy yet delicately unobtrusive compression library.

brotli - Brotli compression format

zfs - OpenZFS on Linux and FreeBSD

LZFSE - LZFSE compression library and command line tool

LZHAM - Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed, C/C++