JSON Validator
Check whether your JSON is valid and see a clear explanation of any syntax problem.
Input
Result
How to use
How to validate JSON
Paste JSON and press Validate. A valid document is confirmed immediately, an invalid one reports the reason.
- Paste JSON into the input editor.
- Press Validate.
- Read the status message and fix the reported issue.
Frequently asked questions
Which JSON specification is used?
The validator follows RFC 8259, the same grammar used by JSON.parse in every modern browser.
Does it allow comments?
No. Standard JSON does not allow comments, so they are reported as errors.
Related tools
JSON Formatter
Beautify and validate JSON with configurable indentation, error highlighting and one click copy.
JSON Parser
Parse JSON and inspect the resulting structure, types and value counts.
JSON Minifier
Remove every unnecessary space and newline to produce the smallest possible JSON payload.
JSON Viewer
Read JSON in a clean formatted view and explore it as a collapsible tree.
JSON Tree Viewer
Turn JSON into an interactive, collapsible tree with array lengths and value types.
JSON Editor
Edit JSON with line numbers, bracket matching, code folding and live validation.