JSON 树形查看器 — Uttir
Skip to main content

JSON 树形查看器

粘贴任意 JSON,以可折叠的树形结构浏览。点击即可复制任意值或完整路径。免费,浏览器内运行,无需上传。

JSON 树形查看器 — Paste any JSON and explore it as a collapsible tree. Each key, value, and array element is a node you can click to expand or copy.

The JSON stays in your browser. Nothing is uploaded.

Was JSON 树形查看器 useful?

JSON 树形查看器是什么?

Paste any JSON and explore it as a collapsible tree. Each key, value, and array element is a node you can click to expand or copy.

The viewer shows the JSON Pointer path of every value (for example /users/0/name) and a one-line summary of the node. Click a primitive to copy its value; click a container to toggle its children. Useful for understanding API responses, debugging large config files, and finding the right path to copy into a script.

使用方法

  1. Paste your JSON

    Drop a file or paste text into the editor on the left.

  2. Explore the tree

    Click any node to expand or collapse its children. Use Expand all / Collapse all for big trees.

  3. Copy values or paths

    Click a primitive value to copy it. The path (for example /data/users/2/email) is shown next to each node and is one click to copy.

示例

API response navigation

Most API responses are deeply nested. The tree view lets you collapse everything except the section you are looking at, then drill in.

{ "data": { "users": [ { "id": 1, "name": "alice" }, { "id": 2, "name": "bob" } ] } }

结果: A collapsible tree where /data/users/0/name resolves to "alice".

Config file debugging

Long package.json, tsconfig.json, or .eslintrc files are easier to read as a tree than as flat text.

{ "name": "app", "scripts": { "build": "vite build", "test": "vitest" } }

结果: Each script is a clickable leaf; click to copy the script name.

常见问题

相关指南

相关工具

Last reviewed: 2026-11-21