Developer Tools

JSON Path Tester

Test JSON paths against JSON data online. Query nested objects, arrays, indexes, and wildcard matches.

View all Developer Tools

Continue Workflow

Related tools to try next

All tools
Browser Local No sign-up

Example

Select values from an array

The wildcard selects the email property from every item in the users array.

Input


                        $.users[*].email
                      

Output


                        [
  "alice@example.com",
  "bob@example.com"
]
                      

Read a specific array item

Indexes are zero-based, so [0] means the first item in an array.

Input


                        $.orders[0].items[0].sku
                      

Output


                        "starter-plan"
                      

Use bracket notation for special keys

Bracket notation is useful when a JSON key contains a hyphen, space, or other character that dot notation cannot express.

Input


                        $["user-profile"]["display-name"]
                      

Output


                        "Alice Chen"
                      

Practical Notes

How to Use

  1. 1. Paste JSON into the input field.
  2. 2. Enter a path such as $.users[0].name or $.users[*].email.
  3. 3. Click Test Path.
  4. 4. Review the matched values in the output panel.

Features

Use Cases

Frequently Asked Questions

What JSON Path syntax is supported?
This tester supports common dot notation, bracket notation, array indexes, and wildcards such as $.users[*].name.
Does it support filters?
This lightweight tester focuses on common lookup paths and does not support advanced filter expressions.
Is my JSON uploaded?
No. JSON parsing and path testing happen locally in your browser.
Why does my path return no matches?
Check property names, array indexes, and whether the path starts from the correct root object. JSON paths are case-sensitive.
How should I debug a long JSON path?
Start with the root, then test each level separately. For example, test $.orders, then $.orders[0], then $.orders[0].items before adding the final field.
What should I do when field names contain dots?
Use bracket notation with quotes, such as $["user.name"]. Dot notation treats a dot as a path separator instead of part of the field name.