JSONPath Tester and Evaluator

Test JSONPath queries against your JSON and see matching values or paths. Supports wildcards, recursive descent, slices and filters.

About JSONPath Tester and Evaluator

Run JSONPath expressions against JSON and see the matching values, or the exact paths to them. JSONPath is the query language used by tools like Kubernetes kubectl, Postman tests, AWS Step Functions and many API test suites.

Supported syntax: $ root, .name and ['name'], [0] and negative indexes, [*] and .* wildcards, .. recursive descent, [start:end:step] slices, unions like [0,2] and filters such as [?(@.price < 10)], [?(@.isbn)], [?(@.category == 'fiction' && @.price > 10)] and regex matches with =~ /pattern/i.

How to use it

  1. Paste your JSON into the JSON box.
  2. Type a JSONPath starting with $.
  3. Switch between matched values and their paths.

Questions

Is my data uploaded?

No. Everything runs in your browser; nothing you paste or open is sent to a server.

Why do I get no matches?

Names are case-sensitive, and array items need [index] or [*]. Try $..name to find a key anywhere in the document.

Are script expressions like (@.length-1) supported?

No. Script expressions are not part of the standard and are not run. Use a negative index such as [-1] instead.

More Developer & Code tools

Home · All Tools · Blog