Test JSONPath Expressions Online
Paste JSON, enter a JSONPath such as $.users[0].name or $.users[*].email, and preview matching values instantly. Use it to inspect API payloads, logs, fixtures, and nested configuration data.
🔒 Your data stays in your browser. FixTools does not upload this JSON for processing.
How to use JSONPath Tester
- Step 1
Paste valid JSON into the left editor. In the right editor, enter a path beginning with $, such as $.user.name, $.items[0].sku, or $.users[*].email.
- Step 2
Run the JSONPath expression. FixTools walks the selected properties and array positions and returns every matching value.
- Step 3
If no values match, verify the property names, array indexes, and wildcard placement. Validate the JSON first if the document cannot be parsed.
JSONPath query example
A wildcard can select the same property from every item in an array without manually indexing each element.
Example input
JSON: {"users":[{"name":"Ada"},{"name":"Linus"}]}
Path: $.users[*].nameExample output
[ "Ada", "Linus" ]
What this tool does
JSONPath is a path-style query syntax for selecting values from JSON. This lightweight tester supports the most common debugging operations: root $, dot-property access, numeric array indexes, and wildcards over arrays or object values.
Common use cases
- • Extract a nested value from a large API response
- • Test paths before configuring an ETL or automation workflow
- • Inspect arrays of objects with wildcard selection
- • Debug template or mapping expressions against sample JSON
- • Learn how nested JSON paths resolve
How it works
The tester tokenizes the expression after the root $, converts numeric bracket indexes into path tokens, and expands [*] as a wildcard. Each token is applied to the current set of nodes, so a wildcard can produce multiple nodes that the remaining path continues to query.
Limitations and edge cases
This is intentionally a lightweight JSONPath-style tester, not a full implementation of every JSONPath extension. It does not currently support recursive descent (..), filters such as [?()], slices, unions, scripts, or quoted bracket-property syntax. Use a standards-complete JSONPath library when those operators are required.
Related concepts
JSONPath vs. JSON Pointer
JSONPath is designed for querying and can return multiple matches. JSON Pointer identifies a specific location using slash-separated reference tokens.
Wildcards
A wildcard such as [*] expands every array element or object value at that step, allowing the rest of the path to run against multiple nodes.
JSONPath Tester FAQ
What is JSONPath?
JSONPath is a query notation for selecting values from nested JSON using a root $, property names, array indexes, and other operators.
How do I get the first array item with JSONPath?
Use a numeric array index such as $.users[0] or continue to a property with $.users[0].name.
How do I select a property from every array item?
Use a wildcard such as $.users[*].email. This tool returns the email value from every matching array element.
Does this tester support JSONPath filters?
Not yet. The current implementation focuses on root access, dot properties, numeric indexes, and wildcards for fast debugging.