JSON Path Tester Online

Write and test JSONPath expressions against complex JSON documents. Extract specific keys, array elements, and nested object fields effortlessly.

JSON Path Tester Online

Test and extract values from JSON structures using JSONPath queries ($ expression syntax).

Layout:
Editor Height:
Input JSON12 lines
Evaluation Output

Popular JSON Utilities

Explore Related JSON Tools

JSONPath Syntax Guide & Examples

$

Refers to the root object or array.

$.store.books[*]

Selects all items inside the `books` array.

Comparing two JSON files?

Use our JSON Comparison tool to highlight differences line-by-line.

JSONPath FAQ

Q:What is JSONPath?

JSONPath is a query language for JSON, similar to XPath for XML. It allows extracting specific keys, array indices, or filtered nodes from nested JSON payloads using $ expressions.

Q:What does the $ symbol mean in JSONPath?

The $ symbol represents the root object or root array of your JSON document.

Q:How do I query all items in an array with JSONPath?

Use the wildcard array syntax $.items[*] or $.store.books[*].title to extract all title elements from a collection.