Open any .bz2 file in your browser - a compressed log, a database dump or a .tar.bz2 / .tbz2 archive full of folders. Archives open as a browsable tree (or use the TAR File Viewer), damaged files can be rescued block by block, and the GZ and XZ File Opener cover the other Linux formats.
Something went wrong. Please try again.
Folders, files, sizes and dates in a fast tree. Preview any file or download just that one.
Our decoder works block by block in a Web Worker, so memory stays low and the page stays smooth.
BZIP2 stores a checksum per block and per stream - you see how many passed and which block failed.
A damaged block does not have to sink the whole file: skip it and keep everything else.
Files from pbzip2, lbzip2 or joined with cat open in full, not just the first part.
Compressed logs, CSV exports and SQL dumps open as searchable text with a link to the right viewer.
Dropped a renamed ZIP or RAR? The first bytes tell us, and we send you to the right tool.
Your file is read by your browser and never uploaded. Close the tab and it is gone.
A .bz2 file is a single file compressed with BZIP2, a classic Linux compressor from 1996.
It squeezes text a little tighter than GZIP by sorting the data first with the Burrows-Wheeler transform.
The trade-off is speed: BZIP2 is several times slower than GZIP, both packing and unpacking. That is why you still meet it in older software releases, Wikipedia dumps, scientific data and backups.
BZIP2 splits data into independent blocks of 100-900 KB, each with its own CRC. This makes it unusually repairable - one bad block does not ruin the rest.
| Extension | What it is | What you get here |
|---|---|---|
| .bz2 | One compressed file, for example dump.sql.bz2 | The file itself, previewed and ready to download |
| .tar.bz2 / .tbz2 / .tbz | A TAR archive (many files and folders) compressed with BZIP2 | A browsable folder tree, previews, single downloads and Download all as ZIP |
| .tar.gz / .tar.xz | The same idea with GZIP or XZ | The GZ File Opener or XZ File Opener |
Need to pack files the other way round? The Archive Creator makes ZIP, TAR.GZ and TAR.XZ archives in your browser.
This page works anywhere you have a browser - Windows, macOS, Linux, Chromebooks and phones.
On the command line, the usual tools are:
bunzip2 file.bz2 for one file, tar -xjf archive.tar.bz2 for an archive.tar -xjf archive.tar.bz2 in Command Prompt, or 7-Zip for single .bz2 files.bzip2recover file.bz2 splits out the good blocks. Rescue mode on this page does the same in one click.A bad sector or a broken download can flip a few bits in the middle of a file.
Most tools then stop with "data integrity error" and give you nothing.
This opener first keeps every block it decompressed before the damage. If the file is corrupt rather than cut off, press Try rescue mode: it searches for the next block marker, skips the broken block and carries on to the end.
Only the damaged block is lost - at most 900 KB of the original. The notes tell you which blocks were skipped, so you know exactly what is missing.
Dropped the wrong file? A ZIP, RAR or 7Z file is recognised from its first bytes and you get a link to the right viewer. Everything else lives in the Archive Viewer and the full list of file viewers.
The opener checks the decompressed data and shows it the best way it can.
.sql.bz2 backups read well in the SQL File Viewer.Drop the .bz2 file onto this page or click to browse. It is decompressed in your browser and the contents appear at once: a folder tree for .tar.bz2 archives, searchable text for logs and data, a picture for images.
Then download the decompressed file, single files or everything as a ZIP.
Open it here and the TAR archive inside is listed as folders and files. Click a file to preview or download it, tick files or folders to download just those, or press Download all as ZIP to get everything in a format Windows and macOS open natively.
You can also save the plain .tar and open it in the TAR File Viewer.
BZIP2 sorts every block of data (the Burrows-Wheeler transform) before compressing it, which takes more work than GZIP's simple matching, both ways. In exchange, files are usually 10-15% smaller.
Expect this page to unpack .bz2 files at roughly 10-30 MB per second, depending on your device.
Often, yes. Everything before the damage is kept automatically. For corrupt (not cut off) files, press Try rescue mode: the opener skips the damaged block and decodes everything after it, much like the bzip2recover tool.
Only the broken block, at most 900 KB of original data, is lost.
No. The decompressor runs inside your browser, so the file never leaves your device.
That makes it safe for private backups, logs and database dumps, and nothing is kept after you close the tab.
There is no fixed limit. The file is read in slices and decoded block by block in a background worker, so 1 GB+ files work in a desktop browser.
The text preview shows the first 32 MB, and downloads always contain everything. Phones have less memory, so very large files are best opened on a computer.
They are short names for .tar.bz2 - a TAR archive compressed with BZIP2.
They open here exactly like .tar.bz2 files, and the decompressed archive is saved with a .tar extension.
All three compress one file and are usually paired with TAR. GZIP (.gz) is the fastest, BZIP2 (.bz2) is a little smaller but slower, and XZ (.xz) is the smallest and the modern Linux standard.
Use the GZ File Opener or the XZ File Opener for those.