JSONPath Evaluator & Finder

Evaluate a JSONPath expression against your JSON, or click a node in the tree to find its path. Everything runs in your browser.

Input JSON

Valid JSON

Data tree (click a node to find its path)

Clicking a node writes its path into the expression bar below and highlights the match.

JSONPath expression

Examples:
0 matches
Enter a JSONPath expression above to see matches.
JSONPath cheat sheet — syntax reference
SyntaxMeaningExample
$Root object / array$
@Current node (inside filters)[?(@.price < 10)]
.nameChild by key (dot notation)$.store.bicycle
['name']Child by key (bracket notation)$['store']['book']
[n]Array element by index$.store.book[0]
..Recursive descent (any depth)$..author
*Wildcard — all children$.store.*
[start:end:step]Array slice (end exclusive; negatives from end)$.book[0:2], $.book[-1:]
[a,b]Union — several keys or indices$.book[0,2]
[?(expr)]Filter — keep nodes where expr is true$.book[?(@.isbn)]
== != < <= > >=Comparisons inside filters[?(@.price >= 10)]
&& ||Logical and / or in filters[?(@.price < 10 && @.isbn)]
=~Regex match in a filter[?(@.author =~ /tolkien/i)]

Tip: click a node in the data tree to generate its exact path, or click an example chip above. Results can be viewed as Values, Paths, or RFC 6901 JSON Pointers.