JSONPath Tester
Free online JSONPath tester, no installation required. Supports recursion, filtering, and slicing
What is JSONPath?
JSONPath is a query language for extracting data from JSON documents. Similar to XPath for XML, JSONPath allows you to navigate and filter elements in JSON structures using expressions. This tool supports standard JSONPath syntax including recursive descent, array slicing, filter expressions, and more.
Supported Syntax
$ - Root node . - Child operator .. - Recursive descent (search all levels) * - Wildcard (match all elements) [0] - Array index [0:2] - Array slice (from start to end, excluding end) [?(@.expr)] - Filter expression (filter elements matching condition) @ - Current node (used in filter expressions)
How to Use JSONPath Tester
Paste or enter JSON data in the left input box. Enter a JSONPath expression in the right box. Click the "Test" button to see matching results. Use the "Examples" button to quickly load common JSONPath expressions.
▶What is the difference between JSONPath and JavaScript?
▶How do I use recursive descent (..)?
▶What comparison operators are supported?
If this tool helped you, consider buying the author a coffee.
Buy Me a Coffee