JSONPath Tester Online — Free JSONPath Query & Visualizer

JSON Path Tester

Query and extract data from JSON documents using JSONPath.

Free online JSONPath tester and visualizer. Paste your JSON and write JSONPath queries to extract specific data using familiar dot-notation ($.store.book[*].title), bracket notation ($['store']['book'][0]), filters (@.price < 10), and wildcards (*). Supports RFC 9535 JSONPath with real-time results, match counting, and path visualization. Runs entirely in your browser — no data is ever sent to a server.

Keywords: jsonpath tester, jsonpath online, jsonpath query, jsonpath visualizer, jsonpath filter, jsonpath wildcard, json path tester, json path query, query json, extract json, jsonpath, json path

Tags: json, jsonpath, query, extract, path, jq, tester

Browse all 35 Developer Tools tools →

How to JSON Path Tester Online

  1. Paste your JSON into the left input panel, or upload a .json file.

  2. Enter a JSONPath expression in the Path field (e.g., $.store.book[*].title).

  3. Press ⌘↵ to run the query and see matching results in the output panel.

  4. Use filters like $[?(@.price < 10)] to filter by values, or wildcards like $[*] to iterate arrays.

  5. Copy results with ⌘⇧C, or share the URL with your query encoded.

JSON Path Tester Features

  • JSONPath query execution using RFC 9535-compliant jsonpath-plus library.

  • Real-time query results as you type — no need to press a button.

  • Path suggestions auto-complete from available keys in your JSON.

  • Filter expressions: $[?(@.price < 10)] for numeric, $[?(@.category == 'fiction')] for string comparisons.

  • Wildcards and array slicing: $[*], $[0:2], $[-1:].

  • Recursive descent operator: $..author to find all authors at any depth.

  • Match count shows how many results were found.

  • Works entirely in your browser — no JSON is ever sent to any server.

Frequently Asked Questions

What is JSONPath?
JSONPath is a query language for extracting data from JSON documents, similar to how XPath works for XML. It uses expressions like $.store.book[0].title to navigate through JSON structures.
What does $.store.book[*].title mean?
This expression accesses the 'store' object, then the 'book' array, iterates through all items with [*], and returns each book's 'title' field. The result is an array of all book titles.
How do I filter JSON with JSONPath?
Use the filter expression $[?(@.field op value)] where op is <, >, ==, !=, <=, >=. Example: $[?(@.price < 10)] returns items where price is less than 10.
What is the $..field syntax?
The double dot (..) is a recursive descent operator that searches for a key at any depth in the JSON. $..title finds all 'title' keys anywhere in the document, regardless of nesting level.
Can I use wildcards in JSONPath?
Yes. $[*] iterates all array elements, $.store.* matches all keys in the store object, and $..* finds all leaf values at any depth.
Is JSONPath the same as jq?
No. jq is a more powerful command-line tool with its own syntax. JSONPath is lighter and works in browsers. Some basic jq expressions can be converted to JSONPath.
Does this tool support JSONPath filters?
Yes. Filters use the @ symbol to reference the current item: $[?(@.price >= 5 && @.price <= 20)] combines conditions with && and ||.
Can I extract multiple values?
Yes. An expression like $.store.book[*].author returns an array of all authors. Use flatten mode to get individual results or keeping the array structure.