GoWebTools

JSON Validator

Validate JSON and get the exact line, column and cause of the error. Shows a structure summary when the document is valid. Free online JSON validator.

Input

Result

The result appears here as you type.

What this tool is for

The point of a validator is the error message. When a document fails, you get the line and column, the character that broke it, and the surrounding text highlighted, which is faster than reading a browser console message that stops at "unexpected token".

How to use it

  1. Paste the JSON document.
  2. Read the verdict: valid, with a summary of keys and depth, or invalid with the exact position of the problem.
  3. Fix and re-check as you type.

Frequently asked questions

Does it validate against a JSON Schema?

No, this checks syntax: whether the document parses at all. Schema validation checks a parsed document against rules about which fields must exist and what types they hold, which is a separate step.

Are comments allowed in JSON?

Not in standard JSON. Formats like JSONC and JSON5 allow them, but a strict parser will reject a comment, which is why a config file that works in your editor can fail in production.