Validate JSON, and see what is wrong with it
A JSON validator checks whether a document follows the syntax rules of RFC 8259 — the quoting, the commas, the brackets — and tells you where it does not. This one parses in your browser as you type, names the line and column of every problem it finds, and can hand you a repaired copy. Your JSON is never uploaded.
Most JSON you have to debug arrives broken from somewhere else: an API response cut off halfway, a config file someone hand-edited, an object copied out of JavaScript where the rules are looser. JSON.parse will tell you that it failed and give you one position; it will not tell you that there are seven other things wrong, or that the same key is set twice.
Paste your JSON, or open a local file. The report gives you the verdict, the nesting depth, how many keys there are and how many are set twice, a breakdown of the values by type, and the size. Under the panes, a problem list names every issue with the line and column it is on — click one and the editor selects that line.
Well-formed is not the same as correct. A document can pass every check here and still carry the wrong price, a misspelled key your code never reads, or a missing field that matters. This checks the syntax; the meaning is yours and your schema's.
As with every tool here, privacy is the point. Parsing, repair and highlighting all happen in your browser — there is no server, no upload, no logging. That matters more here than on most pages, because the JSON people need to validate is usually a real request or response body: API keys, tokens, customer records. Once the page has loaded it keeps working offline.
For pretty-printing valid JSON see the JSON Formatter, and for shrinking it the JSON Minifier. To go between formats there is CSV to JSON and JSON to CSV; to read a token's payload, the JWT Decoder.