JSON Tree Viewer - Visualise JSON Structure Online
Explore JSON as a Tree
Paste JSON on the left and it is drawn as a tree on the right. Objects
and arrays are nodes you can open and close, and strings, numbers,
booleans and null are coloured differently so you can scan for the
type you want. Each node shows its type, and collapsed nodes show
their size, so orders with "250 items" stands out next to
meta with "3 keys".
When a Tree Beats Formatted Text
Formatted JSON is fine until a response is a few hundred lines long.
Then the structure you care about is spread over several screens, and
it is hard to tell whether address belongs to the
customer or to the shipment. In the tree you collapse the branches you
do not need and keep the parent visible. Typical cases are paginated
API responses where the data sits under
data.items, Terraform state files, Elasticsearch
results, and NoSQL documents with arrays nested inside arrays.
Copy Paths for Code
Every key copies its full path when clicked, in the same JSONPath
format used by the JSON path finder:
$.data.items[0].price.amount. Remove the
$ for jq, or replace it with your variable name in
JavaScript. If you need the data as indented text instead, use the
JSON formatter, and to check a
document that will not load, use the
JSON validator.
Related Tools
JSON Formatter & Beautifier
Format and beautify JSON with customisable indentation and syntax highlighting.
JSON Validator
Validate JSON syntax and get clear, human-readable error messages.
JSON Minifier
Minify JSON by removing all unnecessary whitespace for smaller payloads.
JSON Path Finder
Click any value in a JSON document to get its path expression.