Convert TBZ2 to TXZ

Turn TBZ2 archives into TXZ. The tar inside is kept byte for byte and only the compression changes, so every entry keeps its path, owner, permissions and times.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TBZ2 files on the dialor turn it to pick what to do

The same archive with XZ compression.Only the compression changes. The files inside stay as they are.

  1. What you get

    A TXZ file that holds the same tar as your TBZ2. The tar inside is kept byte for byte, so every entry keeps its path, owner, permissions and times.

    The result is one file. XZ is the compression often used for source releases, and it is smaller than gzip.

  2. What changes

    The compression changes from bzip2 to XZ. Nothing inside the tar is rewritten, so there is nothing to reorder or lose among the entries.

    This conversion has no options to set. To go the other way, use TXZ to TBZ2.

  3. When it fails

    If the file cannot be parsed, the conversion stops with input_corrupted. A TBZ2 that is damaged or is not a bzip2-compressed tar can end this way.

TBZ2 and TXZ.What each format is.

The formats

From · TBZ2

Bzip2 Tar Archive

Bzip2-compressed tar archives.

Extensions
.tbz2 .tbz
MIME type
application/x-bzip2
Kind
Archives
To · TXZ

XZ Tar Archive

XZ-compressed tar archives. Smaller than gzip, common for source releases.

Extensions
.txz
MIME type
application/x-xz
Kind
Archives

In your code.The same TBZ2 to TXZ conversion through the API, for your app or your agent.

terminal
$ cv convert archive.tbz2 archive.txz
$ cv convert archive.tbz2 archive.txz

Questions.What people ask about TBZ2 to TXZ.

01OF 04

Yes. Each entry keeps its path, owner, permissions and times, because the tar inside is copied byte for byte.

No. Only the compression around the tar changes.

Yes. Both tbz2 and tbz are listed as extensions of this format.

The file could not be parsed. This is the error the conversion stops with when the TBZ2 cannot be read.

More conversions.Other ways in and out of TBZ2 and TXZ.