JSON viewer
Paste valid JSON to view it as a structured, indented document.
Result
Formatted JSON
{1 item}
"user":{2 items}
"name":"Ada"
"roles":[2 items]
0:"admin"
1:"editor"
- Value type
- object
- Top-level items
- 1
How it is calculated
- The text is parsed as JSON.
- Whitespace is arranged with two-space indentation.
- Values and their order are preserved.
Example
{"user":{"name":"Ada","roles":["admin","editor"]}}
Good to know
- Only valid JSON can be displayed.
- Objects and arrays can be expanded or collapsed in the tree.
Frequently asked questions
What is this tool used for?
Paste valid JSON to view it as a structured, indented document.
How is the result calculated?
The text is parsed as JSON.
What should I check before using the result?
Only valid JSON can be displayed.