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
Verified file details
- Filename
- sample-100kb.tar.bz2
- Exact size
- 102,400 bytes
- Displayed size
- 100 KB
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/tar-bz2/sample-100kb.tar.bz2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-500kb.tar.bz2
Verified file details
- Filename
- sample-500kb.tar.bz2
- Exact size
- 512,000 bytes
- Displayed size
- 500 KB
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/tar-bz2/sample-500kb.tar.bz2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-1mb.tar.bz2
Verified file details
- Filename
- sample-1mb.tar.bz2
- Exact size
- 1,048,576 bytes
- Displayed size
- 1 MB
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/tar-bz2/sample-1mb.tar.bz2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-5mb.tar.bz2
Verified file details
- Filename
- sample-5mb.tar.bz2
- Exact size
- 5,242,880 bytes
- Displayed size
- 5 MB
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/tar-bz2/sample-5mb.tar.bz2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-10mb.tar.bz2
Verified file details
- Filename
- sample-10mb.tar.bz2
- Exact size
- 10,485,760 bytes
- Displayed size
- 10 MB
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/tar-bz2/sample-10mb.tar.bz2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-50mb.tar.bz2
Verified file details
- Filename
- sample-50mb.tar.bz2
- Exact size
- 52,428,800 bytes
- Displayed size
- 50 MB
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/tar-bz2/sample-50mb.tar.bz2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-100mb.tar.bz2
Verified file details
- Filename
- sample-100mb.tar.bz2
- Exact size
- 104,857,600 bytes
- Displayed size
- 100 MB
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/tar-bz2/sample-100mb.tar.bz2
See how TrueFileSize generates and measures sample files, or review the editorial policy.
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
| Feature | tar.gz | tar.bz2 |
|---|---|---|
| Compression ratio | Good | Better (10–20% smaller) |
| Compression speed | Fast | Slow (2–6x slower) |
| Decompression speed | Fast | Moderate |
| Memory usage | Low | Higher |
| Best for | General use, CI/CD, deploys | Archival, 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.gzTechnical specifications
| Format | TAR (tape archive) + bzip2 compression |
| Extensions | .tar.bz2, .tbz2, .tb2 |
| Algorithm | Burrows-Wheeler transform + Huffman coding |
| Block size | 100KB–900KB (configurable) |
| Preserves | Unix permissions, ownership, symlinks |
| Developed by | Julian Seward (1996) |
Frequently Asked Questions
tar.bz2 vs tar.gz compression ratio — Which is smaller?
How to extract tar.bz2 on Windows, Mac, and Linux?
When should I use tar.bz2 instead of tar.gz?
Is tar.bz2 still widely used?
Can I convert tar.bz2 to tar.gz?
Other archive formats
Related reading
PDF Parsing and Text Extraction — A Practical Guide
Extract text, metadata, and structure from PDF files with pdf.js and pdf-parse. Handle scanned PDFs with OCR. Use sample PDFs plus large test files for stress cases.
Testing Word and Excel Uploads in Production
Validating DOCX and XLSX uploads — size limits, macro detection, corrupted files, and viewer compatibility. Sample office files for every edge case.
Chunked Video Upload with Resumable Transfers
Testing large video uploads with chunked, resumable transfers. tus protocol, multipart uploads, and progress tracking. Sample MP4 files up to 500MB.