Skip to content

JSON Validator

Check for syntax errors and validate against RFC 8259 standards instantly.

Input JSON

Validation Result

About the JSON Validator

Check whether your JSON is valid according to the JSON specification (RFC 8259). If it isn't, you'll see the line and column where parsing failed.

How to use it

  1. Paste the JSON you want to check, or upload a file.
  2. The validator checks it instantly as you type and highlights the line with the first error.
  3. Read what happened and what to try, then press Jump to Error or Auto-Repair to fix it.

Frequently asked questions

What are the most common JSON errors?

Trailing commas after the last item, single quotes instead of double quotes, unquoted keys, comments, and unescaped control characters inside strings. None of these are allowed in standard JSON.

Can JSON contain comments?

No. Standard JSON does not support comments. Formats like JSON5 or JSONC allow them, but a strict JSON parser will reject them.

Is a single number or string valid JSON?

Yes. Since RFC 7159, any JSON value (including a bare string, number, true, false or null) is valid at the top level.

Related tools