HTML Formatter
Beautify and indent HTML markup.
OpenBrowse nested JSON as a collapsible tree and copy the exact path to any field with one click.
Replace the sample with your own data or drop a file.
Use Expand and Collapse, or open single nodes by clicking them.
The JSONPath of that key is copied to your clipboard.
Copy JSON grabs the pretty-printed version shown below the tree.
An API returns a 3,000-line response and you need the path to a shipping status buried four levels deep, so you can reference it in a test. Scrolling through indented text is slow; folding away the parts you do not care about is much faster.
The viewer parses your input and renders it as nested, collapsible nodes. Objects show their key count and arrays their length in each node header, and values are styled by type. Expand and Collapse open or close every node at once. Clicking any key copies its path to the clipboard in $.user.tags[0] style notation, ready for an assertion or a query. Below the tree, a pretty-printed copy of the document stays in sync, and Copy JSON puts that on the clipboard. A sample loads on first visit, and you can drop a file onto the input.
Paths use dot notation for every key, so keys containing spaces or dots produce paths like $.my key that need bracket notation in real code. To test a path against your data, open the JSONPath Playground. If you need typed models for the same response, try JSON to TypeScript, and for a plain indented view the JSON pretty printer is lighter.
The tree is built from the parsed object in this tab. Very large payloads may render slowly on older devices, but the data itself is never transmitted.
Keyboard shortcut
Answers for this tool. For site-wide help, open the FAQ hub.
There is no search box. Collapse everything, then open only the branches you need, or use your browser's find (Ctrl+F), since expanded nodes are plain text on the page.
They start with $ and use dot notation for object keys, with array positions written as a number in square brackets after the array name. That matches the common JSONPath style used by many test and query tools.
The input did not parse. The status line under the panels shows the parser error; fix it and the tree appears as soon as the JSON is valid.