bz2 BZIP2 Archive Format
BZ2 is the output of bzip2, a compressor built on the Burrows-Wheeler transform. It is a single compressed stream rather than an archive: bz2 compresses one input, and it has no concept of multiple members or a file listing.
The pipeline is distinctive. Input is cut into blocks between 100 kB and 900 kB, each block is run through the Burrows-Wheeler transform to cluster repeated characters together, then move-to-front encoding and Huffman coding turn that clustering into fewer bits. The block size is chosen at compression time.
Bzip2 usually compresses better than gzip and worse than LZMA, and it is slower than both at decompression. It remains common in Unix distribution channels and long-lived archives, most often wrapped around a tar file as .tar.bz2.[1][2][3]