Beautify and validate JSON
A free online JSON formatter — debug a 50 MB API response that returned on a single line, find the unbalanced bracket in a 5000-line config, or minify a JSON blob before shipping it in a build. Paste any JSON, hit Beautify for clean indented output, or Minify to strip whitespace before transport. Validation surfaces the exact line and column of any syntax error so you don't hunt through deeply-nested payloads. Auto-formats as you type. Three indent presets (2 spaces, 4 spaces, Tab) — match jq -c, prettier or your team's style guide. Output matches what JSON.stringify produces, so it round-trips cleanly through any consumer.
How to format JSON
Click Paste or paste manually into the left pane.
2 spaces by default, switch to 4 or Tab if you prefer.
Beautify pretty-prints; Minify strips whitespace.
Copy to clipboard or save as a .json file.