DevFlow logoDevFlow
ToolsPipelinesExploreDocsPricing
⌘F
DashboardPipeline BuilderAnalytics

Try Pro — Free 7 days

No credit card required

JSON Path Tester Online — Free JSONPath Query & Visualizer

How to JSON Path Tester Online

  1. 1

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

  2. 2

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

  3. 3

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

  4. 4

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

  5. 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.

Related Developer Tools

  • JSON FormatterPrettify, minify, and validate JSON data instantly.
  • JSON to TypeScript & Schema GeneratorGenerate TypeScript interfaces, Zod schemas, and Valibot schemas from JSON.
  • Regex TesterTest, debug, and explain regular expressions with real-time match highlighting.
  • Base64 Encode/DecodeEncode and decode Base64 strings, files, and data URIs instantly.