JSONPath Tester

Runs in browser

Test JSONPath expressions against JSON data with live results instantly.

Evaluate JSONPath expressions against JSON in the browser. See match counts, copy results as JSON, and use presets for common queries.

JSONPath Tester tool

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Results3 matches found
[
  "Alice",
  "Bob",
  "Carol"
]

🔒 Runs in your browser · No uploads · Your data never leaves your device

How to use

  1. Paste JSON

    Start from the sample document or replace it with your own — the gutter shows line numbers.

  2. Enter JSONPath

    Type an expression or pick a preset chip to fill common patterns.

  3. Review matches

    See how many values matched, copy the results array, and use the gutter highlight as a hint for the first match line.

Common use cases

  • Extracting nested API response fieldsUse JSONPath expressions to extract specific fields from deeply nested API responses without writing manual parsing code.
  • Filtering arrays in JSON dataApply filter expressions to extract only the objects that match a condition from a JSON array.
  • Testing JSONPath queries before codingVerify that a JSONPath expression matches the expected nodes before embedding it in application code.

Examples

  • User names

    All name fields under users.

    Input
    JSON + $.users[*].name
    Output
    [ "Alice", "Bob", "Carol" ]

Frequently asked questions

Is my JSON uploaded?
No. Evaluation runs entirely in your browser using jsonpath-plus.
Which JSONPath dialect is used?
The jsonpath-plus implementation with common JSONPath operators; very exotic extensions may differ from other tools.

Key concepts

JSONPath
A query language for JSON, similar to XPath for XML — used to extract specific values from a JSON structure using path expressions.
Path expression
A string like $.store.book[0].title that navigates a JSON document to a specific value or set of values.
Filter expression
A JSONPath condition like ?(@.price < 10) that returns only array elements matching the criteria.

You might find these useful too.

More json tools