When to use it
When one-line JSON is unreadable, or when you want to check that a file is valid. Paste it in and it's indented cleanly — any mistake is flagged with the exact line and column.
How it works
Paste on the left and the right updates live. Pick an indent width at the top, or "Minify" to collapse to a single line. Turn on "Sort keys" to get a consistent order.
Common mistakes
- Stray commas — missing one, or leaving one trailing on the last item. The most common error.
- Unbalanced brackets —
{or[opened but not closed. - Single quotes — JSON only accepts double quotes.
'hello'→"hello". - Literal newline in a string — use
\n, not an actual Enter keystroke. - Two top-level objects — wrap them in an array, or confirm you meant JSON Lines.
Where does your input go?
The JSON you paste never leaves this page. All formatting and validation runs in your browser, with no local storage. Close the tab and it's gone.