JSONPath Tester

Test JSONPath expressions against JSON data with live results.

  1. Home
  2. Web Dev
  3. JSONPath Tester
Example JSON

Example paths

0 results 0 ms

                            

What is JSONPath?

JSONPath is a query language for JSON, similar to XPath for XML. It allows you to navigate and extract data from JSON documents using path expressions.

Operator Description
$Root object
.keyChild by key
['key']Child by key (bracket notation)
[n]Array index (0-based)
[*]Wildcard (all children)
..Deep scan (recursive descent)

Frequently Asked Questions

What is the difference between JSONPath and JMESPath?

JSONPath is inspired by XPath and uses a similar syntax with $ as root and . for child access. JMESPath is a separate specification used by AWS CLI with a different syntax.

Is my JSON data stored on a server?

No. All processing happens entirely in your browser using JavaScript. Your JSON data never leaves your device.

Does this support JSONPath filter expressions?

This tool supports basic JSONPath syntax including dot notation, bracket notation, wildcards, array indexing, and deep scan. Full filter expressions [?(@.price>10)] are shown as examples but the implementation covers the most commonly used operators.