JSONPath Tester
Paste JSON, write a JSONPath expression, and see matched values with their paths for quick API and data debugging.
Results
2 match(es).
How it works
Enter your input
Fill in the values, paste your text, or upload the file this tool works with.
See results instantly
Most tools update live as you type; a few use a single button. Either way, the result appears right on this page.
Use your results
Copy, download, or share what the tool produces — you're always in control of the output.
What is JSONPath Tester?
Experiment with JSONPath selectors and inspect matched values with their paths while working through an API response or fixture.
How to test JSONPath expressions
Supported selectors
The tester supports root $, dot properties, quoted bracket properties, array indexes, wildcards, recursive property search with $..name, and recursive wildcard search with $..*.
Reading matches
Results are returned as JSON objects containing the matched path and value. This makes it easier to see whether the expression matched the value you expected or a parent object around it.
Useful workflow
- Start with a broad selector such as $.items[*] or $..price.
- Narrow one segment at a time until the count matches your expectation.
- Use bracket notation for property names that contain spaces or punctuation.
Testing notes
The matcher is a focused subset for quick selector checks. Confirm complex production selectors in the library or runtime that will execute them.
Frequently Asked Questions
Does it support filters like [?(@.price > 10)]?
No. This version does not evaluate filter expressions, slices, unions, or script expressions.
How do I select every value under an object?
Use $..* to collect every descendant value, or $..propertyName to collect every property with a specific name.
Why is my bracket selector failing?
Bracket property selectors need quotes, such as $['user-name']. Unquoted brackets are treated as array indexes or wildcards.
Can it query invalid JSON?
No. The JSON must parse first. Syntax errors are shown before the JSONPath expression is evaluated.
Related Tools
- PopularAvailableLocal
UUID Generator
Generate standards-compliant UUID v4 and GUID identifiers individually or in bulk.
- PopularAvailableLocal
JSON, YAML & XML Formatter
Format, minify, and validate JSON and XML, and convert between JSON and YAML.
- PopularAvailableLocal
QR Code Generator & Reader
Create QR codes and read QR images locally.
- PopularAvailableLocal
Base64 Encoder/Decoder
Encode and decode text using Base64 locally.
- PopularAvailableLocal
URL Encoder/Decoder
Encode and decode URLs in separate tabs, with batch and recursive options.
- PopularAvailableLocal
Unix Timestamp Converter
Convert Unix timestamps (seconds and milliseconds) to dates and vice versa.
- AvailableLocal
HTML Entity Encoder/Decoder
Encode and decode HTML entities safely.
- AvailableLocal
Regex Tester
Test regular expressions and preview replacements.
- AvailableLocal
JWT Decoder
Decode JWT header and payload locally.
- AvailableLocal
Cron Expression Generator & Validator
Build, validate, and decode 5-field cron expressions with next run times.