Tool
JSON Formatter and Validator
Format and validate JSON in your browser. Invalid JSON shows the parser message instead of a rewritten document.
Limitations. This uses the built-in JSON parser. It does not send the document anywhere. Comments and trailing commas are invalid JSON.
How to use it
Paste JSON, then Format. Example loads a small object. Clear resets both boxes.