JSON Validator & Repair
Developer utilities · Done in 3 steps
- 1Paste your JSON
- 2
- 3
About
Validate JSON as you type with the exact line and column of each error, plain-English fix hints and one-click repair of common mistakes.
How to use it
- 1Paste the JSON you want to check.
- 2Read the error message and the caret pointing at the exact character.
- 3Review the likely causes listed underneath.
- 4Click Repair JSON to fix trailing commas, quotes, comments and similar issues automatically.
- You give
- JSON or “almost JSON” (JavaScript objects, Python dicts, JSON with comments)
- You get
- Valid/invalid verdict, error position, fix hints and a repaired, pretty-printed version
- Good to know
- Validation follows strict RFC 8259 JSON. Repair handles common syntax slips (trailing commas, single or smart quotes, unquoted keys, comments, True/False/None, missing commas between lines) but cannot guess missing brackets or values.
- Privacy
- Processed on your device. Nothing is uploaded, stored or logged.
- Last tested
- 2026-10-28
FAQ
Why is a trailing comma an error?
The JSON standard doesn't allow a comma after the last item in an object or array, even though JavaScript does. Many parsers reject it.
Can it convert a JavaScript object or Python dict to JSON?
Often yes. Single quotes, unquoted keys, True/False/None and comments are all converted when you click Repair JSON.
How accurate is the error position?
Exact: the validator walks the text itself rather than relying on browser error messages, which vary and sometimes omit the position.
Go further with AI
Code review checklist
A severity-ranked review checklist for humans and AI reviewers covering correctness, security, data, performance, tests and maintainability.
Claude Code · Cursor · Claude
Bug reproduction template
Turn a vague bug report into minimal reproduction steps, ranked hypotheses and a failing test you can hand to a developer or coding agent.
Claude Code · Cursor · Claude
UI implementation brief
Write a precise brief for building a UI component with a coding agent: states, behaviour, accessibility, responsive rules and acceptance criteria.
Claude Code · Cursor · Claude
Accessibility review workflow
Review a component or page against WCAG 2.2 AA with automated checks, an AI code review and a short manual keyboard and screen-reader pass.
Claude Code · Cursor · Claude