# JSON Viewer

> Explore JSON as a collapsible tree. Runs entirely in your browser — nothing you paste is sent anywhere.

Source: https://toffeekit.com/tools/json-viewer

**Category:** [Data](https://toffeekit.com/category/data) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/json-viewer

**Also useful for:** json, viewer, tree, explore

## How it works

1. Paste your JSON into the JSON box on the left.
2. Browse the Tree on the right. Click a node's arrow to open or close it.
3. Use Expand all or Collapse to change every node at once.
4. Click Save to download a pretty-printed data.json, or Copy to copy the input.

## FAQ

### How do I view JSON as a tree?

Paste it into the left box. The Tree panel shows objects and arrays you can open and close, with the first two levels expanded by default.

### How do I expand everything in a large JSON file?

Click Expand all in the Tree panel. Collapse folds it back to the first level.

### What do the numbers in braces and brackets mean?

They show how many items a node holds. {3} is an object with three keys and [5] is an array with five items.

### Why is nothing showing in the tree?

The JSON is invalid, and the error is shown in red instead. Use the JSON Formatter to see the exact line and column of the problem.

### How are different value types shown?

Strings, numbers and other values like true and null are each coloured differently, so the types are easy to tell apart.

### Is JSON Viewer free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so your files are processed on your device and never uploaded. It works on phones and computers alike.

## Privacy

JSON Viewer runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [CSV to JSON](https://toffeekit.com/tools/csv-to-json) — Turn CSV rows into JSON objects.
- [JSON to CSV](https://toffeekit.com/tools/json-to-csv) — Flatten JSON into a CSV you can open in Excel.
- [XML ⇄ JSON](https://toffeekit.com/tools/xml-json-converter) — Convert XML to JSON and back.
- [CSV Cleaner](https://toffeekit.com/tools/csv-cleaner) — Trim cells, drop empty rows, remove duplicates.
- [Delimiter Converter](https://toffeekit.com/tools/csv-delimiter-converter) — Switch between comma, semicolon, tab and pipe.
- [CSV Viewer](https://toffeekit.com/tools/csv-viewer) — Open a CSV as a sortable, searchable table.

