JSON Validator

How to read JSON validation errors

Most JSON errors are small: trailing commas, missing quotes, comments, or unescaped control characters.

Go to the exact location

The parser reports the first place where JSON becomes impossible to continue. Check the token before that point too.

Watch for JavaScript habits

JSON requires double-quoted keys and strings, no comments, no trailing commas, and no undefined values.

Open JSON Validator

FAQ

Why is the reported error after the real mistake?

Parsers often detect the problem only when the next token makes the document invalid.