Convert GZ to JSON

Turn GZ archives into JSON. 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

The JSON inside your gzip file.The gzip layer comes off and the contents are written as they were.

  1. What you get

    One JSON file. The gzip layer is removed, and the bytes inside are written out unchanged. Nothing is rebuilt or reformatted.

  2. Ask for what is inside

    Choose JSON only when you know the file inside the GZ is JSON. A GZ holds a single file, such as a log or a CSV, and any other content is refused. The conversion does not turn one format into another. It only unpacks.

  3. When it stops

    The conversion stops with input_corrupted when the file could not be parsed. It stops with unsupported_elements when the file holds something the target cannot carry, or when some inputs cannot become the format the join takes.

    To go the other way, use JSON to GZ.

GZ and JSON.What each format is.

The formats

From · GZ

Gzip

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

Extensions
.gz
MIME type
application/gzip
Kind
Archives
To · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

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

terminal
$ cv convert archive.gz archive.json
$ cv convert archive.gz archive.json

Questions.What people ask about GZ to JSON.

01OF 04

No. The bytes inside the gzip file are written as they were.

No. Ask for the format you know is inside. Anything else is refused.

The file holds something JSON cannot carry, or some inputs cannot become the format the join takes.

One file.

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