JSONPath Tester and Query Tool

Query JSON with JSONPath expressions, including filters, recursive descent, wildcards and slices, then inspect and copy the matched values.

JSON Data

Matches

0 match(es)
No matches yet. Run a query to see results.

Queries run locally in your browser. Your JSON is never uploaded.

About This Tool

The JSONPath tester runs expressions against a JSON document and lists every match with its path. It covers the syntax that matters in practice: child and wildcard selection, recursive descent with $.., array slices and filter expressions such as [?(@.price < 10)].

Results show both the value and the concrete path, which makes it easy to confirm that a query returns what you expect before putting it into code. Copy a single match, copy the whole list, or export the matches as JSON for a fixture. Everything is evaluated locally, so production payloads can be pasted without concern.

Key Features

Filter expressions

Compare numeric and string fields inside arrays to pick exactly the elements you need.

Recursive search

Use $.. to find a key at any depth without knowing the full path in advance.

Paths in results

Each match shows the concrete path, useful for building follow-up queries or assertions.

Copy and export

Copy one value, the full list, or export all matches as JSON.

When to Use It

Explore an API response

Find where a value lives in a deeply nested response before writing extraction code.

Debug test assertions

Check that a JSONPath used in an automated test selects the intended nodes.

Extract a subset

Pull specific fields from a large payload and export them as a smaller JSON document.

How to Use It

  1. 1Paste the JSON document on the left.
  2. 2Enter a JSONPath expression or pick an example.
  3. 3Click Query and review the matched paths and values.
  4. 4Copy a value, copy all matches, or export them as JSON.

Frequently Asked Questions

Is my JSON uploaded?

No. The query engine runs in the page and all evaluation happens in your browser.

Does it support JMESPath?

Not in this version. The tool focuses on JSONPath, which covers filters, wildcards and recursive descent.

CodeSwordsman

100+ technical tools with browser-local processing — your data never leaves your device. Official Microsoft Store desktop apps: free, ad-free, offline.

Completely Free

© 2026 CodeSwordsman All Rights Reserved

Service Terms | Privacy Policy | Help | Version Updates | About Us

This website uses cookies to ensure you get the best experience on our website. Privacy Policy.