JSONPath Tester
Evaluate JSONPath expressions against JSON data in real time. Supports filters, slices, wildcards, and recursive descent.
Examples:
JSONPath Syntax Reference
$— root.property— child property[n]— array index (negative for end)[start:end]— array slice[*]— wildcard..property— recursive descent[?(@.field == 'value')]— filter expression
How to Use
Evaluate JSONPath expressions against JSON data in real time. Supports filters, slices, wildcards, and recursive descent.
- 1Paste your JSON document into the input area on the left.
- 2Type a JSONPath expression in the path field, or click one of the example buttons to start.
- 3The result panel updates instantly as you type — matched values appear as a JSON array.
- 4Use bracket notation [n] for array indexing, [*] for wildcards, and [?(@.field == 'value')] for filters.
- 5Click 'Copy' to copy the result, or 'Reset' to restore the sample JSON and a default expression.
Key Features
- Real-time evaluation — see matches update as you type the path or edit the JSON
- Built-in examples — clickable buttons demonstrate common JSONPath patterns including filters and slices
- Filter expressions — supports comparison operators (==, !=, <, >, <=, >=) on numeric and string values
- Recursive descent — use .. to find matching keys at any depth in the document
- 100% client-side — your JSON never leaves your browser; the entire evaluator runs in JavaScript