Skip to content
NexUnit home
EnglishEspañol

JSON Formatter

Pretty-print or minify JSON and catch syntax errors.

Mode

How it works

The JSON is parsed, then written back out with 2-space indentation (prettify) or no whitespace (minify).

Questions

How does the JSON formatter work?
The JSON is parsed, then written back out with 2-space indentation (prettify) or no whitespace (minify).
Is my text sent to a server?
No. The tool runs entirely in your browser; nothing you type is uploaded.

Want this on your site? Embed the json formatter.