JSON Validator
Validate JSON against the specification, in strict or lenient mode.
About the JSON Validator
Validate a JSON string or file and get the exact error position when something is wrong. Strict mode follows the JSON specification; lenient mode also accepts JavaScript-flavoured documents (unquoted keys, single quotes, trailing commas).
Frequently asked questions
What is the difference between strict and lenient mode?
Strict mode follows the JSON specification exactly. Lenient mode tolerates JavaScript extensions such as unquoted keys and trailing commas.
Does it show where the error is?
Yes — errors include the line and column so you can jump straight to the problem.