Skip to content
Novus Examples
bz2336 B

BZ2 - Bzip2 Single File

A single text file compressed with bzip2 — the container-free codec on its own, for testing decompression and codec detection.

bz2

Single-file bzip2 stream

336 B
Contains
sample.txt
Codec
bzip2
Uncompressed
472 B
Compressed
336 B
Compressed to 71.2% of original28.8% saved

A container-free bzip2 stream — decompress it to recover sample.txt. The bytes are the compressed data, so there is no inline content preview.

Specifications

Format
bzip2 (single file)
Codec
bzip2
Original Name
sample.txt
Original Bytes
472

What is a .bz2 file?

BZ2 is a file compressed with bzip2, which uses the Burrows-Wheeler transform to achieve higher compression ratios than gzip at the cost of slower speed. Like gzip, it compresses a single stream rather than archiving multiple files. It is common for distributing large source and data files.

How to use this file

Use an example BZ2 to test bzip2 decompression, block-based decoding, and pipelines that select among gzip, bzip2, and xz codecs.

How to use this file for testing

“BZ2 - Bzip2 Single File” is a deterministic Novus Examples fixture for Conversion testing. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.

Documented properties for this file: bzip2 (single file). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Archive fixtures are documented down to their member list (shown on this page) and are deliberately safe — no zip bombs, executables, or hidden payloads. Test extractors against nested, unicode, empty, and encrypted variants.

Generated by generation/archives.py. Free for any use, no attribution required — license.