JSON Validator

Validate JSON syntax and read parser errors without uploading the document.

Your input is processed in this browser and is not uploaded.

JSON Validator

Check whether a JSON value can be parsed. Success displays Valid JSON; an error explains what the browser parser could not read.

How to use it

  1. Paste the JSON value or document.
  2. Select Run tool.
  3. Read the error and any position reported by your browser. Check nearby quotes, commas and brackets, then run the corrected input.

Worked example

{"active":true} is valid. {"active":true,} is invalid because of the trailing comma. A top-level string, number, boolean or null can also be valid JSON; the root does not have to be an object.

Limits and troubleshooting

This checks syntax only. It does not fetch schemas, enforce required fields, reject duplicate names or prove that an API accepts the value. Error wording depends on the browser. Input is parsed without evaluating JavaScript. Limit: 200,000 characters.

Frequently asked questions

Why was a JavaScript object literal rejected?

JSON requires double-quoted property names and strings. Functions, undefined, comments and trailing commas are not JSON.

Can I validate against a JSON Schema?

Not in this version. Schema validation is separate from successful parsing. Use JSON Formatter if you also want an indented copy for inspection.

Reference

RFC 8259 defines the JSON syntax checked here.