About BZ2 Files
Bzip2 Compressed
Bzip2 provides higher compression ratios than gzip at the cost of slower speed. It is commonly used for .tar.bz2 archives in Linux distributions where smaller download sizes are preferred.
Family
Archives & Compressed
Extension
.bz2
MIME Type
application/x-bzip2
Can Use As
HOW BZ2
CAME TO BE.
bzip2 was released in 1996 by British mathematician Julian Seward, who built it after studying the Burrows-Wheeler Transform (1994) described by Michael Burrows and David Wheeler. The BWT rearranges data so similar bytes cluster together, which Huffman coding then compresses aggressively. The result: files typically 10-15% smaller than gzip, at the cost of noticeably slower compression.
For almost a decade bzip2 was the default "I want better compression than gzip" tool on Unix. Linux kernels, scientific datasets, Debian packages for a while — all shipped as .tar.bz2. Then xz (2009) showed up with even better ratios and comparable speed, and most projects migrated. bzip2 remains in widespread use for legacy archives and in places where its specific properties (byte-aligned blocks, recoverable-from-corruption) matter.
CURIOSITIES &
TRIVIA.
bzip2 is based on the Burrows-Wheeler Transform, an algorithm that was invented at DEC Systems Research Center in 1994 — just 2 years before bzip2 shipped.
Julian Seward also wrote Valgrind, the standard memory-debugging tool for Linux/macOS — a remarkably prolific open-source maintainer.
bzip2 blocks are byte-aligned and independently recoverable — if one block corrupts, the rest of the archive is still readable.
Compressing the English Wikipedia dump with bzip2 takes about 2 hours on modern hardware; with xz it takes 8 hours but produces a file half the size.
The .tar.bz2 extension is so common that most tools treat "tbz2" or "tb2" as equivalent aliases.
STRENGTHS &
LIMITATIONS.
Strengths
- 10-15% smaller than gzip for the same content.
- Block-based — partial recovery possible from corrupted archives.
- Patent-free, open-source reference implementation.
- Stable for 30+ years with no breaking changes.
Limitations
- Much slower than gzip — 3-5× the compression time.
- Still slower than xz and zstandard at modern levels.
- Single-threaded in reference; pbzip2 fixes this.
- Mostly obsolete for new work; xz and zstd are preferred.
Typical Sizes & Weights
Text file
20-30% of original
Source code archive
15-25% of original
Linux kernel source (.tar.bz2)
~150 MB
Technical Specifications
- MIME type
- application/x-bzip2
- Extensions
- .bz2, .tbz2, .tb2
- Algorithm
- Burrows-Wheeler Transform + Huffman coding
- Block size
- 100-900 KB (configurable)
- Max block size
- 900 KB
CONVERT FROM
BZ2
Common Use Cases
Linux source distribution, high-compression archives.
Related Formats
Popular comparisons
BZ2 vs ZIP
Differences, file size, and when to choose each format.
BZ2 vs TAR
Differences, file size, and when to choose each format.
BZ2 vs GZ
Differences, file size, and when to choose each format.
BZ2 vs XZ
Differences, file size, and when to choose each format.
BZ2 vs LZMA
Differences, file size, and when to choose each format.
BZ2 vs ZST
Differences, file size, and when to choose each format.
Popular BZ2 conversions
The most-requested destinations when starting from BZ2.
Frequently Asked Questions about BZ2
Frequently Asked Questions
BZ2 (Bzip2 Compressed) is an archive format used to bundle multiple files and folders into a single compressed file. The archive preserves the directory structure and typically reduces total size via compression. BZ2 sits in the archives & compressed family and has specific strengths around compression ratio, speed, or platform support.
7-Zip, WinRAR, The Unarchiver (macOS), and the built-in archive utilities on Windows and macOS open most BZ2 files. For command-line extraction, 7z, unar, or the format-specific tool handles BZ2 cleanly. If your extractor does not recognise BZ2, convert to ZIP first — ZIP opens on every operating system without extra software.
Upload the BZ2 to KaijuConverter and pick ZIP, 7Z, TAR.GZ, or RAR as the target. Our pipeline extracts the original archive and re-compresses the contents into the target format. File permissions, timestamps, and directory structure are preserved where both formats support them.
Depends on the goal. ZIP is the universal baseline — every OS extracts it out of the box. Formats like 7Z or TAR.GZ compress better but require specific tools. BZ2 may win on compression ratio, password support, or OS integration for specific workflows; ZIP wins on raw compatibility.