Data and JSON tools Free · No sign-up · No upload

JSON Tree Viewer

Turn a large JSON document into a clean tree that shows every key, how many items each list holds and what sits at the leaves. Private, and processed in your browser.

  • Free forever
  • Handled in this tab
  • Limit tree depth
  • Shows value types
Your data
0 = all levels
  • Runs on your device. Files are never uploaded.
  • Free and unlimited. No sign-up, no watermark.
Private: processed in your browserNo upload waitIN: JSON → OUT: Tree
How was JSON tree viewer?
How it works

JSON tree viewer in three steps

No account, no email, no waiting for an upload.

  1. STEP 01

    Load your JSON

    Add text or open a .json, .geojson or .txt file.

  2. STEP 02

    Choose what to show

    Turn on 'Show value types' to see string, number, boolean or null next to each leaf. Set 'Levels to show' to cut off deep branches (0 means all).

  3. STEP 03

    Read or copy the tree

    The result is plain text, so you can copy it into a ticket or a doc. A note shows how many lines it has.

What you get

What JSON tree viewer does, and what it doesn't

We'd rather tell you up front than surprise you after the download.

What you get

  • Counts on every branchObjects show their key count and arrays their item count, such as {4 keys} or [120 items].
  • Keys and indexes togetherObject keys appear by name and array entries by position, like [0] and [1], so you can build a path in your head.
  • Depth controlHide everything below a chosen level to get an overview of a huge document.
  • Optional typesSpot a number that was stored as a string, or a null where you expected a value.
  • Safe for long valuesStrings over 120 characters are shortened so one big field does not push everything else off screen.

Good to know

  • A text tree, not an expandable widgetYou cannot collapse branches by clicking. Use the depth setting instead, or search in the result with your browser.
  • Long strings are shortenedTo read a full value, open the data in the JSON formatter.
  • Valid JSON onlyBroken input shows the line and column of the problem. The JSON validator gives a fuller report.
Private by design

Your data never leave your device

The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.

Typical online tool upload

Your device→Their server→Your device

Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.

Mediaextractr no upload

Your device does all the work

The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.

Made for real work

When people use JSON tree viewer

Understand a new API

Get the shape of a response before you write a parser.

Scan a big export

See top-level sections and their sizes without scrolling through thousands of lines.

Teach nesting

Show a class how objects and arrays are stacked.

Document a payload

Paste a tree into a README to describe fields at a glance.

Compare

Mediaextractr vs typical upload tools

MediaextractrPrivateTypical upload tools
Your file is uploadedNeverYes
Sign-up neededNoOften, after a few files
Daily file limitNoneOften 1–2 free files
WatermarkNeverSometimes
Wait for upload & downloadNoYes
Speed on very large filesDepends on your deviceDepends on their servers

Reading the tree

The first line starts with $, the root. Under it, branches use the box-drawing characters you may know from a directory listing. Each object key is followed by its type or value. Arrays list entries as [0], [1], and so on.

A line like items: [3 items] means the key items holds a list with three entries. A line like name: "Ada" is a leaf with a string value.

Finding your way in large documents

Start with Levels to show set to 1 or 2 for the outline. Raise it as you get closer to the part that interests you. When you spot a branch of interest, query it directly:

Sharing a structure outline

A tree with the depth limited to two or three levels is a compact way to describe an API response in a ticket or a README. Turn on value types so the reader sees what each field holds, and copy the text. It shows the shape without exposing every value, which is useful when the data itself should not be shared.

FAQ

Questions, answered

What does a JSON tree viewer do?

It shows the nesting of a JSON document as an indented tree, so you can see keys, lists and values without reading the raw text.

Does viewing a JSON file as a tree upload it?

No. The tree is built from your text by script in this page, so what you open stays on your device.

Can I collapse and expand nodes?

Not interactively. Use the 'Levels to show' setting to limit how deep the tree goes.

Why are some values cut short?

Strings longer than 120 characters are shortened with an ellipsis, to keep the tree readable.

How do I see data types?

Turn on 'Show value types' and each leaf is labelled string, number, boolean or null.

Does the tree display well on mobile?

It does. Output is plain monospaced text, which scrolls sideways in current mobile browsers.