JSONPath Extractor
Pull values out of a JSON document with a JSONPath expression instead of reading it by hand.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste or edit your JSON, then click “Run tool”.
Paths like $.user.name and $..id work, and so do filters such as $.users[?(@.age > 18)].name. Filters run in a sandboxed evaluator that can read your document and nothing else.
Output
Matched values (read-only).
Using the JSONPath Extractor
Overview
Pull values out of a JSON document with a JSONPath expression instead of reading it by hand.
Pull a few values out of a large response without scrolling through it.
How to use it
- Paste or type your JSON into Input, drop a file onto it, or press Example to load a sample.
- Choose the settings in the Query bar under the editors.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
JSON. Paths like $.user.name and $..id work, and so do filters such as $.users[?(@.age > 18)].name. Filters run in a sandboxed evaluator that can read your document and nothing else.
Settings
- Path — for example $.user.name
Output
Matched values.
- Dot and bracket paths
- Recursive descent with ..
- Filter expressions
- Sandboxed filter evaluator
Tips
- JSONPath starts at $, so $.user.name reads the name inside user.
- JSON Diff compares by path, so reordered keys are not reported as changes.
- A generated schema is a starting point to edit, not a finished contract.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar