About JSON Validator
Check whether a piece of JSON is valid under the strict standard and learn exactly where it is wrong. When something is broken, the validator gives a line and column plus a plain explanation such as a trailing comma, missing quote or unclosed bracket. It works the same in every browser.
How to use JSON Validator
- Paste your JSON.
- Read the valid or invalid verdict.
- If invalid, jump to the reported line and column.
- Fix the problem and validate again.
Tips and good to know
- Strict JSON forbids comments, single quotes and trailing commas.
- Very large integers lose precision in JavaScript; you will see a heads-up if that applies.
- Valid JSON is not necessarily the shape your application expects.
Syntax vs data validation
Valid JSON only means the syntax is correct. Whether the data is what your program expects (the right fields, types and value ranges) is a separate check, usually done with a JSON Schema or code. Many API bugs come from valid JSON with a missing or misspelled field.
The most common JSON errors
Almost every invalid JSON file fails for one of a handful of reasons: a trailing comma after the last item, single quotes instead of double quotes, keys without quotes, comments (which JSON does not allow), or a missing closing bracket. Copying from JavaScript code is a frequent cause, because JavaScript object syntax accepts all of these while strict JSON does not.
Special values are another trap: NaN, Infinity and undefined are not valid JSON, and dates have no special type — they are just strings, usually in ISO 8601 format such as “2026-11-17T10:30:00Z”.
Validation versus schema validation
Checking that text is valid JSON only confirms the syntax. It does not check that the data has the right shape, such as a required “email” field or a number within a range. That second kind of check is done with JSON Schema.
Frequently asked questions
Does it validate against a schema?
No. It checks syntax only, not JSON Schema rules.
Is JSON Validator free?
Yes. JSON Validator is 100% free: no sign-up, no paid plan, no trial and no limit on how often you use it. It runs in your browser, and ToolzAura is paid for by ads, so every tool stays free.
Are my files uploaded?
No. This tool runs in your browser, so your input stays on your device.