JSON Validator
Check whether JSON is valid. If it is not, see the line, the column and the exact spot where it breaks, with a plain explanation.
JSON Validator checks whether text is valid JSON. If it is not, it shows the line and column of the first problem, explains it in plain words, and prints the line with a marker under the exact spot. Nothing is uploaded.
What makes JSON invalid?
Strict syntax
JSON allows only double-quoted strings, no trailing commas, no comments and no values such as undefined or NaN. Code that JavaScript happily accepts can still be invalid JSON.
Line and column
The position of the first character the parser could not accept. Fixing that spot usually reveals whether anything else is wrong further on.
Why use JSON Validator?
- Find the exact spot. Instead of "unexpected token", you see the line, the column and a caret under the problem.
- Plain explanations. Messages such as "Trailing comma before ]" say what to change, not just that something failed.
- Safe for secrets. Checking happens in your browser, so keys and personal data in the JSON stay on your computer.
How to use JSON Validator, step by step

- Paste the text into JSON Validator. The example shows a common mistake: a comma after the last array item.
- Read the verdict. Valid JSON shows its top-level type, nesting depth and size. Invalid JSON shows where and why.
- Fix and check again. The verdict updates as you type, so you can correct problems one by one.
Frequently asked questions
Does it allow comments or trailing commas?
No. Those are features of JSON5 and JSONC, not standard JSON, and most APIs reject them. The validator reports them as errors.
Why does it only show one error?
After the first mistake a parser cannot know what was intended, so later "errors" are often false alarms. Fix the first one and check again.
Does it check against a schema?
No. It checks syntax only: whether the text is well-formed JSON, not whether particular fields are present.
Looking for the long version? The guides cover each of these jobs in depth.