Compression

Zstandard – fast lossless compression algorithm

Zstandard, commonly abbreviated to zstd, is a lossless data compression algorithm that combines high processing speed with competitive compression ratios. Originally developed at Facebook, it is suitable for both real-time and storage-oriented workloads.

The reference implementation provides a C library and command-line utility. The format is documented and designed for interoperability, making it suitable for embedding in applications as well as compressing individual files.

One of Zstandard’s distinguishing capabilities is dictionary training. By analysing representative samples, users can create dictionaries that improve compression efficiency when working with numerous small records or files. Its broad range of compression settings also allows substantially different speed and density trade-offs.

This is free and open source software.

Key Features

  • Fast lossless compression using a combination of LZ77-style matching and entropy coding.
  • Provides a wide range of compression levels for balancing speed and compression ratio.
  • Offers high-compression modes for workloads where storage efficiency is the main priority.
  • Supports multithreaded compression of large inputs.
  • Includes parallel decompression support for suitably structured compressed data.
  • Supports dictionary compression for short or repetitive data records.
  • Trains compression dictionaries from representative input samples.
  • Provides adaptive compression that adjusts processing according to output conditions.
  • Offers long-distance matching for identifying repetition across large inputs.
  • Supports streaming compression and decompression through its library interfaces.
  • Includes checksums for detecting corruption in compressed frames.
  • Can compress and decompress .zst files and handle additional formats through its command-line utility.
  • Provides APIs for integrating compression into other software.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: facebook.github.io/zstd
Support:
Developer: Meta and contributors
License: Dual BSD 3-Clause ‘New’ or ‘Revised’ License and GNU General Public License v2.0

Zstandard is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Compression Tools
LZ4Focused on compression and decompression speed
ZstandardFast compression algorithm, providing high compression ratios
brotliGeneric-purpose lossless compression algorithm
lzopFile compressor favoring speed over compression ratio
pigzParallel implementation of gzip
ouchCLI tool for compressing and decompressing for various formats
pixzParallel, indexed xz compressor
gzipProvides the standard GNU file compression utilities
BZip3Spiritual successor to BZip2
bzip2Freely available, patent free, high-quality data compressor
PBZIP2Parallel implementation of bzip2
lrzipAchieve very high compression ratios and speed when used with large files
lbzip2Multi-threaded implementation of bzip2, suited for serial and parallel processing
ZXCHigh-performance lossless compression library and command-line tool
plzipMassively parallel lossless data compressor
p7zip-zstdp7zip fork with additional codecs and improvements
7-ZipFile archiver with a high compression ratio
ncompressFast, simple LZW file compressor
PXZRuns LZMA compression on multiple cores and processors
crabzLike pigz but written in Rust
LzipLossless data compressor aimed at Unix-like systems
cmixOptimize compression ratio at the cost of high CPU/memory usage
bscHigh-performance block-sorting compressor for large files
rapidgzipParallelized decompression of gzip files
KanziModular lossless compressor with multithreaded processing

Read our verdict in the software roundup.

Multi-Core Compression Tools
ZstandardFast compression algorithm, providing high compression ratios
pigzParallel implementation of gzip. It's a fully functional replacement for gzip
pixzParallel indexing XZ compression, fully compatible with XZ. LZMA and LZMA2
PBZIP2Parallel implementation of the bzip2 block-sorting file compressor
lrzipCompression utility that excels at compressing large files
lbzip2Parallel bzip2 compression utility, suited for serial and parallel processing
plzipMassively parallel (multi-threaded) lossless data compressor based on lzlib
crabzLike pigz but written in Rust
PXZRuns LZMA compression on multiple cores and processors
KanziModern lossless data compressor

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted