JSONPath Tester

← All tools

Paste JSON and a JSONPath expression to see matched values, count, and normalized paths. Click an example query to try the classic store/books document.

~~~

matchesError

Paths

Supported subset

Root $, dot notation ($.store.book), bracket notation ($['store']['book'][0]), wildcards (*, [*]), recursive descent (.., ..author), array slices ([0:2], [::2]), unions ([0,1,'title']), and filters with==, !=, <,<=, >, >= on@.prop plus existence checks [?(@.prop)].

Not supported: script expressions like (@.length-1), arithmetic, or full RFC 9535 extensions.

~~~

About this tool

JSONPath queries nested JSON without writing JavaScript. This tester implements a practical subset of Stefan Goessner's original spec — enough for most API response filtering tasks.

Your JSON stays in the browser and is never put in the URL. Only the JSONPath expression is shareable via ?p=.

~~~

Read more