JSON Validator
Check JSON syntax and report parsing errors.
Format, validate, and inspect JSON in your browser.
{"items":[1,2],"active":true} becomes an indented object with an items array and a boolean field.Indentation reveals which fields belong to an object or array. A parsing error means the input does not conform to JSON syntax.
Processing happens in the browser. JavaScript number precision can change integers above 2^53−1; represent large identifiers as quoted strings. Avoid duplicate keys.
Whitespace changes. Parsing also normalizes numbers and keeps only the last occurrence of a duplicate object key.
Check JSON syntax and report parsing errors.
Compare JSON structures and identify changed fields.
Sort object keys recursively while preserving array order.
Apply an RFC 7396 merge patch to a JSON document locally.
Your result will appear here.
Enter your input, then run the tool.