JSON Validator

Check JSON for errors and, if you need to, against a JSON Schema.

Files never leave your device — everything runs in your browser

Is this JSON valid, and if not, where exactly is it broken? The validator answers in a second: it shows the line and column, highlights the character and explains the problem in plain language — a trailing comma after the last item, single quotes instead of double, a missing quote, a comment that JSON does not allow.

Most of these slips can be fixed automatically: the validator re-reads the text in relaxed JSON5 mode, writes strict JSON and warns that the file was changed. So you can quickly repair JSON copied from code, a config or a chat.

Paste a JSON Schema into the second box to check the structure too: required fields, types, allowed values, string formats such as email and date. Every issue is listed with its path, for example $.items[3].price, and a message saying what is wrong.

Nothing is uploaded: parsing and conversion run inside your browser, so API responses, CRM exports and files with personal data stay on your device.

What the validator checks

How to validate JSON in 3 steps

  1. 1

    Load the JSON

    A file, pasted text or the Sample.

  2. 2

    Add a schema if needed

    Paste the JSON Schema to check fields and types.

  3. 3

    Read the result

    Errors with line and column, or a list of schema issues with paths.

Frequently asked questions

Paste the text or load the file. A green banner means it is valid; otherwise you see the line and column of the error.
A description of the expected structure: which fields are required and which types and values are allowed. It is itself written in JSON.
Common slips — trailing commas, single quotes, comments — yes, with the Auto-fix button.
No, validation runs in your browser.

Related tools