JSONPath

Generate sample JSONSimple
JSON input
Matches

What is JSONPath?

JSONPath is a query language for selecting values inside JSON documents. It lets you point at nested keys, array elements, wildcards, descendants, slices, and filtered items with compact expressions such as $.store.book[*].title.

JSONFather uses an RFC 9535 JSONPath evaluator and runs queries locally in the browser. Matched values include normalized result paths, so selectors can be tested against real payloads before they are used in code, monitoring rules, documentation, or data extraction workflows.

How to Test a JSONPath Query

Paste JSON into the input editor, enter a JSONPath expression, and choose Run JSONPath. Start with simple child selectors, then add wildcards, slices, descendants, or filters. Review both the matched values and their paths before copying the selector into production code.

Available actions

  • Run JSONPath
  • JSONPath expression
  • Import JSON file
  • Copy output
  • Download output
  • Create expiring JSON share link
  • Collapse all
  • Expand all
  • Escape JSON string
  • Unescape JSON string
  • Generate sample JSON
  • Simple sample
  • Medium sample
  • Complex sample
  • Back to top
  • Back to bottom
  • Find in editor
  • Previous match
  • Next match
  • Replace all
  • Close search panel

Example

Input

{"store":{"book":[{"title":"Sayings","price":8.95},{"title":"Sword","price":12.99}]}}

Output

$.store.book[*].title
"Sayings"
"Sword"

FAQ

Which JSONPath syntax is supported?

The evaluator follows RFC 9535 JSONPath syntax, including child selectors, wildcards, descendants, slices, and filters.

Are expressions executed as JavaScript?

No. jsonfather uses a JSONPath implementation for the standard grammar instead of evaluating arbitrary JavaScript.

Can I see where a match came from?

Yes. Each result includes a display path such as $.store.book[0].title.