JSON Path Tester.

Input JSON and a JSONPath expression; see all matches with path and value.

JSON

Paste or type your JSON document

JSONPath expression

e.g. $.items[*], $..name, $.store.book[0].title

Try an example

Click to load JSON and a JSONPath expression

How it works

Four steps.

  1. 01

    Paste or type your JSON in the first box.

  2. 02

    Enter a JSONPath expression (e.g. $.items[*].name or $..id).

  3. 03

    Click Run JSONPath to see all matches.

  4. 04

    Each result shows the path and value. Use Copy to export matches.

Features

Key Features.

Test JSONPath expressions against any JSON and see matches in the browser.
  • Paste any JSON

    Paste or type a JSON document. Arrays and nested objects are fully supported.

  • JSONPath expressions

    Use standard JSONPath: $.key, $[*], $[0], $..key, and filter expressions.

  • See all matches

    Results show each match with its path and value. Copy matches for use elsewhere.

  • Standard JSONPath

    Uses jsonpath-plus: dot notation, brackets, wildcards, recursive descent, and more.

  • Instant results

    Run the expression and see matches immediately. No server round-trip.

  • Clear errors

    Invalid JSON or bad JSONPath shows a clear error message.

FAQ

Questions.

Can't find an answer? Send us your question.

What is JSONPath?

JSONPath is a query language for JSON, similar to XPath for XML. It lets you select elements by path (e.g. $.store.book[0].title ), wildcards ( $[*] ), and recursive descent ( $..name ).

What syntax is supported?

This tool uses jsonpath-plus . You can use $ (root), .key or ['key'] , [0] indices, [*] wildcard, .. recursive descent, and filter expressions like ?(@.price < 10) .

Where is my data sent?

Nowhere. JSON and the JSONPath expression are evaluated in your browser. No data is sent to any server.

Why do I get no matches?

Check that your path matches the structure of your JSON. Use $ to select the root, $.key for a property, and $[*] for all array elements. Recursive descent $..key finds all values of key at any depth.

Related tools

More Data & API tools.