Live Evaluator

JSONPath Tester

Query JSON data with JSONPath expressions in real time — wildcards, filters, recursive descent & more.

Path
Try: $ $.store.book[*].author $.store.book[0] $.store.book[-1:] $..price $.store.book[?(@.price < 10)] $.store.bicycle.color $..book[2:] $.store.*
JSON Input
Result
Enter a JSONPath expression and hit Run
📖 JSONPath Quick Reference
$Root element
@Current element (in filters)
.Child operator (dot notation)
..Recursive descent — all levels
*Wildcard — all children
[n]Array index (0-based)
[-n]Negative index (from end)
[m:n]Array slice
[m:n:s]Slice with step
[*]All array elements
['key']Bracket notation for keys
['a','b']Multiple keys / union
[?(expr)]Filter — items where expr is true
@.price < 10Filter with comparison
@.name == "x"Filter with equality
$..keyAll "key" fields, any depth

What is JSONPath?

JSONPath is a query language for JSON, similar to how XPath works for XML. It allows you to extract specific data from complex JSON structures using concise path expressions. Originally proposed by Stefan Goessner, JSONPath is now standardized in RFC 9535 and widely used in tools like Kubernetes, AWS Step Functions, Grafana, and many REST APIs.

This free online JSONPath tester lets you paste any JSON document and run path expressions against it instantly — with syntax highlighting on both input and results. No server needed; everything runs in your browser.

Common use cases include: extracting fields from API responses, filtering arrays by condition, navigating nested configuration objects, and debugging JSON data pipelines.

Copied!