JSONPath Tester
Free online JSONPath tester, no installation required. Supports recursion, filtering, and slicing
About JSONPath Tester
Runs a JSONPath query against any JSON document you paste and shows the matched nodes pretty-printed. A built-in tokenizer supports root ($), dot and bracket keys, wildcards (*), recursive descent (..), array index and slice [0:2], plus filter expressions like [?(@.price < 10)].
How to Use
1. Paste valid JSON into the JSON Input textarea on the left. 2. Type a JSONPath expression (e.g. $.store.book[*].author) into the input on the right. 3. Click Test to evaluate; the result panel renders JSON with 2-space indentation. 4. Click Examples to insert one of five ready-made paths. 5. Click Copy to copy the JSON-stringified result.
Supported Path Syntax
Root $ and current node @. Member access via .key or ['key']. Wildcard * expands arrays and object values. Recursive descent .. walks all nested levels. Bracket forms: [0] single index, [0:2] slice (start inclusive, end exclusive), [?(@.field op value)] filter with operators >, <, >=, <=, ==, ===, !=, !==. When exactly one node matches, that node is returned directly; otherwise an array of matches is returned.
▶What does the recursive descent operator .. do?
▶Which operators are supported inside filters?
▶Why does a single match come back unwrapped?
▶What happens with malformed JSON?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee