JSON Validator
Check JSON against the specification and get the line, column and cause.
About this tool
Paste a JSON document and it is checked continuously against the JSON specification (RFC 8259 / ECMA-404) as you type. The first character that breaks the rule gets a marker, and every finding names its exact line and column.
Findings are written for the person reading them, not the parser that produced them: there is an extra comma before this closing brace, not Unexpected token}. Each finding also states the specific fix.
Validation is strictly client-side. The document never leaves the tab — which matters most exactly here, because the thing you are validating is often a config file full of secrets.
How to use it
- Paste or drop your JSON. Findings appear as you type — there is no button.
- Click any finding to jump to the exact character in the input pane.
- Problems marked auto-fixable have a Fix it button; anything ambiguous is described precisely instead of being guessed at.
Worked example
For a document with a smart quote instead of a straight one — the classic Word paste — the validator reports the exact character and what to replace it with, rather than a generic syntax error at some offset.
{
"name": "Sam",
“email”: "[email protected]"
} A typical finding
Frequently asked questions
Is my JSON valid?
Does it allow comments?
What is a trailing comma and why is it invalid?
{"a": 1,}. JSON's grammar allows a comma only between items, so a parser stops at it. It is the single most common error in hand-edited JSON — usually left behind after deleting a line.