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
Not saved automatically

Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.

Saved JSONPath Extractor workspaces

Saved only on this device. Clearing browser data removes your workspaces. Expired saves are removed when this app next checks storage.

No saved workspaces for this tool yet.

JSON to Matched values

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.

Type, paste or drop a file
JSON
Ln 1, Col 1Spaces: 2UTF-842 bytes

Output

Matched values (read-only).

Read-only
JSON
Ln 1, Col 1Spaces: 2UTF-80 bytes
Ready when you arePaste your input, then press Run tool or ⌘ ↵

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

  1. Paste or type your JSON into Input, drop a file onto it, or press Example to load a sample.
  2. Choose the settings in the Query bar under the editors.
  3. Press Run tool, or ⌘ ↵ from anywhere on the page.
  4. 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