JSON

JSON Validator

Paste JSON to check it's syntactically valid, with precise error locations for anything that's broken. Runs entirely in your browser.

Did this tool save you some time? A quick testimonial helps a lot.

Share your experience

About this JSON Validator

Paste JSON to check it's syntactically valid, with precise error locations for anything that's broken. Runs entirely in your browser. Common questions — like will this fix invalid json automatically — are answered in the FAQ below.

Usage and privacy

How to use it

Add your input to the workspace above, review the result, then copy or download it when it's ready. No account or installation is required.

Private by design

JSON Validator runs in your browser, so the information you enter stays on your device instead of being uploaded to a server.

JSON Validator examples

A few worked examples so you know what to expect before you paste in your own input.

Invalid JSON (trailing comma)

Input

{"name": "Ada", "active": true,}

Output

Error: trailing comma after "true" — remove it before the closing brace.
Invalid JSON (unclosed brace)

Input

{"name": "Ada", "active": true

Output

Error: Unexpected end of JSON input — missing closing "}".
Valid JSON

Input

{"id": 1, "tags": ["a", "b"]}

Output

Valid JSON — no errors found.

Frequently Asked Questions

Related Tools