JSONPath Evaluator
Test JSONPath expressions against JSON data. Live evaluation, results highlighted. Supports core JSONPath syntax. Runs in your browser.
Try examples:
Reference
JSONPath syntax cheat sheet
JSONPath is the JSON equivalent of XPath. It lets you select nodes from a JSON document using a path-like expression. Common operators: $ (root), .key (child), ..key (recursive descent), [*] (wildcard), [n] (array index), [start:end] (slice), [?(@.x > 1)] (filter expression).
Common patterns
$.store.book[*].author— all authors in the book array.$..price— everypricefield anywhere in the tree.$.store.book[0,1]— first two books.$.store.book[-1]— last book.$.store.book[?(@.price < 10)]— books cheaper than 10.
Common uses
- API response parsing — extract fields from deeply nested responses.
- Config navigation — query large config trees concisely.
- Test assertions — write expressive checks for integration tests.
Privacy
All evaluation runs 100% in your browser. No data is sent to any server.