.tbz2 File Extension

Learn what a .tbz2 file contains, how to open and extract it, how Poly supports it, and when another archive format may work better.

File extension details for .tbz2

Storage Only
File typeBzip2-compressed TAR archive
MIME type
EncodingBinary TAR archive wrapped in a lossless Bzip2 stream
Operating systemsWindows, macOS, Linux
Opens withGNU tar, 7-Zip, PeaZip, Keka
Poly supportYes. Poly stores, syncs, shares, versions, and downloads .tbz2 files.
Indexed by PolyPartial. Poly indexes the filename and ordinary file properties, not the compressed archive contents.
Preview in PolyNo. Download the file to inspect or extract it with an archive utility.
Poly agentNo. The Poly agent cannot read files inside the compressed archive.

What kind of file is a .tbz2?

A .tbz2 file is normally a TAR archive compressed with Bzip2. TAR records the member names, directory structure, permissions, and other archive metadata. Bzip2 then compresses that complete TAR stream losslessly. .tbz2, .tbz, and .tar.bz2 are different filename conventions for the same two-layer arrangement.

The usual MIME label is application/x-bzip2. It is widely used but not registered in IANA's application media-type registry.1 A Bzip2 stream begins with ASCII BZh, hexadecimal 42 5A 68, followed by a digit from 1 through 9. That digit represents a block size from 100,000 to 900,000 bytes.2 After decompression, a normal .tbz2 file produces a TAR stream, which an archive tool must unpack in a second logical step.

Renaming backup.zip, backup.tar, or backup.tar.gz to backup.tbz2 does not convert it. Check the Bzip2 header and let an archive utility validate the full stream.

How do I open a .tbz2 on my computer?

  • On Windows, use 7-Zip or PeaZip to open and extract the archive. 7-Zip supports both BZIP2 and TAR unpacking.3
  • On macOS, use an archive app such as Keka, or run tar in Terminal.
  • On Linux, GNU tar can select Bzip2 from the .tbz2 suffix and extract the TAR members.4

List an unfamiliar archive before extracting it. With GNU tar, tar -tjf package.tbz2 lists members, while tar -xjf package.tbz2 -C empty-directory extracts into a chosen directory. Review the listing for absolute paths, .. parent-directory references, symbolic links, and unexpected executables.

Poly support for .tbz2

Poly stores, syncs, shares, versions, downloads, and finds .tbz2 files by filename and ordinary file properties. Poly does not currently infer Bzip2 from this suffix, decompress the outer stream, preview the archive, index TAR member names or contents, or give the Poly agent access to files inside it.

Download the archive and extract it with a trusted local utility when you need its contents. Add the extracted files to Poly separately to receive the preview, search, metadata, and agent features available for their formats.

History of .tbz2

Julian Seward released Bzip2 0.15 in July 1996, and version 1.0 followed in 2000.5 Bzip2 replaced his earlier, incompatible bzip compressor. Its data format combines the Burrows-Wheeler block-sorting transform with Huffman coding.2

The .tbz2 suffix compactly identifies both layers of the package while retaining the 2 from Bzip2. The Bzip2 manual recognizes .tbz2 as a TAR-related ending and restores it to .tar when decompressing by filename.2 GNU tar also maps .tbz2 to the Bzip2 compressor when automatic compression selection is enabled.4

Working with .tbz2 and alternatives

Choose an archive based on compatibility and performance:

FormatGood fitMain tradeoff
.tbz2Existing Unix packages and Bzip2 workflowsLess immediately recognizable than .tar.bz2
Gzip tarballBroad Unix compatibilityOften compresses less than Bzip2
XZ tarballCompact software distributionHigher compression time and memory use
Zstandard tarballFast modern compression and decompressionOlder systems may need another tool
ZIPEasy desktop sharing and per-file accessUses a different container model

Bzip2 CRCs can detect accidental corruption, but they do not authenticate the sender or make archived members safe. Compressed data can expand substantially, so apply storage and time limits to untrusted input and extract into an isolated directory. Converting to ZIP or another tarball requires decompression or extraction followed by creation of a new archive. Changing only the suffix changes no bytes.

Footnotes

  1. Internet Assigned Numbers Authority. Media Types Registry. The application registry does not list application/x-bzip2.
  2. Julian Seward. bzip2 and libbzip2, version 1.0.8. The official manual documents the format, header, block sizes, integrity checks, and recognized .tbz2 suffix. 2 3
  3. 7-Zip. 7-Zip. The official feature list includes BZIP2 and TAR among its unpacking formats.
  4. Free Software Foundation. GNU tar: Creating and Reading Compressed Archives. GNU tar supports Bzip2 and recognizes .tbz2 for automatic compressor selection. 2
  5. Library of Congress. bzip2 Format Description. The preservation description records the release history and incompatibility with the earlier bzip format.
© Poly Corp. 2026