Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

bzip2

sourceware.org

  • Free plan
  • Windows
  • Linux
7.0 Club score Visit sourceware.org

What bzip2 is

bzip2 is a free data compressor for creating and reading compressed files on Linux, Windows, Unix, and Win32 systems. It supports BZ2 (.bz2), BZ (.bz), TBZ2 (.tbz2), and TBZ (.tbz) archives, and includes command-line tools. Its maker says compression typically comes within 10% to 15% of the best available PPM-family methods, while running about twice as fast for compression and six times as fast for decompression. Recovery from media errors is limited, but undamaged portions of a damaged file may still be recoverable. The separate libbzip2 library lets programs read or write .bz2 files and compress data in memory. Its command-line flags resemble GNU Gzip's, and the distribution should compile without modification on Unix and Win32. bzip2 dates to 1996 and is open source under a BSD-style license. The official site lists version 1.0.8 as current stable and offers source code, not executables. Building has a good chance of success with an ANSI C compiler and at least 8 megabytes of spare memory.

Who it suits

bzip2 suits people who need a free command-line compressor or developers who want a library for .bz2 files or in-memory compression. It is for users comfortable obtaining and building source code.

Good to know, and what to watch

  • Free and open source under a BSD-style license
  • Includes command-line tools and libbzip2
  • May recover undamaged parts after media errors
  • Documentation comes in four formats
  • Downloads provide source code, not executables
  • Archive encryption is not supported
  • Split archives are not supported

bzip2

Free

Free plan

Getting started

  1. Open the official bzip2 website
  2. Download the source-code distribution
  3. Use an ANSI C compiler with at least 8 megabytes of spare memory
  4. Build the distribution on Unix, Linux, or Win32
  5. Use the command-line tools or libbzip2 for .bz2 data

Limits to check

The free download supplies source code rather than executables. Building has a good chance of success with an ANSI C compiler and at least 8 megabytes of spare memory.

The verdict

bzip2 offers a free compression tool and library with support across Unix, Linux, and Win32 systems. Its source-only downloads mean users should be prepared to build it rather than install an available executable.

Questions people ask

Is bzip2 free?

Yes. The listed bzip2 plan costs nothing and is freely available with source code.

Which platforms does bzip2 support?

It supports Unix/Linux and Win32 systems.

What archive formats does it handle?

It handles BZ2 (.bz2), BZ (.bz), TBZ2 (.tbz2), and TBZ (.tbz).

Does bzip2 provide a library?

Yes. libbzip2 lets programs read and write .bz2 files or compress data in memory.

Is bzip2 open source?

The maker describes it as open source under a BSD-style license.

Are downloads signed?

The official downloads page says releases are PGP signed and provides a signature file and signing key.

What the maker publishes

Compatibility
Its command-line flags are similar to GNU Gzip's, and the distribution should compile unmodified on Unix and Win32 systems. source
Compression
The maker says bzip2 typically compresses files to within 10% to 15% of the best available PPM-family techniques. source
Current stable version
The official site lists bzip2 1.0.8 as the current stable version. source
Documentation
The source tarball includes pre-built documentation in HTML, PDF, PostScript, and Unix man-page formats. source
Downloads
The downloads page provides source code and says no executables are available there. source
Error recovery
bzip2 supports limited recovery from media errors and may decompress undamaged parts of a damaged file. source
Founded
1996 source
Library
libbzip2 provides an interface for programs to read and write .bz2 files or compress data in memory. source
License
The maker describes bzip2 as open source under a BSD-style license. source
Patent statement
The author says he believes bzip2 does not use patented algorithms but cannot guarantee this because he has not carried out a patent search. source
Purpose
bzip2 is a freely available, high-quality data compressor. source
Release signing
The official downloads page says releases are PGP signed and provides a signature file and signing key. source
Resource requirement
The downloads page says building has a good chance of success with an ANSI C compiler and at least 8 megabytes of spare memory. source
Speed
The maker says bzip2 is around twice as fast at compression and six times faster at decompression than those PPM-family techniques. source

Checked against the maker's pages on 7 Oct 2026.