JSON
Check JSON syntax instantly — precise error location plus a quick structural summary of your document.
Your JSON is parsed locally in your browser. Nothing is uploaded, logged, or stored.
JSON has a strict, minimal grammar: strings must use double quotes, keys must be strings, trailing commas are forbidden, and the only literals are true, false, and null. Most broken payloads fail on one of these rules — a single quote here, a trailing comma there, an unquoted key copied from JavaScript.
This validator parses your input with a strict JSON parser and, on failure, converts the reported character position into line and column numbers so you can jump straight to the problem. On success it walks the parsed value and summarizes it: the top-level type, the total number of object keys, and the maximum nesting depth — a handy sanity check before you wire the data into an API or test.
Need more than a check? The JSON Formatter & Validator also pretty-prints and minifies, the JSON Diff compares two documents, and the XML Validator does the same job for XML.
Paste a request body before sending it — catch trailing commas and unquoted keys before they become a 400 response.
Validate package metadata, environment exports, or any JSON config after a manual edit.
The valid-summary shows the top-level type, key count, and depth, so you can gauge an unfamiliar document at a glance.
Format, minify, and validate JSON with precise error location. Runs entirely in your browser.
Compare two JSON documents and see every added, removed, and changed value by path.
Explore JSON as a collapsible tree with syntax highlighting — great for large API responses.
Edit JSON with live validation, statistics, and one-click format or minify while you type.
Looking for something else? Browse all tools