JSONPath Tester

Input
Output

JSONPath Tester

Write a JSONPath expression and see which values it picks from your JSON, with the full path of every match. Filters, slices, wildcards and recursive descent are all supported.

How to use it

  1. Paste JSON or open a file.
  2. Type an expression such as $..price or $.items[?(@.qty >= 2)].
  3. Show values only, or paths and values, and copy the result.

What it does

Questions

What does $.. mean in JSONPath?
Recursive descent: $..sku finds every sku key at any depth.
How do I filter an array?
Use a filter expression such as $.items[?(@.price > 500)].
Is JSON Pointer supported too?
Yes, in the JSON Pointer tool.

More JSON tools

Bracely has more than 60 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Privacy policy