JSON Validator — Check JSON Syntax and Find Errors

Check JSON syntax and locate parsing errors. Validate pasted text or local files without uploading your data.

JSON ValidatorLocal processing · No upload · 20 MiB per input

How to use JSON Validator

Paste the complete JSON document and choose Validate JSON. Read the result, correct the indicated line and column if an error is found, then validate again.

JSON Validator rules and limits

Checks JSON syntax and rejects duplicate keys. It does not check JSON Schema, business rules or whether referenced URLs exist. Comments, single-quoted strings, NaN and trailing commas are not accepted.

Each input is limited to 20 MiB of UTF-8 text and 128 nesting levels. Processing runs in your browser with a 30-second timeout and no cloud fallback. A recent browser with Web Workers is required. Files and pasted text are never uploaded or saved to browser storage.

Example

{"active":true,} → rejected because JSON does not allow a trailing comma.

JSON Validator FAQ

Does this validate against a JSON Schema?

No. This page checks document syntax and duplicate keys. It does not enforce required properties, field types or a custom schema.

Why is my JavaScript object rejected?

JSON requires double-quoted property names and strings. JavaScript features such as undefined, comments and trailing commas are not valid JSON.

Can a JSON document contain just a number or null?

Yes. A valid JSON document can be an object, array, string, number, boolean or null.