DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
HomeJSONJMESPath Tester

About JMESPath Tester

JMESPath Tester preview - JSON tool

Query JSON with JMESPath expressions + live result + examples. Part of the DevTools Surf developer suite. Browse more tools in the JSON collection.

Use Cases

  • Extract specific fields from a large AWS CLI response
  • Prototype filters before using them in Ansible or AWS CLI
  • Learn JMESPath syntax by seeing live output
  • Write event-filter expressions for CloudWatch or EventBridge

Tips

  • Put the JMESPath expression on line 1 and JSON from line 2 onward
  • Use users[*].name to project a field across an array
  • Bracket indexes [0], [-1] are supported

Fun Facts

  • JMESPath is used by the AWS CLI — every --query you've ever written is JMESPath syntax.
  • JMESPath was created by James Saryerwinnie at Amazon and has official implementations in Python, Go, JavaScript, Java, PHP, Ruby, Lua, and Rust.
  • Unlike JSONPath, JMESPath has a formal ABNF grammar specification, making it one of the few JSON query languages with deterministic behavior across implementations.

FAQ

Where is JMESPath used in practice?
AWS CLI's `--query` flag, Ansible filters, Azure CLI, Terraform providers, and many API client libraries. If you've used `aws ec2 describe-instances --query ...`, you've used JMESPath.
How do I filter a list of objects?
Use `[?property=='value']`. For example `Reservations[*].Instances[?State.Name=='running']` pulls running EC2 instances from a describe-instances response.
What's the difference between `|` and `.`?
`.` applies the next expression to each element in a projection; `|` stops the projection and applies the next expression to the whole result. Useful when you want to sort or slice the filtered list.
Does JMESPath support arithmetic?
Only through built-in functions (length, sum, avg, min_by, max_by, etc.). There are no infix math operators — JMESPath is a query language, not a calculator.

Related JSON Tools

JSON FormatterJSON ValidatorJSON ViewerJSON StringifyJSON PatchJSON DiffJSONPath TesterJSON Sort Keys
New · Flagshipsimple REST client

REST Handler — Collections, env vars, history, cURL converter

Send requests, save collections (nested), swap environments, and convert between cURL / Collection JSON / REST Handler YAML.

Open

Popular tools

The most-used tools on DevToolsSurf, one click away.

Encoding & crypto

  • Base64 Encode
  • Base64 Decode
  • URL Encoder
  • URL Decoder
  • Hash Generator
  • JWT Decoder
  • JWT Encoder
  • UUID Generator
  • ULID Generator
  • Password Generator
  • Bcrypt Hash Tester

Converters

  • CSV to JSON
  • JSON to CSV
  • XML to JSON
  • JSON to XML
  • HTML → Markdown
  • HTML → React JSX
  • cURL to Code
  • Collection JSON → cURL
  • Swagger to Collection JSON
  • JSON → Go Struct
  • JSON → TypeScript Types

JSON & YAML

  • JSON Formatter
  • JSON Validator
  • JSON Viewer
  • JSON Minifier
  • JSON Diff
  • JSONPath Tester
  • YAML Formatter
  • YAML to JSON
  • JSON to YAML

Text & regex

  • Regex Tester
  • Text Diff
  • Case Converter
  • Word Counter
  • Markdown Preview
  • Slug Generator
  • Lorem Ipsum Generator
  • Markdown → PDF

CSS & color

  • CSS Beautifier
  • Minify CSS
  • Color Converter
  • Gradient Generator
  • Contrast Checker
  • Color Palette Generator
  • Flexbox Playground
  • Tailwind → CSS

Generators

  • QR Code Generator
  • Mock Data Generator
  • Favicon Generator
  • .gitignore Builder
  • README.md Generator
  • Dockerfile Generator
  • Sitemap Generator

API & networking

  • REST Handler
  • HTTP Header Analyzer
  • IP Address Lookup
  • CIDR Calculator
  • User-Agent Parser
  • HTTP Status Reference
  • OpenAPI Viewer

Date & time

  • Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • Duration Calculator
  • Age Calculator
  • Date Format Converter

Images

  • Image Converter
  • Image Resizer (Batch)
  • SVG Optimizer
  • Base64 ↔ Image
  • WebP ↔ AVIF Converter
  • Image Compressor

PDF tools

  • PDF Merger
  • PDF Splitter
  • PDF Compressor
  • Markdown → PDF
  • EPUB → PDF
  • MOBI / AZW → PDF
  • DOCX → PDF
  • HTML → PDF

Resources

  • Community feed
  • Themes marketplace
  • Pricing & credits
  • Privacy policy
  • Terms of service
  • Sitemap
  • robots.txt

Your account

  • Sign in
  • Dashboard
  • Run history
  • My profile
  • Settings
DevTools Surf logo
DevTools Surf919+ tools

Fast · privacy-first · client-side · © 2026

Home·Feed·ThemesPricing·Sign inPrivacy·Sitemap Feedback