Convert BZ2 to GZ

Turn BZ2 archives into Gzip. The bytes inside the bzip2 layer are compressed again as one gzip stream at level 6 unless level is given, under this file's name with .gz in place of .bz2.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A gzip file from your bzip2 file.The content is unchanged. Only the compression around it is different.

  1. What you get

    One GZ file. The bytes inside the bzip2 layer are compressed again as a single gzip stream.

    The new file keeps the name of your BZ2 file, with .gz in place of .bz2.

  2. Compression level

    The conversion uses level 6 unless you set Compression level. The range is 1 to 9. A higher level makes a smaller file and takes longer.

    The content is the same at every level, so the level changes only how hard the compressor works.

  3. Going back

    To return to bzip2, use GZ to BZ2. You can also browse every BZ2 conversion.

BZ2 and GZ.What each format is, and the options this conversion takes.

  1. 01 · level

    Compression level

    How hard the compressor works. Higher makes a smaller file and takes longer. The content is the same at every level.

    1 to 9

The formats

From · BZ2

Bzip2

A single file compressed with bzip2.

Extensions
.bz2
MIME type
application/x-bzip2
Kind
Archives
To · GZ

Gzip

A single file compressed with gzip, such as a log or a CSV.

Extensions
.gz
MIME type
application/gzip
Kind
Archives

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

terminal
$ cv convert archive.bz2 archive.gz
$ cv convert archive.bz2 archive.gz

Questions.What people ask about BZ2 to GZ.

01OF 04

Level 6. Set Compression level to a value from 1 to 9 to change it.

No. The bytes inside the bzip2 layer are compressed again as gzip, and the content is the same at every level.

It has the name of your BZ2 file, with .gz in place of .bz2.

No. A higher level makes a smaller file and takes longer, but the content is the same.

More conversions.Other ways in and out of BZ2 and GZ.