Why does my JSON show an error?
It is not valid JSON — common causes are trailing commas, single quotes instead of double quotes, or a missing bracket.
Paste JSON and explore it as a collapsible tree. Free online JSON viewer for API responses and config files — runs in your browser, nothing uploaded.
API responses, webhook payloads, app settings and data exports are usually JSON, and large JSON documents are almost impossible to read as one long line. DrToolLab's JSON viewer turns pasted JSON into a collapsible tree, so you can expand only the objects and arrays you care about, see how the data is nested and find a value quickly. Developers use it to inspect API responses from marketplaces, payment gateways and shipping partners, and non-developers use it to make sense of exports from tools they use. If the JSON is invalid, the viewer tells you instead of showing a blank screen, which helps you spot a missing comma or bracket. Everything runs inside your browser, so API keys, customer data and tokens in your JSON are never uploaded. To pretty-print or minify JSON as text instead, use the JSON Formatter in the text tools.
Paste your JSON into the input box.
Expand and collapse objects and arrays to explore the tree.
Fix any error the viewer reports and copy the values you need.
Private by design. Everything runs in your browser. The text you enter is never sent to a server or stored.
It is not valid JSON — common causes are trailing commas, single quotes instead of double quotes, or a missing bracket.
No. It is parsed and displayed locally in your browser.
Yes, within your device's memory. Collapse sections to navigate big documents easily.
The viewer shows an interactive tree; the JSON Formatter in the text tools pretty-prints or minifies JSON as text you can copy.