JSON Validator
Check whether your JSON is valid and see the exact line and column of any syntax error.
Input
Paste JSON above, or upload a .json file.
Output
How to use JSON Validator
- Paste your JSON or upload a .json file.
- Click Validate JSON.
- If there is a mistake, read the line and column in the error message and fix it.
Frequently asked questions
What makes JSON invalid?
The most common causes are a trailing comma after the last item, single quotes instead of double quotes, keys without quotes, and missing brackets or braces.
Does the validator change my JSON?
No. It only reads your JSON and reports whether it is valid. To reformat it, use the JSON Formatter.
Does it check my data against a schema?
No. It checks JSON syntax only, not whether the values match a particular JSON Schema.
Is my text uploaded to a server?
No. This tool runs entirely in your browser, so what you paste never leaves your device.