Convert JSONL to BZ2
Turn JSONL 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 JSONL files on the dialor turn it to pick what to do
Your JSONL file, compressed as one BZ2 file.The lines stay as they are. Only the file gets compressed.
What you get
One BZ2 file that holds your JSONL file as a single bzip2 stream. It is not an archive, so there is no folder or list of files inside. Opening it gives back the one file you started with.
The content is the same at every compression level. To get the JSONL back, use BZ2 to JSONL.
Choosing a level
The conversion runs at level 9 unless you set Compression level. The range is 1 to 9. A higher level makes a smaller file and takes longer, and a lower level does the reverse.
The level changes how hard the compressor works, not what is inside the file.
JSONL and BZ2.What each format is, and the options this conversion takes.
- 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
JSON Lines
JSON Lines, one JSON object per line, the format of logs and datasets.
- Extensions
- .jsonl .ndjson
- MIME type
- application
/jsonl - Kind
- Text and data
Bzip2
A single file compressed with bzip2.
- Extensions
- .bz2
- MIME type
- application
/x -bzip2 - Kind
- Archives
In your code.The same JSONL to BZ2 conversion through the API, for your app or your agent.
$ cv convert report.jsonl report.bz2$ cv convert report.jsonl report.bz2Questions.What people ask about JSONL to BZ2.
No. It is one file compressed with bzip2. It holds your JSONL file and nothing else.
No. The content is the same at every level. Opening the BZ2 file gives back the same JSONL.
Level 9. Set Compression level to a value from 1 to 9 to change it.
Convert the BZ2 file with BZ2 to JSONL. That gives you the original file.