sitekits.dev
press ⌘K to switch tools
VALIDATE & INSPECT

JSONPath Evaluator

Evaluate JSONPath expressions on JSON data.

local
jsonpath-finder

Examples: $..price, $.store.book[0], $..book[?(@.price>15)]

§01 ABOUT THIS TOOL

Overview

JSONPath is to JSON what XPath is to XML: a query language for pulling specific values out of nested structures. This evaluator runs your expression against pasted JSON as you type — useful for prototyping jq-style extractions, writing API assertions, or debugging why a path in your code returns nothing.

How to use

  1. Enter an expression in the JSONPath field, e.g. $.store.book[*].title.
  2. Paste your document into the JSON textarea.
  3. Matched values appear in Result as a pretty-printed JSON array. Parse errors in either input are shown inline.

Examples

  • $.store.book[*].title on the sample data → ["A", "B"]
  • $..price[10, 20] (recursive descent over every price key)
  • $..book[?(@.price>15)] → the book objects whose price exceeds 15

Notes

Evaluation runs on every keystroke, so very large documents may feel sluggish. Filter expressions use JavaScript-like comparison syntax; remember @ refers to the current node being tested.

FAQ
Is my JSON data uploaded anywhere?
No. The expression is evaluated entirely in your browser using the jsonpath-plus library. Your JSON never leaves the page.
Which JSONPath features are supported?
The tool uses jsonpath-plus, which covers the common Goessner syntax: dot and bracket notation, wildcards ($.store.book[*]), recursive descent ($..price), array slices, and filter expressions such as $..book[?(@.price>15)].
Why is the result always an array?
JSONPath queries can match zero, one, or many nodes, so the result is returned as a JSON array of all matched values. An empty array means the path matched nothing.