Compression

ZXC – lossless compression library and command-line tool

ZXC is a high-performance lossless compression library and command-line tool written primarily in C.

It’s designed for asymmetric workloads where data is compressed once but decompressed many times, making it suited to game assets, firmware updates, app bundles, content delivery pipelines, and other read-heavy use cases. The project focuses on very fast decompression, configurable compression levels, seekable archives, and integration from C, Rust, Python, Node.js, Go, and WebAssembly.

This is free and open source software.

Key Features

  • Provides a C library and command-line tool for lossless compression and decompression.
  • Optimized for write-once/read-many workloads where decode speed matters more than compression speed.
  • Includes multiple compression levels, ranging from fast asset-oriented settings to higher density modes.
  • Supports seekable archives with a seek table for random-access decompression.
  • Offers hand-tuned SIMD paths including AVX2/AVX-512 on x86_64 and NEON on ARM.
  • Provides buffer, stream, and reusable context APIs for different integration needs.
  • Supports multi-threaded streaming and configurable block sizes.
  • Includes official bindings for Rust, Python, Node.js, Go, and WebAssembly.
  • Can be used as an external compressor with tar.
  • Cross-platform support – runs under Linux, macOS, and Windows.

Website: github.com/hellobertrand/zxc
Support:
Developer: Bertrand Lebonnois and contributors
License: BSD 3-Clause License

zxc modes and options

ZXC 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
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

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments