How to format JSON
- Paste your JSON into Input.
- Choose Format to pretty-print it or Minify to strip whitespace. Pick an indent and optionally sort keys.
- If the JSON is invalid, the status line shows the line, column and reason. Click Show me to jump to it, or turn on Fix mistakes to repair it.
Format vs. minify
Formatting (also called beautifying or pretty-printing) adds line breaks and indentation so JSON is easy to read and review. Minifying removes all optional whitespace to make it as small as possible for sending over a network or storing. Format mode is what other sites call a JSON prettifier.
Both also validate your JSON, so they double as a quick JSON checker.