Compress a JSON File Online

Compress a JSON file online with gzip to make it much smaller for sharing or storage. Free, in your browser, nothing is uploaded.

Quick answer: Shrink JSON, CSV, XML, YAML and Parquet files with gzip, or open a .gz file.

Related: File Compressor: Gzip JSON, CSV, XML, YAML, Parquet · Gzip Compress Files Online · Compress a CSV File Online · Reduce File Size Online · JSON Guides and Free JSON Tools

How to use the Compress a JSON File Online

Shrink JSON, CSV, XML, YAML and Parquet files with gzip, or open a .gz file.

The File Compressor shrinks files with gzip in your browser and opens .gz files you receive. Text formats such as CSV, JSON, XML and YAML usually shrink by 70 to 90 percent, which saves storage and speeds up transfers. It handles several files at once and never uploads them, so you can compress logs or exports that contain private data.

  1. Choose Compress or Decompress
  2. Drop one or more files
  3. Download the result

Tips

Example

Input: data.json (20 MB)

Output: data.json.gz (2 MB)

Browse by topic

Who uses Data Utility

Frequently asked questions · Data format benchmark

Frequently asked questions

How do I compress a JSON file?

Open the Compress tab, drop the JSON file and download the .gz file.

Can I get the original back?

Yes. Use the Decompress tab on the .gz file.

What is gzip?

A common compression format. Most tools, databases and programming languages can read .gz files.

How do I open a .gz file?

Use the Decompress tab here, or double-click it on Mac and Linux, or use 7-Zip on Windows.

What does the File Compressor do?

It shrinks files with gzip (.gz) in your browser and opens .gz files. Text formats such as CSV, JSON, XML and YAML often shrink by 70 to 90 percent. Parquet is already compressed, so it shrinks only a little.

Related pages

Topic guides

Guides