Format & Beautify
Turn one-line JSON into a readable, indented layout (2 spaces / 4 spaces / Tab). Enable "Sort keys" to order object properties alphabetically — handy for diffs.
A free JSON validator, formatter and minifier — no sign-up required. All processing runs locally in your browser, so your data never leaves your device.
Turn one-line JSON into a readable, indented layout (2 spaces / 4 spaces / Tab). Enable "Sort keys" to order object properties alphabetically — handy for diffs.
Input is validated as you type. On a syntax error, the status bar shows the exact line, column and reason (e.g. trailing comma, unclosed quote). Click the message to jump to the error.
"Minify" strips whitespace for the smallest payload; "Escape / Unescape" and "Unicode" tools handle string conversions. The output tabs turn JSON into a Tree view, XML, YAML, CSV, TOML, Properties or Markdown in one click.
{} braces denote an object of key-value pairs; keys must use double quotes;[] brackets denote an array of ordered values;: separates keys from values, , separates elements — no trailing comma after the last element;true/false), null, object and array.JSON formatting re-indents a compressed or messy JSON string so its structure becomes easy to read and debug.
The tool pinpoints the exact line and column of the error with a human-readable reason (e.g. missing comma, unclosed quote). Fix the text at that position and try again.
No. All formatting and validation runs locally in your browser. Nothing is transmitted over the network, so it is safe for sensitive data.