{DT}DevToolkit
$.

JSONPath Tester

Test JSONPath expressions against your JSON data. Extract and filter with live results.

JSONPath Expression

Example Queries

JSON Data

Results

Query results will appear here...

JSONPath Syntax Reference

$

Root object

.property

Child property

['property']

Child property (bracket notation)

..

Recursive descent

*

Wildcard (all children)

[n]

Array index

[start:end]

Array slice

[0,1,2]

Multiple indices

[?(@.price<10)]

Filter expression

How to Use

  1. Paste your JSON data in the left panel
  2. Enter a JSONPath expression in the search box (e.g., $.store.book[*])
  3. Results update automatically as you type
  4. Click example queries to try common patterns
  5. Copy the results or share the query with your team

Common Patterns

$.users[*].name

Get all user names from an array

$..id

Find all id values at any depth

$.items[0:5]

Get first 5 items from array

$.products[?(@.inStock==true)]

Filter products that are in stock

Features

  • Real-time query results
  • Full JSONPath syntax support
  • Filter expressions
  • Array slicing
  • Recursive descent
  • Path display for each result
  • Example queries included
  • Shareable results

Frequently Asked Questions