Skip to content
>_ TrueFileSize.com

Sample TAR.BZ2 Download — Free Bzip2 Tarball Test Files

Download free sample tar.bz2 files with exact sizes — 100KB to 100MB. Use these bzip2 tarball test files to verify extraction pipelines, benchmark compression ratios against tar.gz, and test archival workflows. TAR.BZ2 achieves 10–20% better compression than gzip — common for Linux kernel sources and large software distribution.

sample-100kb.tar.bz2

100 KB

sample-500kb.tar.bz2

500 KB

sample-1mb.tar.bz2

1 MB

sample-5mb.tar.bz2

5 MB

sample-10mb.tar.bz2

10 MB

sample-50mb.tar.bz2

50 MB

sample-100mb.tar.bz2

100 MB

Use cases for sample tar.bz2 files

  • Testing bzip2 extraction in archive handling pipelines
  • Verifying tar.bz2 upload support in web applications
  • Benchmarking bzip2 vs gzip decompression performance
  • Testing Linux package management workflows
  • Validating backup/restore systems with bzip2 archives
  • Testing format detection (bzip2 magic bytes: BZh)

Compression comparison — tar.gz vs tar.bz2

Featuretar.gztar.bz2
Compression ratioGoodBetter (10–20% smaller)
Compression speedFastSlow (2–6x slower)
Decompression speedFastModerate
Memory usageLowHigher
Best forGeneral use, CI/CD, deploysArchival, bandwidth-limited

How to create and extract tar.bz2

# Create a tar.bz2 archive
tar -cjf archive.tar.bz2 folder/

# Extract a tar.bz2 archive
tar -xjf archive.tar.bz2

# List contents without extracting
tar -tjf archive.tar.bz2

# Extract to a specific directory
tar -xjf archive.tar.bz2 -C /target/dir/

# Recompress tar.bz2 to tar.gz (for faster extraction)
bunzip2 -c archive.tar.bz2 | gzip > archive.tar.gz

Technical specifications

FormatTAR (tape archive) + bzip2 compression
Extensions.tar.bz2, .tbz2, .tb2
AlgorithmBurrows-Wheeler transform + Huffman coding
Block size100KB–900KB (configurable)
PreservesUnix permissions, ownership, symlinks
Developed byJulian Seward (1996)

Frequently Asked Questions

Other archive formats

Related reading