JSON viewer and query

Paste or open JSON and see it as a tree that folds. Search opens the branches with matches, a click shows a node’s path to copy, and JSONPath queries — $..price, $.items[?(@.qty > 2)] — list every match. Large files stay responsive.

In
JSON
Out
tree · JSONPATH
JSON

    $ is the root; .name a key; [0] an item, [-1] the last; [*] every one; ..name anywhere below; [?(@.price < 10)] a filter, with == != < > && ||.

    Related

    Questions

    What is JSONPath?

    A way to point at parts of a JSON document, like XPath for XML: $.store.book[0].title is the first book’s title, $..price every price at any depth, $.store.book[?(@.price < 10)] the cheap books.

    Does it handle big files?

    Branches are built when opened and long arrays are shown 200 items at a time, so tens of megabytes stay usable. The limit is the browser’s memory.

    Is anything uploaded?

    No. It all happens in this tab.

    ↑ ↓ move · Enter open · Esc close