TFT

JMESPath Query Tool – Run JMESPath Online

Execute JMESPath expressions on JSON for advanced filtering, projection, and transformation. Our free JMESPath tool is ideal for AWS CLI users and developers working with complex JSON.

About JMESPath Query Tool

Working with deeply nested JSON data means writing verbose code just to extract a single value. This tool lets you run JMESPath expressions directly in your browser, giving you instant results without setting up any libraries or writing boilerplate code.

How it works

Paste your JSON into the input area and type a JMESPath expression in the expression field. The tool parses your JSON and applies the expression using a built-in JMESPath evaluator that handles projections, filters, and nested access.

Use the Quick Expressions buttons to try common patterns like array projection (locations[].name) or deep nested access. Results appear instantly in the Query Result section below, ready to copy or download.

When you'd use this

You're debugging AWS CLI output or working with complex API responses. Instead of writing Python or JavaScript to navigate the structure, test your JMESPath queries here first to verify they return the expected data.

This implements basic JMESPath syntax including property access, array projections, and indexing. Advanced features like filters, multi-select hashes, and functions are not supported in this lightweight version.

Questions

What is JMESPath?

JMESPath is a query language for JSON that lets you extract and transform data using a concise syntax. It's built into AWS CLI and many SDKs.

How do I access nested properties?

Use dot notation like "user.profile.email" to drill down through nested objects. Each dot moves one level deeper.

What does the [] syntax do?

The [] operator projects over arrays. "items[].name" returns an array of all name values from each item in the items array.

Can I access array elements by index?

Yes, use [0] for the first element, [1] for the second, and so on. Combine with property access like "users[0].name".

Does this work offline?

Yes, all processing happens in your browser. Your JSON data never leaves your device, making it safe for sensitive information.