JSON Path Query Tool

Query and extract data from JSON using JSONPath expressions. Navigate complex structures with simple syntax.

data_object JSON Input
search Query Result

JSONPath Syntax Reference

Basic Selectors

$Root element
.propertyDot notation property
['property']Bracket notation property
[index]Array index

Array Operations

[*]All array elements
[1,2,3]Multiple indices
[start:end]Array slice
[0:3]First 3 elements

Recursive Descent

..Recursive descent
$..nameAll "name" anywhere
$..priceAll "price" fields
$..[0]First element of all arrays

Common Examples

$.store.book[*]All books
$.store.book[0].titleFirst book title
$..book[*].authorAll authors
$.store.book[-1:]Last book

Key Features

search

Deep Query

Navigate deeply nested JSON structures with simple expressions. Supports wildcards, slices, and recursive descent.

bolt

Instant Results

Real-time query execution as you type with automatic JSON formatting in the output.

rule

Full Syntax

Supports dot notation, bracket notation, wildcards, array slices, and recursive descent operators.

lock

Privacy First

All processing happens locally in your browser. Data never leaves your device.

Frequently Asked Questions

Getting Started
What is JSONPath?expand_more
JSONPath is a query language for JSON, similar to XPath for XML. It allows you to extract and filter data from JSON documents using a simple, expressive syntax. It's widely used in API testing, data extraction, and configuration management.
How do I use this tool?expand_more
Paste your JSON into the left panel, enter a JSONPath expression in the input field, and click "Query". The matching results will appear in the right panel. Use the example links to try common patterns.
Is this JSONPath tool free?expand_more
Yes. All tools are completely free and run locally in your browser. No signup, no limits, no hidden costs.
Basic Syntax
How do I select nested properties?expand_more
Use dot notation: $.store.book[0].title or bracket notation: $['store']['book'][0]['title']. Both access the same nested value.
What does the $ symbol mean?expand_more
The $ symbol represents the root element of your JSON document. All JSONPath expressions start with $ to indicate you're querying from the top level.
Can I select all items in an array?expand_more
Yes! Use the wildcard [*] to select all elements. For example, $.store.book[*].title gets all book titles.
Advanced Features
What is recursive descent?expand_more
The .. operator performs a deep search through all nested levels of the JSON. $..price finds all fields named "price" anywhere in the structure.
Can I use this tool offline?expand_more
Yes! Once you've visited the page, all functionality works offline thanks to service workers and local processing.