JSON Validator

Is it valid JSON? Paste it and see right away — and if not, exactly where and why, in plain English.

How to validate JSON

  1. Paste the JSON or drop a .json file.
  2. A green line means it is valid, with the number of keys and how deeply it is nested.
  3. If not, you see the line, the column and what's wrong. Click Show the error to jump there.

The most common JSON errors

Valid JSON, nicely formatted

Once it is valid you also get the formatted version, ready to copy. Want the smallest version for an API call or config value? Minify JSON.

Private by design

The JSON never leaves your browser. Paste API responses with tokens or customer data without sending them to a server.

Reading the error

The line and column point at the first character that can't be valid at that spot. The real mistake is often just before it: a missing comma at the end of the previous line, or a quote that was never closed. Click Show the error and look one line up first.

Validate API responses and config files

Frequently asked questions

How do I check if JSON is valid?

Paste it here: you see "Valid JSON" or the exact line and column of the problem.

Why is a trailing comma an error?

The JSON standard doesn’t allow it, even though JavaScript does. Remove it, or tick Allow comments and trailing commas.

Can it validate large files?

Yes, files of tens of MB are checked in your browser.

Is my JSON uploaded?

No.

Why is my JSON valid in JavaScript but not here?

JavaScript accepts single quotes, unquoted keys and trailing commas; the JSON standard does not.

Does it check a JSON schema?

No — it checks that the text is valid JSON, not that it matches a schema.

Runs entirely in your browser, powered by a JSON parser built for this site that keeps numbers exact. Built and tested by Diego Callegari · how we test · updated 26 October 2026.