Convert JSON to GZ

Turn JSON files into Gzip. The file compressed as one gzip stream at level 6 unless level is given; it is not an archive.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Your JSON, gzipped into one file.The file is compressed as a single gzip stream. It is not an archive.

  1. What you get

    One GZ file that holds your JSON compressed as one gzip stream. The result is a single compressed file, the kind used for a log or a CSV, and not a bundle of files.

    The content is the same as what you put in. Gzip changes how the file is stored, not what it says.

  2. Compression level

    The conversion uses level 6 unless you set Compression level. The option takes a value from 1 to 9.

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

    To get the JSON back, use GZ to JSON.

JSON and GZ.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 · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data
To · GZ

Gzip

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

Extensions
.gz
MIME type
application/gzip
Kind
Archives

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

terminal
$ cv convert report.json report.gz
$ cv convert report.json report.gz

Questions.What people ask about JSON to GZ.

01OF 04

No. It is one gzip stream that holds your one file. It does not bundle several files together.

Level 6. 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.

Use GZ to JSON to turn the compressed file back into JSON.

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