Input
Developer utility
JSON Formatter
Validate, format, minify and inspect JSON locally with readable output, tree view, path table and parser feedback.
Paste JSON to validate, format, minify and inspect structure.
Size0 B
Depth0
Keys0
Items0
Output
Formatted or minified JSON
Tree view
JSON structure
Paths
Key paths and value types
| # | Path | Type | Preview |
|---|
Examples
Common JSON samples
JSON quick reference
| Value | Valid JSON example | Notes |
|---|---|---|
| Object | {"name":"Ada"} | Keys require double quotes. |
| Array | [1,2,3] | Values are ordered. |
| String | "hello" | Strings use double quotes. |
| Number | 42 | Numbers do not use quotes. |
| Boolean | true | Use lowercase true or false. |
| Null | null | Use lowercase null. |
JSON formatter FAQ
Does this formatter upload JSON?
No. Parsing and formatting happen locally.
Can it fix invalid JSON automatically?
No. It reports syntax errors without guessing changes.
Can I minify after formatting?
Yes. Both actions parse the current input.
What does sorting keys do?
It recursively sorts object keys and changes property order.