Convert TBZ2 to TGZ

Turn TBZ2 archives into TGZ. 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, gzipped.Only the compression changes. Every entry keeps its path, owner, permissions and times.

  1. What you get

    One TGZ file. The tar inside is kept byte for byte, so the contents are the same as in the TBZ2 file you started with.

    Each entry keeps its path, owner, permissions and times. Nothing inside the archive is renamed, reordered or rewritten.

  2. What changes

    Only the compression layer. The Bzip2 wrapper is removed and a gzip wrapper takes its place, which is the form source code usually ships in.

    The conversion has no options to set. You give it a TBZ2 or TBZ file and get one TGZ file back.

  3. When it stops

    If the file could not be parsed, the conversion stops with input_corrupted. No TGZ file is produced in that case.

    To go the other way, use TGZ to TBZ2.

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

Gzipped Tar Archive

Gzip-compressed tar archives, the way source code ships.

Extensions
.tgz
MIME type
application/gzip
Kind
Archives

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

terminal
$ cv convert archive.tbz2 archive.tgz
$ cv convert archive.tbz2 archive.tgz

Questions.What people ask about TBZ2 to TGZ.

01OF 04

No. The tar inside is kept byte for byte. Paths, owners, permissions and times stay as they were.

Yes. Both tbz2 and tbz are accepted as Bzip2 tar archives.

The file could not be parsed. The conversion stops with this code and gives no TGZ file.

No. This conversion has no options.

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