JSONPath Tester

Free

Test JSONPath expressions against JSON data with live results. Supports JSONPath Plus syntax.

$
Examples:

JSONPath Quick Reference

$Root element
.Child operator
..Recursive descent (any depth)
*Wildcard — all elements
[n]Array index (0-based)
[n:m]Array slice
[-1]Last element
[?(@.key)]Filter: has property
[?(@.n==val)]Filter: equality
[?(@.n>val)]Filter: comparison
[?(@.n=~/regex/)]Filter: regex match
@Current node (in filters)

What is JSONPath?

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

Why Test JSONPath?

Building the right JSONPath expression often takes trial and error. Testing live against real JSON data lets you verify matches before using the expression in your application code.

Features

  • Live expression evaluation as you type
  • Support for filters, recursive descent and array slicing
  • Numbered match results with JSONPath paths displayed
  • Preset example expressions for common queries
  • JSONPath quick reference cheatsheet

Reviews

Sign in to write a review