JSON Validator
Check whether JSON is valid and see exactly where it breaks.
Format, indent and inspect JSON with clear error reporting.
The most common causes are trailing commas, single-quoted strings, unquoted object keys, comments, and NaN or Infinity values. All of these are valid JavaScript but none are valid JSON. The error message below the input names the line and column so you can go straight to the problem.
No. Object key order is not significant in JSON, so sorting produces a semantically identical document. It is useful when diffing two API responses that return the same fields in different orders.
Formatting happens in your browser, so the practical limit is your available memory. Documents up to a few megabytes format instantly; very large files may briefly freeze the tab while parsing.
Check whether JSON is valid and see exactly where it breaks.
Strip whitespace from JSON to make payloads smaller.
Turn a single line of JSON into something readable.
Turn YAML configuration into JSON, anchors and all.
Your input is saved in this browser so a refresh does not lose it. Tools handling credentials are never saved.