Developer Tools

JSONPath Tester

Paste a JSON document and write JSONPath expressions to query it interactively. Results are highlighted and displayed as a list, ideal for developing queries for JavaScript code, APIs, or data pipelines.

Runs in your browser No data sent to servers Copy or download result
json JSON
Options
⌘↵
Runs in your browser; code never leaves your device

Features

  • Real-time JSONPath query evaluation
  • Supports standard JSONPath: $, ., .., [], ?(), *
  • Shows all matched nodes and their paths
  • Highlights matched nodes in the JSON source
  • Copy matched results as JSON array
  • Browser-only

How to use it

  1. Paste your JSON document into the left panel.
  2. Type a JSONPath expression in the query field (e.g. $.store.books[*].author).
  3. Matching results appear below instantly.
  4. Copy the results as a JSON array.

Use cases

  • Developing JSONPath filters for JavaScript APIs
  • Querying nested API responses during development
  • Testing AWS IAM policy path expressions
  • Extracting specific fields from large JSON datasets

Limitations

  • Filter expressions with complex arithmetic may not be supported in all implementations.
  • Very large JSON documents may be slower to query in the browser.
Questions & answers

Frequently asked

What JSONPath syntax is supported?

Standard Goessner JSONPath including $ root, . child, .. recursive descent, * wildcard, [] subscript, [?(...)] filter expressions, and [start:end:step] array slices.