Dev
JSON Formatter
Beautify, minify, and validate JSON instantly.
Loading tool…
About this tool
Paste raw JSON and format it with proper indentation, or minify it to one line. Errors are reported with line and column. Runs entirely in your browser.
Frequently asked questions
Does it send my JSON to a server?
No. Parsing happens via JSON.parse locally in your browser.
What indentation is used?
Two spaces by default. You can switch to four spaces or tab.