JSONPath Evaluator

Query and extract properties from JSON objects using JSONPath queries. Fast, free, and fully client-side.

Loading tool...

How the JSONPath Evaluator Works

Runs a path expression such as $.store.book[0].title against a JSON document and returns the value it selects. Dot notation, bracket indexes, and the [*] wildcard are supported, and the leading $ is optional. A path that matches nothing is reported as not found. Evaluation runs in your browser and the document is never uploaded.

Usage Example

Pulling every product price out of a large catalog export with the path $.products[*].price.

Frequently Asked Questions

Which path syntax is supported?

Dot notation such as .store.book, numeric bracket indexes such as [0], and the [*] wildcard for every element of an array. Filter expressions like [?(@.price < 10)] and recursive descent with .. are not supported by this evaluator.

Is the leading dollar sign required?

No. The $ root marker is optional, so store.book[0] and $.store.book[0] select the same value. Paths are always resolved from the root of the document you paste.

What does the output show when nothing matches?

The result reads "Path not found" followed by undefined, meaning the path is valid but the document has no value there. Check key spelling and array indexes, because each segment must match a key in the document exactly.

Browse more

See all JSON tools.