Skip to content
Toolars
Explore

JSON Tree Viewer

Explore and edit JSON: find nodes, copy paths, undo changes and export. Everything runs locally in your browser.

Local processing

Processing details

Tool inputs are processed on your device.

Resources may be downloaded to run this tool. Account services are separate.

Preparing offline use…

Privacy information
Report bug
Worked example · Read an API response without changing identifier values

Worked example

Read an API response without changing identifier values

Use a small fictional API response to distinguish numbers, strings and arrays. An identifier beyond JavaScript’s safe integer range should retain its original digits. This viewer checks JSON structure, not whether an API response obeys your business rules.

Input and settings
{"items":[{"id":9007199254740993,"active":true}]}
Expected output
id: 9007199254740993 · active: true

Steps to reproduce

Paste the JSON, expand items and its first object, then compare Tree, Formatted and Minified. Check the type badge as well as the displayed value. Use two or four spaces for the readable export.

Check before you use it

The large integer should not become 9007199254740992. Add a trailing comma to rehearse an error, then remove it and parse again. Duplicate keys are rejected rather than silently overwriting a value. Compare the downloaded JSON with your application schema before using it; valid syntax alone does not establish correctness.

Task path / input to outcome

How to explore JSON as a tree

  1. 01

    Import or paste JSON

    Paste JSON or import a UTF-8 file. Strict mode validates standard JSON; Relaxed mode also accepts comments, single quotes, unquoted keys and trailing commas. Limits remain 256 KiB, 40 levels and 10,000 nodes.

  2. 02

    Let the checker parse it

    Pasted JSON is checked immediately, while typed changes are checked after a short pause, so a large document is not re-validated on every keystroke. Invalid input reports a stable error with line and column, a nearby excerpt, and a recovery hint; Go to error jumps straight to the problem.

  3. 03

    Find, inspect and edit nodes

    Search keys, values or paths, then jump to a match even inside a collapsed array group. Use JSON Pointer to go directly to a path. Select a node to copy its value or path, download a branch, or enable Edit JSON to add, rename, edit and delete nodes. Undo and Redo restore up to 20 edits.

  4. 04

    Choose how the tree appears

    View settings controls syntax themes, branch icons, tree indentation, expansion depth, string previews and array grouping. Type badges and item counts can be switched off independently. Large expanded trees render a limited window of rows; the full document remains searchable.

  5. 05

    Copy or export the result

    Copy JSON copies the current Formatted or Minified view, and Download .json saves that same view as a file. In Tree view, both actions use the formatted result. When the inspection is done, Clear empties both the source and the tree in one step. Switch to Formatted for a readable document or Minified for a compact one-line result, and choose 2 or 4 spaces for the formatted indentation. Both views are derived from the same parsed value, so they always agree with the tree.

  6. 06

    Continue with this result

    Open a fresh workspace below with a copy of this result. Nothing is sent or saved; run the next tool when ready. One follow-up at a time. Close it before opening another. Changing the source result, leaving or refreshing this page, or 10 minutes after opening clears the follow-up and its edits. The source stays here.

Tool facts

Processing
In your browser
Input leaves this device
Never
Retention
Nothing is stored
Price
Free

Your input stays in the browser.

JSON Tree Viewer uses its verified local execution path and does not create a hidden input or output history.

Local execution

Runs inside the current browser tab.

No hidden processing

Active tool data never becomes a Toolars document record.

No account required

Use the core workflow without creating a profile. Favorites sync to your account after you sign in.

Immediate reset

Clear the tab and the active working data is gone.

When JSON Tree Viewer is useful

Inspect an API response

{"items":[{"id":7}]} → Expand items, then its first object: id has the number value 7.

Keep a large integer intact

{"id":9007199254740993} → Minified output keeps 9007199254740993 exactly; it is not rounded to 9007199254740992.

Fix a trailing comma

{"ok":true,} → The trailing comma is rejected. Remove it to get {"ok":true}, then parse again.

What JSON Tree Viewer actually does

Inspect an API response, locate a nested field by search or JSON Pointer, and edit a test fixture with undo available. Copy a single value or download a branch without extracting it by hand. Input, history and parsed data stay in this browser tab and are cleared when you leave or refresh.

Common questions

What are the limits?
The input may be up to 256 KiB, nested at most 40 levels deep, and contain at most 10,000 nodes; open Limits in the toolbar to see all three numbers. A document that crosses any limit is refused with a message naming the one it crossed.
Why are __proto__, constructor, and prototype rejected?
These names are refused to reduce prototype-pollution risks. Passing this check does not certify that data is safe to merge or use in another application.
Can I edit JSON without losing number precision?
Enable Edit JSON, select a node and apply an explicit change. Undo and Redo restore edits within this tab. Untouched numeric tokens, large integers and member order are preserved; duplicate or reserved property names are rejected. Formatting can normalize string escapes without changing values.
Are comments or trailing commas accepted?
Strict JSON rejects them. Select Relaxed JSON to accept comments, unquoted keys, single quotes and trailing commas. Both modes reject duplicate keys, reserved prototype keys and executable expressions. Copy and download always produce standard JSON.
What does the error report tell me?
Every failure comes with a stable error name, the line and column, an excerpt of the nearby text, and a plain-language recovery hint such as adding a colon or removing a trailing comma. Go to error moves the cursor to the exact spot, so fixing a large document is one jump instead of a search.
Is the JSON uploaded anywhere?
No. Parsing runs fully inside the current browser tab, input and parsed data are never retained, and no account is required. Pressing Clear empties both the source and the tree.

Keep reading

Related tasks, not a dead end.

Move into another focused workspace without returning to the full index.

Text & JSON Diff

Compare text by line, word, or character and JSON by structure, with split and unified views, change navigation, and unified-patch export.

Inspect

Structured Data Converter

Convert between JSON, YAML, and CSV with explicit formats, spreadsheet-safe CSV output, and fidelity warnings for every accepted loss.

Convert

JWT Encoder/Decoder

Decode, sign, and verify JWTs across HS256-512, RS256-512, and ES256-512, with exp/nbf checks — keys and tokens never leave the tab.

Protect

Base64 Encoder/Decoder

Encode Unicode text to Base64 or decode it back with live validation, URL-safe and UTF-8 options, and a swap button for round trips.

Convert