JSONPath & JMESPath
ClientSwitch between JSONPath and JMESPath, paste JSON, and copy query results— useful for APIs, logs, and config inspection.
Learn more: JSONPath and JMESPath
Extract slices of a large JSON value with JSONPath (jsonpath-plus) or JMESPath—handy for logs, APIs, and config without loading extra desktop tools.
Which to use
JSONPath is familiar from many linters and test tools; JMESPath appears in cloud CLIs and filters. Both return JSON-friendly results you can copy out. For JSONata-style transforms, open the dedicated JSONata hub page instead of forcing those expressions into JSONPath.
Query JSON
?
JSONPath (jsonpath-plus) uses expressions like $.a.b[*]. JMESPath is common in AWS CLI-style filters.
Nearby workflows on Toolcore
- JSON formatter — when the document must parse before any transform or export.
- jq filter — when JSONPath-style queries need jq expression power.
Common use cases
- Pull nested fields from large API or log JSON without writing a one-off script.
- Prototype JSONPath or JMESPath expressions before embedding them in apps, jq pipelines, or AWS CLI filters.
- Compare how the same payload answers different query languages side by side.
- Slice repeated structures—arrays of objects or nested lists—to a small result set for copy-paste into tickets or docs.
Common mistakes to avoid
Expecting JSONPath and JMESPath to use identical syntax
They are different grammars. An expression that works in one may need rewriting in the other—always verify against your runtime.
Querying non-JSON or truncated input
Queries assume valid JSON. Fix parse errors in the document first; otherwise results will be empty or misleading.
Copy-pasting JSONPath flavor from another vendor
JSONPath has several implementations with different extensions. Treat this page as a quick check—confirm against your library’s docs for filters and functions.
FAQ
Are queries executed on your servers?
No. Parsing and evaluation run locally in your browser.
Which dialect matches my cloud API?
Vendors differ. Use this page to test expressions, then confirm with the exact engine your service documents.
How does this relate to the jq filter page?
Use JSONPath or JMESPath when your toolchain speaks those dialects. Use jq when you want jq’s expression language—see that page for wasm/runtime limits.
Common search terms
Phrases people search for that match this tool. See the full long-tail keyword index.
- jsonpath online
- jmespath query online
- query json with jsonpath
More tools
Related utilities you can open in another tab—mostly client-side.
jq filter (JSON)
ClientRun jq filters on JSON in your browser—pipes, select, map; WebAssembly, no upload.
JSONata (JSON)
ClientEvaluate JSONata expressions on JSON locally—queries and transforms beside JSONPath and jq.
JSON Logic evaluator
ClientEvaluate portable JSON Logic rules on JSON data—if, var, maps—in your browser.
JSON formatter
ClientJSON format online: pretty-print, minify, validate, escape, download .json.