Convert TBZ2 to TAR

Turn TBZ2 archives into TAR. The tar inside is taken out byte for byte, 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 tar inside, taken out of the bzip2.You get a plain TAR with every entry exactly as it was stored.

  1. What you get

    One TAR file. The conversion takes the tar out of the bzip2 wrapper byte for byte, so the archive inside is the one that was packed.

    Every entry keeps its path, owner, permissions and times. Nothing is rebuilt or re-ordered along the way.

  2. What changes

    The bzip2 compression is removed. TAR has no compression by itself, so the output is a plain stream of files and folders.

    There are no options to set. The same input always gives the same kind of result: one file.

  3. When it fails

    If the TBZ2 file cannot be parsed, the conversion stops with input_corrupted. No TAR is produced in that case.

    To compress a TAR again, use TAR to TBZ2.

TBZ2 and TAR.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 · TAR

Tar Archive

Unix tape archives. Files and folders in one stream, no compression by itself.

Extensions
.tar
MIME type
application/x-tar
Kind
Archives

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

terminal
$ cv convert archive.tbz2 archive.tar
$ cv convert archive.tbz2 archive.tar

Questions.What people ask about TBZ2 to TAR.

01OF 04

Yes. Every entry keeps its path, owner, permissions and times.

TBZ2 files use the extensions tbz2 and tbz, and both are treated as the same format.

The file could not be parsed as a TBZ2 archive. The conversion stops and gives no TAR.

Use TAR to TBZ2. It turns a TAR back into a bzip2-compressed archive.

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