LZ4 description

LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.

LZ4 is available as a C Open Source project, hosted on Github, under a BSD license. A list of ports to other language (Java, C#, Python, etc.) is also maintained on this page.

LZ4 compression format is detailed in a dedicated post.

Download :
/* Note : below versions are now obsolete, please use github's release page instead */
The executable version proposed here is for Windows. It works on both 32 and 64 bits systems. It implements multi-threading, and can automatically detect how many cores are available on your system.
v1.4 : Windows LZ4 installer (setup)
v1.4 :  LZ4 Command Line Utility for Windows (stand alone zip, no installation)
What's new :
- Supports the LZ4 Frame format (version 1.4.1)
- Switch to gzip-compatible command line arguments

Compression level comparison :
In-memory benchmark (-b command), using Silesia Corpus
Benchmark platform : Core i5-3340M (2.7GHz), Window Seven 64-bits
Compression / ThreadRatioSpeedDecoding
-1 / 4 threads2.195880 MB/s3.80 GB/s
-1 / 1 thread2.195333 MB/s1.76 GB/s
-9 / 4 threads2.71658.0 MB/s4.38 GB/s
-9 / 1 thread2.71623.1 MB/s2.13 GB/s

You can provide comments and ask questions on the LZ4 Forum Group

Donate to LZ4 project
Should you wish to provide a token of your appreciation, the following link will allow you to donate to the LZ4 project :