JSONPath Tester
Paste JSON and a JSONPath expression to find matching values, inspect result paths, and copy extracted data.
Matches
| Path | Value |
|---|
What is a JSONPath Tester?
A JSONPath Tester helps you query nested JSON data with path expressions such as object properties, array indexes, wildcards, slices, recursive lookup, and simple filters.
This is useful when debugging API responses, checking automation rules, extracting values from large payloads, or documenting JSON paths for tests and integrations.
How to use the JSONPath Tester
- Paste JSON into the input field.
- Enter a JSONPath expression that starts with $.
- Click Test path or keep automatic running enabled.
- Review matching paths, matched values, and copy the output if needed.
Supported JSONPath examples
$.store.books[0].title
Read a nested property from the first array item.
$.store.books[*].author
Select a property from every item in an array.
$.store.books[?(@.price > 30)]
Filter array items using a simple comparison.
$..price
Find matching properties recursively.
$.store.books[0:2]
Return a slice from an array.
$['store']['bicycle']['color']
Use bracket notation for quoted property names.
Related guides
Learn the workflow behind this tool and what to check next.
JSONPath checks before using an expression in code
Test expressions against representative payloads because JSONPath implementations differ and one sample rarely covers missing or repeated data.
Expected cardinality
Confirm whether the expression should return one value, many values, an empty result, or an error when a path is absent.
Arrays and filters
Test empty arrays, multiple matches, nested arrays, filter predicates, numeric comparisons, and values with unexpected types.
Key syntax
Use bracket notation for keys containing dots, spaces, hyphens, or other characters that could be interpreted as path syntax.
Implementation compatibility
Verify operators, recursive descent, functions, and result shape in the exact JSONPath library used by the application.
Related tools
You may also find these tools useful.