Format and validate JSON without changing its data
Use the formatter to make compact JSON readable, locate syntax failures, and inspect nested arrays and objects. Formatting changes whitespace only; it does not rename keys or coerce values.
Example input
{"user":{"id":42,"roles":["editor","reviewer"]},"active":true}Expected output
{
"user": {
"id": 42,
"roles": ["editor", "reviewer"]
},
"active": true
}Behavior
- Accepts JSON objects, arrays, strings, numbers, booleans, and null.
- Preserves Unicode text and the order in which object keys were supplied.
- Tree view is intended for inspection; text view is the exact formatted result to copy.
Limits and edge cases
- Comments and trailing commas are not valid JSON.
- Very deeply nested or extremely large documents remain limited by browser memory.
- Formatting validates syntax, not whether values match an application schema.
Processing note: tool input stays in the browser. Readme.now analytics records page usage, not the payload you paste or the generated output.
Authoritative reference: ECMA-404: The JSON data interchange syntax