About the JSON Formatter
Paste JSON and this tool reformats it with the indentation you want, or strips every unnecessary byte for production. It also reports the structure — how many keys, how deeply nested, how much smaller minifying makes it — and if the JSON is broken it tells you the line and column where parsing stopped.
Also known as: json beautifier, json pretty print, format json, json minifier, prettify json.
How to use this calculator
- Paste the JSON into the box.
- Choose formatted, minified or key-sorted output.
- Copy the result — nothing is uploaded anywhere, it all runs in your browser.
Formula
Worked example
Using the values pre-filled in the calculator above:
- JSON: {"name":"calcularo","tags":["fast","free"],"meta":{"version"…
- Output: Formatted
- Indent: 2 spaces
the calculator returns:
- Output: { "name": "calcularo", "tags": [ "fast", "free" ], "meta": { "version": 2, "active": true } }
- Original size: 78 B
- Output size: 119 B
- Saved by minifying: 0.0%