Messy JSON in. Clean JSON out.
Paste any JSON — an API response, a config file, something copied out of a log — and get it back neatly formatted and checked. If it's broken, you get the exact line and column of the problem and a plain-English explanation of what's wrong. It formats live as you type.
Try an example:
Formatted
Your formatted JSON will appear here.
JSON in 30 seconds
Double quotes onlyKeys and strings are wrapped in
"…" — never single quotes, and keys are never left bare.No trailing commasThe last item in an object or array takes no comma after it.
{"a": 1,} is invalid.Commas between itemsEvery pair of items is separated by exactly one comma — no missing commas, no doubles.
No commentsJSON has no
// or /* */ comments. If you need notes, they live outside the file.true, false, null — lowercaseThese three are the only bare words allowed, and only in lowercase.
True or NULL will fail.
Everything else is structure: objects in { } with "key": value pairs,
arrays in [ ], numbers written plainly like 42 or -3.5.
That's the whole format — five rules and two kinds of bracket.