JSON Formatter
Beautify, minify, sort keys, and validate JSON with positional errors.
Paste JSON to beautify, minify, sort its keys, or browse it as a collapsible tree.
Try
Raw input
The JSON to format
Output
Beautified
Formatted JSON will appear here.
About
The document is parsed, optionally rebuilt with sorted keys, and re-serialised — so invalid JSON is rejected rather than passed through.