What does a JSON validator check?
A JSON validator tells you whether text follows the JSON rules exactly. A single stray comma or quote makes a whole file unusable, and most programs fail with a vague message. A validator points at the problem.
This tool uses the strict JSON standard, RFC 8259, the same rules as JavaScript's JSON.parse. If the JSON is valid, you see counts of values, keys, depth and size. If not, you get the line, column and a reason. The sample is valid, with 11 values, 8 keys and 4 levels.
How to use the JSON Validator
- Paste your JSON on the left.
- Read the result: valid, with its stats, or the first error.
- If invalid, go to the line and column given and fix the problem.
- Paste again until it turns valid.