Developer
JSON formatter
Pretty-print, minify, and check that a JSON document is valid.
Output
Tasks
Full guidePretty-print a payload
Format indents objects and arrays with 2 or 4 spaces.
Minify before you paste it elsewhere
Minify removes insignificant whitespace and keeps the same data.
Find a syntax error
Format or Minify shows the parser message when the input is not valid JSON.