Convert TXT to LZ4

Turn TXT files into LZ4. The file compressed as one LZ4 stream at level 1 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 into one LZ4 file.The whole file is compressed as a single LZ4 stream. It is not an archive.

  1. What you get

    One LZ4 file that holds your text file as a single compressed stream. LZ4 is built for speed over ratio, and the output is a compressed copy of one file, not a bundle of files.

    The content is the same at every compression level. Only the work the compressor does and the size of the result change.

  2. Compression level

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

    Changing the level does not change what is inside the file. To read the text again, use LZ4 to TXT.

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

LZ4

A single file compressed with LZ4, built for speed over ratio.

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

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

terminal
$ cv convert report.txt report.lz4
$ cv convert report.txt report.lz4

Questions.What people ask about TXT to LZ4.

01OF 04

No. It is one file compressed as one LZ4 stream. It does not hold a folder or a list of files.

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

No. The content is the same at every level. A higher level makes a smaller file and takes longer.

Yes. LZ4 to TXT turns the LZ4 file back into text.

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