JSON Validator and JSON Lint
Check whether your JSON is valid in one paste. Bracely lints the text as standard JSON (RFC 8259), points to the exact line and column of the first error, and says what went wrong there.
How to use it
- Paste the JSON you want to check, or open a .json file.
- Read the status line under the box: a green check means valid JSON, otherwise you get the error and its position.
- If it is broken, open Repair to fix common mistakes automatically, then validate again.
What it does
- Strict JSON validation with clear, plain-language error messages
- Line and column of the problem, so you can fix it in place
- Validate against a JSON Schema (draft-07 and 2020-12) with the JSON Schema tool
- Repair for trailing commas, comments, single quotes and unquoted keys
- Runs locally: nothing you paste is uploaded
Questions
- What is JSON lint?
- A JSON lint, or linter, reads JSON and reports anything that breaks the JSON rules, such as a missing comma, a trailing comma or an unquoted key. Bracely does this as you paste.
- Why is my JSON invalid?
- The usual causes are trailing commas, single quotes instead of double quotes, comments, unquoted keys, and values like undefined, NaN or True. Bracely names the problem and where it is, and Repair can fix most of them.
- Can I validate JSON against a schema?
- Yes. Open the JSON Schema tool, choose Validate against schema, and paste your schema in the second box. It can also generate a schema from your JSON.
More JSON tools
Bracely has more than 60 JSON tools in one page. Related ones:
Runs entirely in your browser. Nothing you paste is uploaded. Privacy policy