Browser tool
JSON Formatter
Paste JSON to check that it parses, then pretty-print or minify it. Invalid input is reported with the line and column where parsing stopped.
Paste JSON above, then choose Format or Minify.
Result
No output yet
What changes in the output
Formatting changes whitespace only. Minifying removes it. Key order is kept as parsed, except that keys which look like array indexes are listed first, as they are in JavaScript objects. Duplicate keys in the input keep the last value.
Numbers and comments
JSON numbers are held as JavaScript numbers, so integers beyond 253 lose precision and are written back rounded. Comments and trailing commas are not valid JSON and are reported as errors rather than removed.
Formatter, beautifier, or validator
All three names describe this page. Formatting and beautifying add indentation so the structure is readable; validating parses the text and reports the first syntax error with its line and column. It is not a linter: it checks that the JSON parses, not style rules such as key naming or ordering.
Related tools
The next step in the same task — and still nothing leaves this browser.