JSONPath Tester

Run JSONPath queries against nested JSON and inspect matching values, paths, or JSON Pointers.

Matches

3

Mode

value

Chars

72

JSON and query

Query results

Query complete

Found 3 matching results.

[
  "The Analytical Engine",
  "Compiler Design",
  "Computer Systems"
]

Supports property selection, recursive descent, wildcards, array slices, unions, and safe filter expressions.

Test JSONPath Queries

JSONPath selects values from a JSON document using a path expression. The root is written as $, child properties can use dot or bracket notation, and array items can be selected by index, wildcard, slice, or filter.

Common expressions include:

  • $ for the complete document.
  • $.store.books[0] for the first item in an array.
  • $.store.books[*].title for every title in the books array.
  • $..title for every property named title at any depth.
  • $.store.books[?(@.price < 10)] for items matching a filter.

The result mode can return the selected values, their normalized JSONPath locations, or JSON Pointer locations. Path output is useful when you need to identify exactly where each match came from rather than only reading the values.

Use JSON to CSV after selecting a tabular array, or open the JSON Formatter to inspect the full document as a tree.

Frequently Asked Questions

What is JSONPath?
JSONPath is a query syntax for selecting values from a JSON document using paths, wildcards, recursive descent, array indexes, and filters.
Can this tester return paths instead of values?
Yes. Choose values, JSONPath locations, or JSON Pointer locations as the result format.
Are JSONPath queries run locally?
Yes. Your JSON and JSONPath expression remain in your browser.

Related Tools