Format without guessing a repair
JSON uses double quotes around keys and strings. It does not allow comments or trailing commas. Format and Minify keep the original number tokens, including large integer IDs, instead of parsing them into rounded JavaScript numbers.
Worked example
{"arms":8,"active":true} formats into an object with two properties. A trailing comma after true is an error, not an instruction to remove data.
Before you rely on the result
Duplicate keys are kept in the text; downstream parsers may keep only the last value. This is syntax validation, not validation against a JSON Schema. Formatting runs separately from the page so large inputs do not block typing.
Help with the result
Cite this page
ToolOctopus. “JSON formatter.” Updated . https://tooloctopus.com/json-formatter.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.