JSON Validator
Check whether JSON is valid and get the exact line and column of the first error, not just "unexpected token".
Input
Parsed in the page, not on a server
The document is parsed with the browser’s own JSON engine and never transmitted, which makes it safe to paste a response that contains tokens or personal data.
Frequently asked questions
Is there a size limit?
Only your device memory. Documents of a few megabytes are handled comfortably; much larger ones may make the page pause while parsing.
Related tools
JSON FormatterPretty-print JSON with your choice of indentation, optionally sorting keys so two payloads can be compared.JSON Viewer & Path ExplorerFlatten JSON into dotted paths so you can find the value you need and copy the exact path to it.XML ValidatorCheck that XML tags are balanced and correctly nested, and get the line where the structure breaks.