Format an object with an array
Input
{"name":"Ada","tags":["tools","code"]}Result
{
"name": "Ada",
"tags": [
"tools",
"code"
]
}Paste a JSON document to check its syntax and format it with two-space indentation. Inspect nested objects and arrays, then copy the formatted result into an editor, a bug report, or your API notes.
Input
{"name":"Ada","tags":["tools","code"]}Result
{
"name": "Ada",
"tags": [
"tools",
"code"
]
}Expand a compact response into readable lines so you can follow object nesting and array contents.
Catch JSON syntax problems such as missing quotes or trailing commas before using a configuration. This is a syntax check, not schema validation.
The formatter uses JavaScript JSON.parse and JSON.stringify. Large integers may lose precision; use strings for exact identifiers. Duplicate object keys are not preserved. Comments, trailing commas, JSON5, and JSON Schema validation are not supported.
No. Parsing and formatting run in your browser. The tool does not send the input to a processing server.
JSON requires double-quoted property names and strings, and does not allow comments or trailing commas. Review the displayed parser message and check the surrounding syntax.
No. It checks JSON syntax only. A syntactically valid document can still fail your API or application schema.
Not always. JavaScript numbers cannot represent all large integers exactly. Keep exact IDs and other precision-sensitive values as quoted strings, and retain your original input.
Words, characters, and reading time. All accounted for.
Encode or decode text, right here in your browser.