Skip to content

JSON Tree Viewer: Explore JSON Node by Node

Open or paste JSON to browse it as a collapsible tree with types, array indexes and copyable paths; nothing is uploaded.

Processed on your device. Nothing is uploadedHow to check

Try a sample file:

You can also paste JSON with Ctrl+V (⌘+V on a Mac).

Your file is opened in this browser tab only: it is never uploaded or stored anywhere, and it is gone when you close the tab.

  • JSONView and edit.json.jsonl.ndjson.json5.geojson.yaml.yml

Also works with CSV, TXT, Excel, Word, PDF, Image, and PowerPoint files

Paste text instead

Pasted text stays in this tab and is never sent anywhere.

A free JSON tree viewer: open a .json file, drop it or paste the text, and it opens as a tree with the top two levels expanded. Fold and unfold any object or array, search keys and values, and copy the path of any node, such as data.items[3].price, to use in your code. Arrays of objects can be shown as a table, and on a wide screen the formatted text sits beside the tree. The file is read in your browser and never leaves your device.

Why use JSON tree viewer

  • Paths in one click

    Copy the path of any node, written the way code reads it: data.items[3].price.

  • Private and free

    Your JSON is opened by your own browser and never sent to a server. No account, no watermark.

  • Works offline

    Once this page has loaded, it keeps working without an internet connection.

How it works: view JSON as a tree

  1. Open or paste your JSON

    Choose a .json file, drop it on the page, paste the text into the box, or try one of the two samples.

  2. Browse the tree

    The top two levels open expanded. Click an object or array to fold or unfold it, or use Expand all and Collapse all.

  3. Find and copy

    Search for a key or value to jump to it, then copy the node's path. Arrays of objects can switch to a table.

What the JSON tree viewer handles

  • A collapsible tree with the top two levels expanded, plus Expand all and Collapse all.
  • The type of every value (string, number, boolean, null, object, array) and the index of every array item.
  • Search across keys and values, with each match shown in the tree.
  • Copy a node's path, such as data.items[3].price.
  • A table view for arrays of objects, and the formatted text beside the tree on wide screens.
  • Big integer IDs shown with every digit.

JSON tree viewer: what it can't do

  • Files up to 10 MB.
  • The tree needs valid JSON; a file with a syntax error opens in the text pane with the error marked.
  • The table view is for arrays of objects; other arrays stay in the tree.

Questions about the JSON tree viewer

Is my file uploaded?
No. Your JSON is read and drawn as a tree by your browser, on your device, and is never sent anywhere. Pasted text stays in this tab. Your browser's network panel shows no upload.
How do I get the path to a value?
Select the node in the tree and choose Copy path. You get a path such as data.items[3].price, with dots for keys and brackets for array indexes, ready to paste into your code.
Why are only two levels open?
So a large document stays readable when it opens. Click any node to go deeper, or press Expand all to open everything at once.
Can I see an array of records as a table?
Yes. An array whose items are objects can be shown as a table, one row per item and one column per key.
How large a file can the tree show?
Files up to 10 MB. Larger files are refused before they are read, so the page stays responsive.
Will long numbers be shown correctly?
Yes. Integers too long for JavaScript, such as 64-bit IDs, are shown and copied with every digit, not rounded.
How do I view a JSON file as a tree?
Open or paste the JSON in OpenAnyDoc's JSON tree viewer: objects and arrays fold and unfold, the top two levels start open, and search jumps to any key or value. The file is read in your browser without being uploaded.
Which app can open a JSON file?
Any text editor opens a .json file: Notepad on Windows, TextEdit on a Mac, or a code editor, and every web browser shows it as text. A tree viewer makes a large or nested one easier to read. More ways are in the guide on how to open a JSON file.

Why it's private: your files never leave your browser

Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.

How we tell you about new features

Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.