Convert TXT to BZ2

Turn TXT files into Bzip2. The file compressed as one bzip2 stream at level 9 unless level is given; it is not an archive.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A text file packed as BZ2.One bzip2 stream at level 9 unless you choose another.

  1. What you get

    One BZ2 file that holds your text file, compressed as a single bzip2 stream. It is not an archive, so it holds one file and no folder of files.

    The compression level is 9 unless you set Compression level. The content of the text is the same at every level.

  2. Choosing a level

    Set Compression level to a number from 1 to 9. A higher level makes a smaller file and takes longer. A lower level works less hard.

    The level changes the work the compressor does, not what is inside. When you unpack the file, the text is the same whichever level you pick.

  3. Getting the text back

    To reverse the step, use BZ2 to TXT. It unpacks the stream into a text file again.

TXT and BZ2.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 · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data
To · BZ2

Bzip2

A single file compressed with bzip2.

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

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

terminal
$ cv convert report.txt report.bz2
$ cv convert report.txt report.bz2

Questions.What people ask about TXT to BZ2.

01OF 04

No. It is one file compressed with bzip2. It does not hold several files or folders.

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

No. The content is the same at every level. Only the size of the compressed file and the time it takes change.

Yes. BZ2 to TXT turns the file back into plain text.

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