HomeToolsJSONPath Finder

JSONPath Finder

Query and extract data from JSON using JSONPath expressions. Supports dot notation, array indexing, wildcards, and recursive descent.

JSONPath query supportInteractive tree viewClick-to-copy pathWildcard & recursive descentArray indexingClient-side only
Query results will appear here...

How to Query JSON with JSONPath

  1. 1Paste your JSON data into the left input area
  2. 2Enter a JSONPath expression (e.g., $.store.book[*].author)
  3. 3Click "Query" or press Enter to execute the query
  4. 4View matching results with their paths in the right panel
  5. 5Use the interactive tree view to explore your JSON structure
  6. 6Click any tree node to populate the expression field with its path

Frequently Asked Questions

What is JSONPath?

JSONPath is a query language for JSON, similar to XPath for XML. It lets you select and extract data using expressions like $.store.book[0].title to get specific values from complex JSON structures.

What JSONPath operators are supported?

This tool supports: $ (root), .key (child), [n] (array index), [*] (wildcard for all elements), ..key (recursive descent to find a key at any depth), and bracket notation for special characters.

How does recursive descent (..) work?

The .. operator searches for a key at every level of the JSON tree. For example, $..price finds all "price" fields regardless of where they appear in the structure.

Can I click elements to get their path?

Yes. The tree view shows your JSON as an expandable tree. Clicking any node sets the JSONPath expression to that element's path, making it easy to build queries interactively.

Is this a full JSONPath implementation?

It covers the most commonly used JSONPath features. Advanced features like filter expressions (?()) and script expressions are not included, but dot notation, array indexing, wildcards, and recursive descent cover most use cases.

Need More Developer Tools?

Explore our complete collection of free online developer utilities

View All Tools