JSON Minifier

Compress JSON to its smallest size

Minified output
Minified JSON appears here…

Removes all unnecessary whitespace outside of string values. Parsing happens locally in your browser. API keys and private data in your JSON are never uploaded.

About this tool

Pretty-printed JSON is great for humans and wasteful for networks. Before embedding JSON in a URL, a config, or a payload, minify it.

This tool strips every unnecessary byte and shows you exactly how much you saved. Your data is validated first, so the output is always correct JSON.

How to use the json minifier

  1. 1Paste your JSON.
  2. 2Click Minify.
  3. 3Copy the compact result and check your savings.

Frequently asked questions

All insignificant whitespace: indentation, line breaks and spaces outside of strings. The data stays identical.

More free tools you might find useful.

Part of Developer Tools on JoliTools, free tools, no sign-up.