JSON 查看器
树形、表格、原文多视图浏览 JSON
Explore deeply nested JSON without scrolling endlessly
Long API payloads, GraphQL responses, and AI tool outputs are hard to read as raw text. A tree view lets you collapse what you don't care about and drill into the parts that matter, so you can find a specific field, count items in an array, or understand the overall shape of an unfamiliar response in seconds.
Use the viewer when you need to
Inspect an unfamiliar API response
Expand and collapse nodes to learn the structure before you wire it into your code or write parsing logic.
Locate a specific field in a large payload
Use the path display and search to jump straight to the value you need without scrolling through thousands of lines.
Switch between tree, table, and raw views
Tree view fits nested data, table view fits arrays of objects, and raw view fits copy-paste — switch as the question changes.
How to view JSON quickly
- 1
Paste the JSON payload or upload a file.
- 2
Choose tree view for nested data or table view for arrays of objects.
- 3
Click any value to copy it, or use the path display to share a pointer to a specific field.
Keep going
Query with JSONPath
Pull specific values out of large payloads using $.path expressions instead of scrolling.
Visualize as a graph
Render the same payload as an interactive node graph when relationships matter more than values.
Find oversized fields
Spot which keys make a payload heavy when network performance matters.
Format raw JSON first
Beautify minified JSON before exploring it for a cleaner reading experience.
Common viewer workflows
Paste a sample response and walk the tree to see what fields exist before writing client code.
Open the file in tree view to verify nested settings without skimming hundreds of lines.
Copy the dotted path next to a node and paste it into a ticket or message instead of describing it in prose.
相关工具
常见问题
把 JSON 粘贴进来,用 Tree View 按结构浏览。你可以在任意层级展开/折叠节点,也可以用深度控制一次性展开到指定层级。点击任意值可直接复制。
复杂查询建议用 JSONPath Tester。例如:$.store.book[?(@.price < 10)] 可以找出所有价格低于 10 的书。简单文本搜索则在编辑器里用 Ctrl+F。
Tree View 展示完整的层级结构,更适合嵌套数据;Table View 会把数据“拉平”为行列,更适合对象数组(比如常见的 API response 列表)。
目前需要把 JSON 直接粘贴到编辑器。一个快捷流程是:在浏览器打开 API endpoint,复制响应内容,然后粘贴到 JSON Viewer。我们正在开发直接通过 URL 拉取的功能。