Queries JSON with a JSONPath expression and shows the matches.
The JSONPath Evaluator lets you query JSON with a JSONPath expression and instantly see the matching values. Paste your JSON, enter a path like $.store.book[*].author, and the tool returns every match formatted as pretty-printed JSON. It's handy for exploring API responses, filtering nested data, and testing JSONPath expressions before using them in code.
No. The evaluator runs entirely in your browser using the jsonpath-plus library. Your JSON is parsed and queried locally, and nothing is uploaded or stored on any server.
It uses the jsonpath-plus library, which supports standard JSONPath features including the root $, child and recursive descent (.. ), wildcards [*], array slices, and filter expressions like [?(@.price < 10)].
Matches are collected into an array and returned as pretty-printed JSON with two-space indentation. If a query matches nothing, you get an empty array.
The input must be valid JSON; the tool parses it first with JSON.parse, so malformed JSON will throw a parse error. Make sure the JSON is well-formed before evaluating a path.
The default path is $, which selects the root and returns the entire JSON document wrapped in an array. Replace it with your own expression to narrow the results.