CloudAlls Tools
Formatters tool

JSONPath Tester

Query JSON with JSONPath expressions and see the matches live.

✦ Browser-first

Supports $, .key, ['key'], [n], negative indexes, [*], .*, ..recursive descent, [a:b:step] slices and [n,m] unions. Filter expressions are not supported.

Why it is useful

About this tool

Paste JSON and type a JSONPath expression to see every match instantly. Supports child and wildcard selectors, recursive descent, array indexes, slices and unions.

Quick guide

How to use the JSONPath Tester

  1. Paste your JSON document.
  2. Type a JSONPath expression starting with $.
  3. Read the matches and the match count.

Common uses

  • Extracting fields from API responses
  • Testing paths before using them in code
  • Learning JSONPath
FAQ

JSONPath Tester questions

What does $ mean?

It is the root of the document. Every JSONPath expression starts there.

What is the difference between . and ..?

A single dot selects a direct child. Two dots search all descendants.

Are filter expressions supported?

No. This tester covers selectors, wildcards, indexes, slices, unions and recursive descent.