Validate JSON and pinpoint errors.
The JSON validator checks whether a block of text is syntactically valid JSON. It parses your input live and either confirms it is valid — with a short summary of the top-level type and keys — or reports the exact error and where it occurred.
It is the fastest way to catch the small mistakes that break JSON: a missing comma, an extra trailing comma, an unclosed bracket or a stray quote.
A trailing comma after the last item in an object or array, and using single quotes instead of double quotes. Both are legal in JavaScript but invalid in JSON.
Yes. Since JSON (RFC 8259), any value — including 42, "hello", true or null on its own — is valid JSON, not just objects and arrays.
It means the syntax is correct and parseable. It does not check that fields match a schema or contain the values your application expects.