JSON Beautifier
Paste messy JSON, pick an indent, copy clean output. Errors show line and column.
Strip indentation and line breaks out of JSON and watch the byte count drop as you type. Keys, values and order stay put.
Paste or type to begin. Everything runs in your browser.
How it works
Paste JSON, drop a .json file onto the input, or load the sample.
Whitespace is removed as you type. Syntax errors show their line and column.
Check the saving under the editor, then copy or download the result.
FAQ
Yes. Whitespace between tokens is optional in JSON, so the output parses to exactly the same data.
Paste it into the JSON Beautifier.
Missing something?
Describe the job and the file types involved. The most requested tools get built first.