Online .TAR.BZ2 File Extractor
(No Size Limits)
Open, view, and unpack source archives securely in your browser tab. 100% safe from data leaks, lightning-fast processing, and optimized for large developer packages.
About Decompression of TAR.BZ2
A .tar.bz2 file is two formats stacked. TAR bundles many files into one without compressing anything, then bzip2 compresses the bundle. The short form is .tbz2, which is the identical format under a shorter name.
The format that was standard for a decade
Between roughly 2000 and 2010, .tar.bz2 was the default way serious software was distributed. Bzip2 compressed noticeably better than gzip, and XZ and Zstandard did not exist yet or had not spread. A great deal of open source history is archived in this format.
It lost on both fronts once alternatives arrived. XZ compresses harder, Zstandard decompresses far faster, and bzip2 is slow in both directions. Almost nothing new chooses it, but an enormous amount of existing software, scientific data and older Linux packaging was published in it and never re-encoded, which is why you still meet it.
| Format | Compression ratio | Decompression speed | Status |
|---|---|---|---|
| .tar.gz | Moderate | Moderate | Still the universal default |
| .tar.bz2 | Better than gzip | Slowest | Legacy, rarely chosen for new work |
| .tar.xz | Highest | Slow | Replaced it where size matters |
| .tar.zst | Comparable to gzip | Fastest | Replaced it where speed matters |
Why this one was hard to build
BZ2 routed through the bundled build of libarchive.js, whose only entry point copies the entire archive into the WebAssembly heap, imposing a 300 MB ceiling. The streaming callback API was compiled into that build but never exported, and every prebuilt libarchive binding on npm takes the archive as a single Uint8Array, so none of them could stream.
libarchive is therefore built from source here with both halves exposed, reading input through a sliding window over the file and writing each output chunk straight to disk. Memory stays flat regardless of archive size.
Doing it from a terminal instead
GNU tar detects bzip2 automatically:
tar -xf archive.tar.bz2
What does not work
Multi-volume archives split across several files are not supported. Bzip2 has no encryption of its own, so a password-protected .tar.bz2 is really an encrypted container holding one, and that outer layer has to come off first.
TAR-BZ2 FAQ
Everything you need to know about how unpk.app processes TAR-BZ2 locally.
What is a .tar.bz2 file?
A .tar.bz2 file (also called .tbz2) is a TAR archive compressed with Bzip2. It was the standard archive format for Linux distributions before XZ and Zstandard became common, and is still widely used in older software repositories.
How do I open a .tar.bz2 file without installing software?
Drop your .tar.bz2 file into unpk.app. It extracts instantly in your browser - no software install, no file upload to any server. Works on Chromebook, Windows 11, macOS, and Linux.
Is .tbz2 the same as .tar.bz2?
Yes. The .tbz2 extension is simply a shorter alias for .tar.bz2 - both contain a TAR archive compressed with Bzip2. They are completely interchangeable.