Skip to content
My Tiny Utils

Search tools

Type to find a tool, then press Enter to open it.

JSONPath Tester

Test JSONPath expressions against pasted JSON: wildcards, recursive descent, slices, and bracket notation, with matched values and normalized paths.

Processed locally in your browser — nothing is uploaded.

JSONPath Tester

Supported: $ .child ['child'] [0] [-1] [*] .* .. and slices [1:3]. Filters ?() are not supported.

0 characters

Matched values (JSON array)

Output appears here…

About JSONPath Tester

Evaluate a JSONPath expression against any JSON document and see every matched value alongside its normalized path (like $['store']['book'][0]['title']), so you know exactly where each result came from.

Supported syntax: $ root, .child and ['child'] access, [n] and negative indexes, [*] and .* wildcards, .. recursive descent, and [start:end] slices.

Common uses

  • Prototype the path for a jq-style extraction or an API field mapping
  • Check what a JSONPath used in config (Kubernetes, Argo, monitoring rules) actually selects
  • Explore a large unfamiliar JSON payload quickly

Example

Input

$..price

Output

8.95 · 8.99 · 22.99 · 19.95 (with paths)

Limitations

  • Filter expressions like [?(@.price < 10)], unions [0,1], and script expressions are not supported

Frequently asked questions

What does the $ at the start of a JSONPath mean?

It represents the root of the document — every JSONPath expression starts there. From the root you drill down with .child or ['child'] for object keys and [n] for array positions.

How do I find a field anywhere in a JSON document?

Use recursive descent: $..price walks every level of the document and matches each price key wherever it appears. Each result is shown with its full normalized path so you can see where it came from.

Are filter expressions like [?(@.price < 10)] supported?

No. This evaluator covers child access, wildcards, recursive descent, indexes, and slices, but not filters, unions like [0,1], or script expressions. For filtering you'll need a full JSONPath library or jq.

Can I select the last item of an array?

Yes — negative indexes count from the end, so $.items[-1] selects the last element and $.items[-2] the one before it. Slices like [-3:] grab the last three.

Is the JSON I query kept private?

Yes. The document is parsed and the path evaluated in your browser only — nothing is sent to a server or stored, so it's fine to explore real API payloads.