Initializing... drag & drop files here
Supports: TB2
.tb2 archives. Batch uploads are supported — drop a folder of bzip2-compressed tarballs and rename them all to .tz2 in a single pass. Files stay on our servers and are not retained on a permanent server..tz2 for each input .tb2 — the right choice when you just need each file relabeled for a pipeline that expects the .tz2 spelling. Pick Single Archive if you instead want to unpack every uploaded .tb2 and re-pack the merged contents into one combined .tz2..tz2 extension. Because .tb2 and .tz2 are both Wikipedia-documented short aliases for .tar.bz2, the underlying bytes are unchanged when you use Individual Archives — the file is the same tar stream wrapped in the same bzip2 layer, just with a different filename. GNU tar and BSD tar autodetect the format from the bzip2 magic bytes (BZh at offset 0), so tar -xf archive.tz2 and tar -xf archive.tb2 behave identically on Linux and macOS..tb2..tb2 and .tz2 are two of the four short single-extension aliases Wikipedia documents for a tar archive compressed with bzip2 (canonical name .tar.bz2); the other two are .tbz and .tbz2. The bytes inside are identical — a tar stream wrapped by bzip2's Burrows–Wheeler Transform plus Huffman coding on blocks of 100–900 KB (Julian Seward's bzip2, released in 1997). So why rename .tb2 to .tz2? Because tools, mirrors, and build scripts often pattern-match on the extension instead of inspecting magic bytes, so the spelling matters more than it should. Typical scenarios:
.tz2 and skip files with other bzip2 suffixes from their indexes. If your release artifacts have to drop into one of those indexes, the rename is mandatory.%prep sections, and CI helpers hard-code *.tz2 as the bzip2 variant. Easier to rename the artifact than to patch a vendored script you don't own..tb2 collisions — .tb2 is also the file extension for Turbo Pascal Tour bookmark files and (rarely) for some bitmap thumbnail caches. Renaming to .tz2 removes that ambiguity on mixed-tooling shares where MIME sniffing isn't available..tz2 but not .tb2 (or vice versa), repacking under the accepted spelling avoids the silent drop..tz2 as the bzip2 variant, your published artifact should match — confused-user emails about "where's the tz2?" go away..tb2 files — Switch the Combine mode to Single Archive to unpack several .tb2 inputs and merge their contents into one consolidated .tz2 release tarball. Same convention tar uses internally: when two inputs share the same path, the later one wins.Need a different compression algorithm rather than just a rename? Try TB2 to tar.gz for faster extraction, TB2 to tar.xz for tighter compression, or TB2 to ZIP for the Windows-native option. To unpack a .tb2 instead of re-wrapping it, use Extract TB2. To flip back from TZ2, see TZ2 to TB2.
| Extension | Canonical equivalent | Where you'll see it | Recognized by |
|---|---|---|---|
.tar.bz2 |
canonical | Linux kernel mirrors, GNU source releases, distribution dist/ directories |
Every modern tar implementation |
.tb2 |
.tar.bz2 |
DOS-era short alias, some Windows-friendly mirrors | GNU tar, BSD tar, 7-Zip, WinRAR, PeaZip |
.tbz |
.tar.bz2 |
Common short alias on Linux mirrors and Sourceforge | GNU tar, BSD tar, 7-Zip, WinRAR |
.tbz2 |
.tar.bz2 |
Used by Convertio, ezyZip, and most web archive tools | GNU tar, BSD tar, 7-Zip, WinRAR, PeaZip, Windows 11 (KB5031455+) |
.tz2 |
.tar.bz2 |
Rarer; sometimes seen on legacy Unix mirrors and ports trees | GNU tar autodetects via BZh magic bytes; same for BSD tar, 7-Zip, PeaZip |
All five hold a tar stream compressed with bzip2. Converting TB2 to TZ2 rewrites the filename, not the contents.
| Property | TB2 / TZ2 (.tar.bz2) |
.tar.gz / .tgz |
.tar.xz / .txz |
ZIP |
|---|---|---|---|---|
| Compression algorithm | bzip2 — Burrows–Wheeler + Huffman | gzip / DEFLATE (LZ77 + Huffman) | LZMA2 | DEFLATE, per-file |
| Typical text compression | ~90%+ reduction | ~80–85% reduction | ~92%+ reduction | ~80% reduction |
| Compress speed | Slow (roughly 3–5× gzip) | Fast | Very slow | Fast |
| Decompress speed | Slow (roughly 2–3× gzip) | Fast | Slow | Fast, supports random access |
| Random per-file access | No (must stream through) | No (must stream through) | No (must stream through) | Yes |
| Preserves Unix modes/symlinks | Yes (via tar) | Yes (via tar) | Yes (via tar) | Inconsistent |
| Built-in on Windows 11 (23H2+) | Yes for .tar.bz2 and .tbz2; .tb2/.tz2 not in the announced list |
Yes | Yes | Yes |
| Built-in on macOS / Linux | Yes (tar -xf) |
Yes (tar -xf) |
Yes (tar -xf) |
macOS yes; Linux via unzip |
.tb2 actually different from .tz2?No — both are short aliases for a tar archive compressed with bzip2, alongside .tbz and .tbz2. The file's leading magic bytes (BZh at offset 0) identify the compression layer, and any modern tar implementation autodetects that regardless of filename. Renaming archive.tb2 to archive.tz2 on the command line produces an identical, working archive. The xconvert converter does the same thing in Individual Archives mode — it pipes the bytes through with the new extension. Single Archive mode is different: it actually unpacks each input and re-tars/re-compresses the merged contents, so the output bytes will differ from any single input.
.tz2 but reject .tb2 (or vice versa)?A surprising number of tools pattern-match the extension instead of inspecting magic bytes. RPM spec files, older Makefiles, ports-tree fetchers, some package-manager indexers, and upload allowlists fall into this group. Both .tb2 and .tz2 are rarer than .tar.bz2 or .tbz2, so either one can fall outside a hard-coded allowlist. Converting to the spelling your consumer expects is the fix when patching the consumer isn't an option.
If you pick Individual Archives, no — the bytes are identical and the size is unchanged to the byte. Only the filename changes. If you pick Single Archive to merge multiple inputs, the output bzip2 stream sees all the merged tar contents at once and may compress slightly better than the sum of its inputs because bzip2 can find repeating patterns spanning what were originally separate files. For text-heavy payloads (source code, configs, logs) the merge-mode savings are usually 5–15%; for already-compressed payloads (JPEG, MP4, MP3) the difference is near zero.
.tz2 file on Windows without installing anything?It depends on the spelling and the Windows version. Windows 11 23H2 (October 31, 2023, via KB5031455) added libarchive-based extraction to File Explorer, and Microsoft's announcement listed .tar.bz2 and .tbz2 among supported formats — .tb2 and the rarer .tz2 were not in the announced list, so right-click "Extract All" may not surface for them. The reliable cross-version fix on Windows is the tar.exe command Microsoft has bundled since Windows 10 1803 (April 2018): from PowerShell or cmd, tar -xf archive.tz2 works because tar autodetects the bzip2 header regardless of the file's extension. 7-Zip, WinRAR, and PeaZip all extract .tz2 natively.
Yes. Tar (the inner format) records Unix file modes, owner/group IDs, symbolic links, hard links, and modification times. Since both .tb2 and .tz2 wrap the same tar inner format, none of that metadata is touched by the rename. If the original .tb2 was created on Windows or by a tool that didn't capture POSIX bits (some GUI archivers skip them), the converter cannot restore information that was never there — but it won't strip anything either.
.tz2 file on Linux or macOS?Run tar -xf archive.tz2 from the terminal — -x extracts, -f specifies the file. Older GNU tar releases required an explicit -j flag for bzip2 (tar -xjf), but every GNU tar release since the 1.15 series in 2004, and BSD tar shipped with macOS since 10.5 (Leopard, 2007), autodetect compression from the bzip2 magic bytes — the flag is no longer required. To list contents without extracting, use tar -tf archive.tz2.
Bzip2 applies the Burrows–Wheeler Transform on blocks of 100–900 KB followed by move-to-front and Huffman coding — computationally heavier than gzip's sliding-window LZ77+Huffman approach. The trade-off is roughly 3–5× slower compression and 2–3× slower decompression than gzip, in exchange for typically 10–15% smaller archives on text payloads. For one-time downloads where bandwidth matters more than CPU, the trade-off pays off; for build artifacts you extract dozens of times a day, gzip usually wins. If you need gzip's speed, use TB2 to tar.gz.
There is no hard cap published for TB2-to-TZ2 conversions, and files are uploaded over an encrypted connection, processed on our servers, and deleted automatically after the session, so file size limits depend on your upload bandwidth and our server-imposed quota and CPU. Individual Archives mode mostly streams bytes through with a filename change, so multi-gigabyte archives are usually fine. Single Archive mode unpacks and re-compresses, which takes more memory and CPU; expect noticeably longer processing time on archives of 1 GB+ because of bzip2's compute cost.
.tz2 to .tb2 afterward?Yes. Use TZ2 to TB2 to flip the extension back. Because both are aliases for .tar.bz2, the round trip in Individual Archives mode preserves the original bytes exactly. If you need a different operation entirely, Extract TZ2 unpacks the archive directly, and TZ2 to ZIP repacks it as ZIP for Windows-first recipients.