How to use the JSONPath Tester
Test JSONPath expressions live against any JSON:
Paste your JSON
Paste any JSON document into the left panel. Use the Sample button to load a pre-built example with books, nested objects, and arrays.
Write a JSONPath expression
Type a JSONPath expression in the expression bar at the top — it always starts with $. Try $.store.books[*].title or $..author to get started.
Click Run Query
Hit Run Query or press Enter to evaluate the expression. Every matching node appears in the results panel with its full path and value.
Explore results
Each result shows the JSONPath to the match and a colour-coded value badge. Click the expand arrow on objects and arrays to inspect the full value inline.
Use the syntax reference
Click any token in the syntax reference panel at the bottom to append it to your current expression — useful for building complex filter queries step by step.
When to use this tool
Use this whenever you need to write, test, or debug a JSONPath expression:
- →Building JSONPath queries for AWS Step Functions InputPath, OutputPath, and ResultPath before deploying
- →Writing JSONPath expressions for AWS EventBridge event patterns or CloudWatch metrics filters
- →Testing JSONPath filters for API gateways, data transformation pipelines, or message brokers
- →Debugging JSONPath expressions in Kubernetes admission controllers or OPA policy definitions
- →Learning JSONPath syntax by experimenting with live expressions on your own JSON data
- →Extracting specific fields from deeply nested API responses before wiring them into your application