JSON Validator Online
Check whether JSON text is syntactically valid and report the top-level data type using the browser parser.
The checker parses or inspects text in your browser. It does not execute JavaScript, apply CSS to your page, or upload your source.
How to validate JSON text
- Paste a JSON value into the input.
- Select Check JSON.
- Review whether the browser parser accepts the value.
- Check the reported top-level type.
- Correct any syntax error and check again.
About this tool
This checks JSON syntax using the native browser parser; it does not validate a JSON Schema. JSON objects, arrays, strings, numbers, booleans and null are accepted. The input is parsed locally and is not uploaded.
Frequently asked questions
What does this checker inspect?
This checks JSON syntax using the native browser parser; it does not validate a JSON Schema.
Does it execute or upload my source?
No. It uses a browser parser and does not upload the source. The JavaScript checker parses classic syntax but does not execute submitted code.
Does a successful check prove the code is correct?
JSON objects, arrays, strings, numbers, booleans and null are accepted.
Which limits apply?
The input is parsed locally and is not uploaded. Valid syntax does not guarantee that a document meets an application-specific schema.
What should I do after a successful check?
Large pasted documents use browser memory.