JSON Formatter Inspector
JSON Formatter Inspector is a free developer tool that runs directly in your browser with no account required.
About this tool
Paste JSON into this formatter to pretty-print or minify it while getting a structural inspection at the same time. Beyond reformatting, it reports depth, type counts, and a path table for up to 80 nodes, and it pinpoints the line and column of parse errors. Both the formatted output and a JSON inspection report can be downloaded.
How to use
- Paste your document into the JSON input field.
- Choose Pretty print or Minify in the Mode dropdown.
- Review the metrics, formatted output, and the path table showing each node's type and preview.
- Use Download formatted JSON or Download inspection report to save the results.
Frequently asked questions
What does the inspection report contain?
It is a JSON file with the document summary (type, top-level size, depth), counts of objects, arrays, and scalar values, the total path count, and up to 80 sample paths in dot/bracket notation such as $.items[0].name.
How are syntax errors reported?
When parsing fails, the tool shows the parser's error message plus the line, column, and character position when the browser reports one, so you can jump straight to the broken quote or comma.
Does minify change my data?
No. Minify only removes whitespace between tokens; keys, values, and ordering as produced by JSON.stringify are otherwise unchanged.
Is there a size limit on the input?
There is no hard limit in the tool itself. Very large documents are bounded only by your browser's memory, though the path table always caps at the first 80 paths.
Does it support JSON5 or comments?
No. It uses the browser's strict JSON.parse, so comments, trailing commas, and unquoted keys are rejected as invalid.
Is my JSON uploaded anywhere?
No. Parsing, formatting, and report generation all run in your browser with JavaScript. Nothing you paste is sent to a server.