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
Input Text Output JSON Browser-only No upload by default

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

  • Dot paths and bracket array indexes are supported.
  • Very large input can be slower on older devices.
  • This utility is designed for common snippets and local inspection, not as a full security or language-specific validator.
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.

Does JSON Path Tester upload my input?

Your file or text is processed in your browser and is not uploaded.

What does JSON Path Tester output?

It outputs the selected JSON value. Dot paths and bracket array indexes are supported.

Should I review JSON Path Tester output before using it?

Yes. Developer formats and snippets can be context-sensitive, so review generated output before using it in production.