JSON viewer

Paste valid JSON to view it as a structured, indented document.

JSON viewer

Your data stays in your browser.

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

  1. The text is parsed as JSON.
  2. Whitespace is arranged with two-space indentation.
  3. 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.

Updated October 11, 2026

Indicative result. For an important decision, check with a professional.