JSON Validator

Your text never leaves your browser — everything runs on your device.

Paste JSON and find out instantly whether it is valid. If it is not, the validator shows the exact line and column of the error so you know precisely what to fix. Valid JSON is shown as a formatted preview, including its root type — object, array, string, number or boolean. Free, no signup, and your text never leaves your browser.

Frequently asked questions

What makes JSON invalid?

The most common problems are trailing commas, single quotes instead of double quotes, missing quotes around keys, unclosed brackets or braces, and comments — plain JSON does not allow comments. The validator pinpoints the first problem it finds.

Is my JSON uploaded anywhere?

No. Validation happens entirely in your browser. Nothing you paste is sent to a server, stored or logged.

What is the difference between the JSON validator and the JSON formatter?

The validator answers one question — is this JSON valid, and if not, where does it break? The formatter also rearranges valid JSON with indentation, minifies it, and can convert it to CSV.

Can I validate a JSON array?

Yes. Arrays, objects, strings, numbers, booleans and null are all valid JSON. The validator tells you the root type of whatever you paste.