JSON Formatter
Pretty-print, validate and minify any JSON payload.
About JSON Formatter
Pretty-prints and validates JSON, taking minified or malformed input and either formatting it into readable, indented structure or pointing out exactly where the syntax is invalid. A single missing comma or unescaped quote in a large JSON payload can be tedious to spot by eye in its raw, unformatted form. Validation catches the syntax errors that would otherwise surface as a cryptic parser exception somewhere downstream, with a much clearer indication of where the actual problem is than most application-level JSON parsers provide.
Trailing commas after the last item in an array or object are valid in JavaScript object literals but not in JSON itself — one of the most common "looks fine, fails to parse" mistakes when JSON is hand-edited or copied from JS code.