JSONPath Tester

All tools

Paste JSON and a JSONPath expression to find matching values, inspect result paths, and copy extracted data.

Status
Idle
Matches
0

Matches

Path Value
Matching values will appear here.

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

  1. Paste JSON into the input field.
  2. Enter a JSONPath expression that starts with $.
  3. Click Test path or keep automatic running enabled.
  4. 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.

JSONPath Tester FAQ

Does this tool support JSONPath filters?
Yes. It supports simple filters such as @.price > 30, @.active == true, and @.status != "archived".
Can I use recursive JSONPath lookup?
Yes. Expressions like $..price find matching property names anywhere under the current JSON tree.
Does it support every JSONPath extension?
No. It focuses on common JSONPath syntax for properties, brackets, wildcards, indexes, slices, recursive lookup, and simple comparisons.
Is my JSON stored?
No. It is processed only in your browser.