Skip to content
Devtoolry

JSON Viewer

View JSON online as a collapsible tree with value types, item counts and copyable paths. Explore large API responses without scrolling through raw text.

Runs in your browser · Nothing uploadedFree · No sign-up

Something not working, or missing a feature? Send feedback

About the JSON Viewer

Large JSON documents are easier to understand as a tree. The JSON Viewer shows every object and array as a collapsible node with its type and size, and lets you copy the path to any value.

Everything runs in your browser, so your input is never uploaded to a server.

How to use the JSON Viewer

  1. Paste JSON or open a file.
  2. Expand and collapse nodes to explore the structure.
  3. Copy a value or its path (for example data.items[0].id) for use in code.

Common mistakes

  • Pasting JavaScript instead of JSON. Objects copied from code often have single quotes, unquoted keys or trailing commas. The viewer then shows "Invalid JSON" with the position; fix the input in the JSON Formatter.
  • Paths with unusual keys. Keys with spaces, dashes or dots cannot be written with dot notation. Copied paths use bracket notation for them, such as data["first-name"], so paste them as they are.
  • Expanding everything in a huge file. "Expand all" on a document with tens of thousands of nodes renders all of them at once. Expand the branches you need instead.

Works well with the JSON Viewer

Frequently asked questions

How large a file can it open?

Files of several megabytes work well, since nothing is uploaded and nodes are only rendered when expanded.

What path format is copied?

JavaScript-style access paths, such as user.addresses[1].city, ready to paste into code or a query.

Is my JSON uploaded?

No. It is parsed and rendered in your browser, so API responses with personal data stay on your device.

Can I see item counts?

Yes. Every object and array node shows how many keys or items it has, so you can spot empty or unexpectedly large branches without expanding them.

Guides and tutorials