Extract values from JSON data using JSONPath expressions. JSONPath is a query language for JSON, similar to XPath for XML. Use JSONPath expressions to find and extract specific values, arrays, or objects from complex JSON structures.
You need to extract deeply nested values from large JSON payloads.
You want to validate a JSONPath query before using it in code.
Input
{ "user": { "profile": { "email": "dev@example.com" } } }
Path: $.user.profile.emailOutput
dev@example.com
Dot notation is best for simple object keys.
Input
{ "users": [{ "id": 1 }, { "id": 2 }] }
Path: $.users[*].idOutput
[1, 2]
Use [*] to match every item in an array.
Pull specific fields from API responses for debugging.
Test JSONPath queries used in data pipelines.
Using dot notation for keys that contain dashes or spaces.
Forgetting that JSONPath is case-sensitive.
Use $ to reference the root JSON object.
Use dot notation for simple keys and bracket notation for keys with spaces or special characters.
Format invalid or minified JSON first if path results are hard to inspect.
Paste your JSON data and enter a JSONPath expression (e.g., $.store.book[*].title). The matching values will be extracted and displayed.
The tool supports standard JSONPath syntax including $ (root), . (child), [] (array index), * (wildcard), and more.
Yes, JSONPath expressions can match multiple values, which will all be displayed in the results.