JSONPath / JMESPath Playground
Run JSONPath or JMESPath queries against any JSON. Switch languages on the fly. Runs entirely in your browser.
JSON Query
·
3 matches
Loading editor…
[ "User One", "User Two", "User Three" ]
Frequently asked questions.
- What is JSONPath?
- JSONPath is a query language for JSON inspired by XPath. Paths start with $ (root) and use . and [] to drill in. $.store.book[*].title returns every book title under store.book.
- What is JMESPath?
- JMESPath is another JSON query language, used by AWS CLI among others. It is more featureful than JSONPath — filters, projections, functions — and has a strict grammar.
- Which should I use?
- JSONPath if your team already knows XPath or if you want shorter expressions. JMESPath if you need transformations beyond extraction (pipes, functions, multi-select).
- Does my JSON leave my browser?
- No. Both query libraries run in your browser. No server.
More JSON tools.
- FormatPretty-print JSON with line-accurate errors. Sort keys on demand.
- ValidateCheck a JSON document against a JSON Schema. Per-path error messages.
- MinifyStrip whitespace and shrink your JSON payload. Reports bytes saved.
- Tree ViewBrowse JSON as a collapsible tree. Drill into nested data without scrolling.
- Semantic DiffCompare two JSON files by structure. Per-path adds, removes, modifications.
- JSON ↔ TypeScriptGenerate type definitions from sample JSON. Powered by quicktype. Reverse it too.