View & Query · Runs in your browser

JSON Viewer

Explore large or deeply nested JSON as a collapsible tree. See the size of every object and array at a glance.

Paste or upload JSON to explore it as a tree.

Drop your JSON file to load it
Waiting for input1 line0 B

Ctrl Enter ValidateCtrl Shift F FormatCtrl Shift M MinifyCtrl Z Undo

How to use it

  1. Paste JSON into the Code tab, upload a file, or drag one onto the viewer.
  2. Switch to the Tree tab to explore it. Click any object or array to expand or collapse it.
  3. Each node shows how many keys or items it contains, so you can find your way around quickly.

Large files

Children are only rendered when you open a node, and big arrays load in batches of 300, so even large documents stay responsive.

Colour-coded values

Strings, numbers, booleans and null each have their own colour, in both light and dark mode.

Edit and explore

Switch back to Code at any time to edit. The tree updates as soon as the JSON is valid again.