About the JSON Validator
Check whether JSON is valid and get the exact line and column of the first error.
Also known as: validate json, json syntax checker, json lint, is my json valid.
How to use this calculator
- Enter json to validate.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Review the breakdown shown under the main result.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
Parsed with the JSON specification’s own rules
Worked example
Using the values pre-filled in the calculator above:
- JSON to validate: { "id": 1, "items": [1, 2, 3], "ok": true }
the calculator returns:
- Result: Valid JSON
- Root type: Object
- Total keys: 3
- Scalar values: 5