KitBench

JSONPath Tester

Evaluate JSONPath expressions against JSON payloads locally with instant matched results, paths, and syntax errors.

Privacy Notice: Runs locally in your browser without uploading files to external servers or requiring an account.

Interactive Browser Workspace

Loading the interactive JSONPath Tester workspace. Enable JavaScript in your browser to run calculations and conversions locally.

How to Use JSONPath Tester

  1. Paste valid JSON into the dataset editor or load the built-in bookstore sample.
  2. Type a JSONPath expression starting with "
    quot; (or click an example preset like $.store.book[*].author).
  3. Review match count, exact matched JSON paths, and copy the matched results JSON.

Methodology & Accuracy

Validates JSON syntax via JSON.parse and evaluates JSONPath expressions locally using the maintained jsonpath-plus library in safe evaluation mode.

Examples

  • `$.store.book[?(@.price < 15)].title` extracts titles of every book priced below 15.

Scope & Limitations

  • Uses safe filter evaluation mode so arbitrary JavaScript code execution inside filter expressions is blocked.

Frequently Asked Questions

What does "$.." mean in JSONPath?

The double dot (`$..author`) performs recursive descent, finding every matching property named "author" at any nesting depth.

Related Tools

  • JSON Formatter - Pretty-print, indent (2 or 4 spaces), and inspect structured JSON payloads safely.
  • JSON Validator - Check JSON syntax strictly against RFC 8259 and pinpoint syntax errors immediately.
  • JSON to CSV Converter - Convert JSON arrays of objects into RFC 4180 CSV with dot-notation flattening, consistent missing values, and download.