JSON Validator
Check whether JSON is valid and get the exact line and column of the first error.
Runs entirely in your browser.
Validate JSON Online
About JSON Validator
Validation parses the text and reports the first thing that breaks. Rather than only saying it failed, this page converts the parser's character position into a line and column and shows the offending line, which is usually enough to spot the problem immediately.
The usual culprits are a trailing comma after the last item, single quotes instead of double, unquoted keys, and an unescaped newline or quote inside a string. JSON allows none of them, even though JavaScript object literals do.
Other JSON Tools
- JSON Formatter — beautify, minify and validate on one page
- JSON Minifier — strip whitespace to the smallest form
- JSON Stringify — escape JSON into a string literal, or back
- Sort JSON Keys — alphabetise keys at every level
- JSON Compare — diff two JSON documents
- JSON Tree Viewer — browse a document as a tree