JSON Viewer

Explore JSON as a collapsible tree with search and copy-path.

Result

{4}
name: "Superwebkit"
tools: [2]
private: true
price: 0
  • Hover a row and press Path to copy its path, like $.tools[0].id. Numbers beyond JavaScript precision are shown rounded here; use the formatter to keep them exact.

What is a JSON viewer?

A JSON viewer shows JSON as a tree instead of a block of text. You can open and close objects and arrays, so a large API response becomes something you can explore one branch at a time.

Each row shows a key and its value, and you can copy the path to any row. In the sample data, the path to the first tool's id is $.tools[0].id. The tool checks the JSON first, and reports the line and column if it is invalid.

How to use the JSON Viewer

  1. Paste your JSON on the left.
  2. Open and close branches with the arrows.
  3. Search for a key or value.
  4. Hover a row and press Path to copy its path.

Real situations

When people use the JSON Viewer

  • 1

    Explore a big API response

    Collapse the parts you do not need and open only the branch you want, instead of scrolling through thousands of lines.

  • 2

    Find a value by search

    Search for a key or value to jump to it in a deeply nested object.

  • 3

    Copy a path for code

    Hover a row and press Path to copy something like $.tools[0].id, to use in code, a query tool or a bug report.

  • 4

    Learn an unfamiliar data shape

    Before writing code against a response, see its structure, such as which fields are arrays and which are objects.

Good to know

  • The viewer shows large numbers rounded. Use the formatter if you need exact digits.
  • If the JSON is invalid, fix the line it names first.

FAQ

JSON Viewer: questions answered

How do I read deeply nested JSON?

Collapse everything, then open one level at a time. A tree shows which items are objects and which are arrays, and you can search to jump to the key you want.

What does the copied path look like?

It uses a dollar sign for the root, dots for keys and square brackets for array positions, which count from zero. In the sample, $.tools[0].id is the id of the first item in tools.

Does the viewer change my JSON?

No. It only displays it. If you need to edit or clean it up, use the formatter or minifier.

Why does a very long number look different here?

The viewer reads numbers as JavaScript does, so numbers beyond about 15 or 16 digits can show rounded. The formatter keeps them exactly as written.

Can I view JSON that has errors?

No, it needs valid JSON. The tool reports the line and column of the first problem so you can fix it and view again.

What is the difference between this and the formatter?

The formatter gives you text with indentation to copy or download. The viewer gives you an interactive tree with search and copy-path. Use the formatter to output, and the viewer to explore.

Is this JSON Viewer free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way