# JSON Viewer

> Open a JSON file or paste JSON to explore it as a collapsible tree with types and item counts. Errors point to the exact position. Nothing is uploaded.

- URL: https://www.tooljig.com/json-viewer
- Category: [File viewers](https://www.tooljig.com/category/viewers.md)
- Runs: In the browser; nothing uploaded
- Price: free, no account needed

## What it does

Drop a JSON file or paste JSON to browse it as a tree: expand only the parts you need, see the type of each value and how many items each array or object holds. Invalid JSON is reported with the position of the problem. Nothing is uploaded: the file is opened by your browser straight from your disk, read only as far as the preview needs, and forgotten when you close the tab.

## How to use it

1. Drop a .json file, or paste JSON with Ctrl/Cmd + V.
2. Click objects and arrays to expand or collapse them.
3. Use the JSON Formatter if you want to reformat or minify it.

## Good to know

- Nodes are built only when you expand them, so large files stay responsive.
- Files over 2 MB are previewed from their start, which may cut the JSON off; the viewer says so.

## FAQ

### Is my JSON sent anywhere?

No. It is parsed by your browser's built-in JSON parser on your device.

### What's the difference from the JSON Formatter?

The viewer is for reading and exploring; the formatter rewrites the text with indentation, sorted keys or minified output.

## Related tools

- [JSON Formatter](https://www.tooljig.com/json-formatter.md): Format, validate and minify JSON with clear error messages that point to the line and column. Runs entirely in your browser.
- [JSON to CSV](https://www.tooljig.com/json-to-csv.md): Flatten JSON arrays into spreadsheet-ready CSV.
- [JSON to YAML](https://www.tooljig.com/json-to-yaml.md): Convert JSON documents into readable YAML.
