Convert GZ to JSONL
Turn GZ archives into JSONL. The gzip layer is removed and the bytes inside are written as they were.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop GZ files on the dialor turn it to pick what to do
Unwrap a GZ file into JSONL.The gzip layer comes off. The bytes inside are written as they were.
What you get
One JSONL file. The gzip layer is removed and the bytes inside are written out unchanged, so the lines are exactly what was compressed.
The conversion does not parse or rewrite the content. It only takes off the compression.
Name the format inside
Ask for the format you know is inside the GZ file. If you ask for anything else, the conversion is refused.
A GZ file holds a single file, such as a log or a CSV. Choose JSONL only when that file is already JSON Lines. To go the other way, use JSONL to GZ.
When it stops
The conversion stops with
input_corruptedwhen the file could not be parsed.It stops with
unsupported_elementswhen the file holds something the target cannot carry, or when some inputs cannot become the format the join takes.
GZ and JSONL.What each format is.
The formats
Gzip
A single file compressed with gzip, such as a log or a CSV.
- Extensions
- .gz
- MIME type
- application
/gzip - Kind
- Archives
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
In your code.The same GZ to JSONL conversion through the API, for your app or your agent.
$ cv convert archive.gz archive.jsonl$ cv convert archive.gz archive.jsonlQuestions.What people ask about GZ to JSONL.
No. The bytes inside the GZ file are written as they were. Only the gzip layer is removed.
No. Ask for the format you know is inside. A request for any other format is refused.
One file.
No. This conversion has no options.