Clzip is a lossless data compressor with a user interface similar to the
one of gzip or bzip2. Clzip decompresses almost as fast as gzip,
compresses most files more than bzip2, and is better than both from a
data recovery perspective. Clzip is a clean implementation of the LZMA
Clzip uses the lzip file format; the files produced by clzip are fully
compatible with lzip-1.4 or newer, and can be rescued with lziprecover.
Clzip is in fact a C language version of lzip, intended for embedded
devices or systems lacking a C++ compiler.
The lzip file format is designed for data sharing and long-term
archiving, taking into account both data integrity and decoder
The lzip format provides very safe integrity checking and some data
recovery means. The lziprecover program
can repair bit-flip errors (one of the most common forms of data
corruption) in lzip files, and provides data recovery capabilities,
including error-checked merging of damaged copies of a file.
The lzip format is as simple as possible (but not simpler). The lzip
manual provides the code of a simple decompressor along with a detailed
explanation of how it works, so that with the only help of the lzip
manual it would be possible for a digital archaeologist to extract the
data from a lzip file long after quantum computers eventually render
Additionally the lzip reference implementation is copylefted, which
guarantees that it will remain free forever.
A nice feature of the lzip format is that a corrupt byte is easier to
repair the nearer it is from the beginning of the file. Therefore, with
the help of lziprecover, losing an entire archive just because of a
corrupt byte near the beginning is a thing of the past.
Clzip uses the same well-defined exit status values used by lzip and
bzip2, which makes it safer than compressors returning ambiguous warning
values (like gzip) when it is used as a back end for other programs like
tar or zutils.
Learn more about lzip in the Lzip Home Page.
The manual is available in the info system of the GNU
Operating System. Use info to access the top level info
page. Use info clzip to access the clzip section directly.
An online manual for clzip can be found
The latest released version of clzip can be found
You may also subscribe to
and receive an email every time a new version is released.
How to get help
For general discussion of bugs in clzip the mailing list
is the most appropriate forum. Please send messages as plain text.
Please do not send messages encoded as HTML nor encoded as base64 MIME
nor included as multiple formats. Please include a descriptive subject
line. If all of the subject are "bug in clzip" it is impossible to
An archive of the bug report mailing list is available at
How to help
To contact the author, either to report a bug or to contribute fixes or
improvements, send mail to
Please send messages as plain text. If posting patches they should be in
unified diff format against the latest version. They should include a
See also the lzip
project page at Savannah.
Clzip is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 2 of the License, or (at your
option) any later version.
Copyright © 2014 Antonio Diaz Diaz
Lzip logo Copyright © 2013 Sonia Diaz Pacheco
You are free to copy, modify and distribute all or part of this article