Paste your JSON below and click "Format" to beautify it.
About this tool
Beautifies minified or inconsistently-indented JSON into clean, readable, indented output — useful when debugging an API response or reading a config file that's been minified for production. Formatting runs locally in your browser.
Frequently asked questions
Does formatting change the data, or just the whitespace?
Only whitespace and indentation change — keys, values, and their order are preserved exactly as parsed. If you need keys reordered or filtered, that's a different operation this tool doesn't do.
Will this fix invalid JSON for me?
No — formatting requires the JSON to already be syntactically valid. If it isn't, use the JSON Validator first to find and fix the specific error.