DEV
Query Lab

Advanced JSON Path Finder

A high-performance query engine for deep JSON navigation. Explore, filter, and extract data with precision.

JSON Source
path:
No history yet...
Evaluation Result
4 matches
[
  "Nigel Rees",
  "Evelyn Waugh",
  "Herman Melville",
  "J. R. R. Tolkien"
]

JSONPath defines expressions to traverse, filter and extract data.
$ : Root, .. : Deep Scan, @ : Current Node, ?() : Filter

Pro Guard

Built with jsonpath-plus for industry-standard reliability. Features secured evaluation mode and full support for complex selectors.

Instant Insight

Real-time evaluation as you type. Combined with query history and copy-to-clipboard, it's the ultimate workflow for data processing.

Mastering JSONPath
A beginner-friendly guide to querying your data like a pro.

The Basics

Think of JSONPath like a "File Path" but for your data. You start from the Root ($) and drill down.

  • $The very top of your JSON. Always start with this.
  • .Go one level deeper (e.g., $.store).
  • ..Search anywhere for a key (e.g., $..price).

Working with Lists

When you have an array (list) of items, you can pick specific ones or all of them.

  • [*]Select everything inside a list.
  • [0]Get the first item only.
  • [-1:]Get the very last item in the list.

Advanced Filters

This is the most powerful feature. You can search for data based on conditions.

Syntax Example
$..book[?(@.price < 10)]

"Find all books anywhere ($..) specifically where ([?]) the current book's (@) price is less than 10."

Common Shortcuts Table

What you wantExpressionExplanation
Get all authors$..authorFinds 'author' no matter how deep it is buried.
First 2 books$.store.book[0,1]Select multiple specific items by index.
Books with ISBN$..book[?(@.isbn)]Finds books that have the 'isbn' property defined.
All object keys$.store.*Gets everything (bicycle, books, etc.) inside store.