JSONPath Tester

Test JSONPath expressions and extract values from nested JSON objects and arrays.

Query nested data

Access properties with dot and bracket notation.

Select collections

Extract array items and object values with wildcards.

Copy results

Get formatted JSON output instantly.

Try:

Input JSON

Paste or edit your source data

488 charactersJSON input

Query results

Values matched by your expression

3 matches
[
  "Clean Code",
  "The Pragmatic Programmer",
  "Refactoring"
]
JSON result array3 result items

Supported JSONPath syntax

Use these expressions to navigate nested objects and arrays.

$

Select the root value

$.store.name

Select a property

$['store']['name']

Bracket property notation

$.store.books[0]

Select an array index

$.store.books[-1]

Select the last array item

$.store.books[*]

Select all array items

$.store.*

Select all object values

Current limitations: This lightweight implementation does not support recursive descent, filters, unions, slices, or script expressions. It is not a complete implementation of the JSONPath standard.

How to use JSONPath Tester

  1. 1Paste valid JSON into the input panel or load the sample data.
  2. 2Enter a JSONPath expression beginning with "$" or choose one of the quick examples.
  3. 3Review the matched values in the results panel.
  4. 4Copy the formatted JSON output using the copy button.