Paste or drop
Text, a .json file, or a URL response you pasted. Large files are parsed in a worker.
Developer
Paste or drop JSON of any size. Errors are reported with line and column and the offending text; valid JSON can be pretty-printed with a chosen indent, minified, sorted by key, viewed as a collapsible tree with copyable paths, and queried with a dotted path or a simple JSONPath expression.
Loading the tool…
Text, a .json file, or a URL response you pasted. Large files are parsed in a worker.
The error message names the position; common mistakes (trailing commas, single quotes, comments) can be auto-repaired with one click, and the repair is shown.
Tree view with paths, a query box, and download or copy of the result.
Trailing commas, single-quoted strings, unquoted keys, // and /* */ comments, NaN and Infinity. Each repair is listed so you know what changed.
Click any tree node to copy its path in dot notation and in JSONPath; the query box accepts both.
Tens of megabytes format fine; the tree view virtualises rows so 100k-element arrays stay responsive.
Yes unless you choose sort keys; numbers keep their original text where possible so 1.10 does not become 1.1.
Use the Diff Checker with JSON mode, which normalises formatting before comparing.
No; the page does all the work.