JSON Path
Extract values from JSON using JSONPath syntax. Supports the common subset: $.a.b, $.items[0], $.items[*].price, $..recursive, $["quoted key"]. Pairs with json-flatten for tabular pulls.
About JSON Path
JSON Path pulls specific values out of a JSON document using JSONPath query syntax, so you can grab one nested field or every item in an array without scrolling through the whole structure. It is the tool to reach for when an API response is huge and you only care about a couple of paths. Everything runs in your browser, so even sensitive payloads stay on your device.
- Category
- inspect
- Input
- Accepts: application/json or text/plain.
- Output
- Outputs: application/json.
- Cost
- Free, runs in your browser
- Memory
- low
Common uses
- Extracting every price from an order array with $.items[*].price to eyeball totals quickly
- Pulling a single deeply nested config value out of a sprawling settings blob
- Using $..id recursively to collect every id anywhere in a response, regardless of depth
- Reading a key that contains spaces or punctuation via the $["quoted key"] form
- Grabbing the first element of a list with $.items[0] to inspect its shape
- Spot-checking that a webhook payload contains the field your integration expects
Frequently asked questions
Which JSONPath features are supported?
The common subset: dot access ($.a.b), array indexing ($.items[0]), wildcards ($.items[*].price), recursive descent ($..key), and bracketed quoted keys ($["quoted key"]).
What can I paste in?
Any valid JSON, as a file or pasted text. The output is JSON containing the matched values.
Is my JSON sent to a server?
No. The query runs entirely in your browser, so payloads never leave your machine.
What happens if my path matches nothing?
You get an empty result rather than an error, which makes it easy to tell when a field is absent.
Are filter expressions like [?(@.x>1)] supported?
No. This tool covers the common navigation subset; complex filter predicates are out of scope.
Keywords
- json
- jsonpath
- query
- extract
- select
- path