JSONPath expression tool

JSONPath Extractor

Paste JSON, enter a JSONPath expression, and extract matching values instantly. Built for developers who already know the path they want to run.

0
matches
-
root
0ms
runtime
Extracted result
[]

Expression examples

Click an example and run it.

These examples target high-intent JSONPath searches: arrays, nested fields, recursive keys, indexed values, and filtered records.

JSONPath syntax

What this extractor supports

This page focuses on the JSONPath patterns people use most often in API debugging and data extraction. It supports root selection, child properties, bracket properties, array indexes, wildcards, recursive key search, and simple filter expressions.

Need visual extraction instead?
Pattern Meaning
$.user.nameSelect a nested property
$['user name']Select a key that needs quotes
$.items[0]Select an array item by index
$.items[:1].typeSelect a slice from the start of an array
$.items[*].idSelect a property from every array item
$..idFind every matching key recursively
$.items[?(@.price > 10)]Filter array items by a condition

Primary keyword

JSONPath Extractor

Built for users searching for a direct JSONPath query runner rather than a visual field picker.

Secondary intent

JSONPath query online

Run quick expressions against API payloads, generated JSON, logs, fixtures, and test data.

Privacy angle

Local JSON extraction

The extractor runs in the browser, so sensitive JSON can be queried without a server upload step.

FAQ

JSONPath Extractor questions

What is a JSONPath extractor? +

A JSONPath extractor runs a JSONPath expression against JSON and returns the matching values, objects, arrays, or filtered records.

How is this different from the visual JSON Extractor? +

The visual JSON Extractor is for selecting fields without writing syntax. This page is for users who want to paste or write a JSONPath expression directly.

Can I filter JSON arrays with JSONPath? +

Yes. Use filter expressions such as $.orders[?(@.total > 50)] to keep records that match a condition.

Is JSONPath the same as JSON Pointer? +

No. JSON Pointer identifies a specific location with slash-separated tokens, while JSONPath can query multiple matches, arrays, recursive keys, and filtered records.