JSON Tree Viewer
Visualize JSON as an interactive collapsible tree with type highlighting.
About this tool
Paste any JSON into the input and see it rendered as a fully interactive collapsible tree. Each node can be expanded or collapsed with a click. Values are color-coded by data type: strings in green, numbers in blue, booleans in orange, null in gray, arrays in purple, and objects in the default text color. Hover over any node to see its full dot-notation path in a breadcrumb below the tree. Click any primitive value to copy it to your clipboard. Arrays and objects show their element count. All processing happens in the browser — no JSON is sent to any server.
How to use
- 1 Paste your JSON into the textarea on the left.
- 2 The tree view renders automatically on the right.
- 3 Click the arrow next to any object or array to collapse or expand it.
- 4 Hover over a node to see its JSON path in the breadcrumb bar.
- 5 Click a primitive value (string, number, boolean, null) to copy it.
- 6 Use Expand All or Collapse All to quickly adjust the entire tree.
Frequently Asked Questions
Format, validate, and minify JSON — with syntax error pinpointing.
Format, validate, and explore JSON with syntax highlighting, JSONPath browser, tree collapse, and schema inference.
Format, validate, and minify XML with syntax highlighting.
Validate YAML syntax and convert it to formatted JSON — entirely in your browser.
Convert CSV data to JSON and JSON arrays back to CSV — with delimiter options and live preview.