JMESPath Tester
Free online JMESPath tester. Ideal for AWS CLI --query and Azure CLI. 100% client-side.
Loading tool...
What is JMESPath Tester?
The JMESPath Tester is a free browser-based playground for the JMESPath query language. Paste any JSON document, type a query, and see the extracted result instantly. It supports the full grammar β identifiers, wildcards, slices, filters, multiselect lists and objects, pipes, and built-in functions β and reports syntax errors with the parser message so you can fix queries fast.
Key Benefits
- Debug AWS CLI --query and Azure CLI expressions before running them for real
- Learn JMESPath interactively with curated examples and instant feedback
- Keep sensitive JSON on your machine β nothing is uploaded
- Distinguish no-match null results from actual errors
Common Use Cases
- β’Writing the --query argument for aws ec2 describe-instances style commands
- β’Extracting fields from large API responses before piping them onward
- β’Prototyping JMESPath expressions for boto3 or Terraform data sources
- β’Teaching teammates JMESPath patterns with shareable example queries
How to Use the JMESPath Tester
- Paste your JSON: Paste or type the JSON document you want to query into the JSON Data box. The tool flags invalid JSON immediately so you fix the payload before debugging queries.
- Enter a JMESPath query: Type a query such as people[?age > `30`].name in the query field, or click one of the example chips to load a ready-made query with matching sample data.
- Read the result: The result pane shows the pretty-printed JSON output. A null result means the query matched nothing β a normal JMESPath behavior, not an error.
- Inspect matches and errors: The matched-values panel lists what the query selected with synthesized paths. If the query is malformed, the tool shows whether it is a syntax error or a runtime error with the parser message.
Key Features
- Runs the official JMESPath reference implementation fully in your browser
- Live result pane with pretty-printed JSON and a no-match null indicator
- Matched-values panel with synthesized paths for projection results
- Parse and runtime errors classified separately with parser messages
- Curated example queries covering filters, multiselect, and functions
- JSON validation feedback before you even run the query