JSON Formatter
JSON Formatter is a free online JSON toolkit for developers: paste raw JSON to validate it, prettify or minify it, explore it as an expandable tree, and query it with JSONPath. Everything runs in your browser — your data is never uploaded.
Input
Output
Good to know
- Private by design. Parsing, formatting, and queries all run locally in JavaScript — paste production payloads without worry.
- JSONPath cheatsheet:
$.a.bnested key,$.a[0]array index,$.a[*]all items,$..keyrecursive search,$["weird key"]quoted keys. - Unescape handles JSON pasted as an escaped string (e.g.
"{\"a\": 1}") or URL-encoded — one click to get the real document. - Errors report the exact line and column, and the offending line is highlighted in the gutter.