Loona Automation logoLoona Developer Tools
Home › Data Converters

JSONPath Tester

In short: paste JSON, write a JSONPath ($.store.book[0].title, $..price, $.items[*].id) and see exactly what it selects.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

Example

Input:

{"name": "Ali", "tags": ["dev", "ops"]}

Output:

"Ali"

About this converter

JSONPath is the SQL of JSON: a small query language ($ is the root, . walks children, [n] indexes arrays, [*] expands them, .. recurses) used by Kubernetes jsonpath output, API testing tools, log processors and config templating. This tester implements the core dialect — child by name or bracket, array indexes, wildcards over arrays and objects, and recursive descent ($..key finds that key at any depth). Filter expressions ([?(...)]) are the one mainstream feature outside its subset; if your path needs a filter, the result here will tell you nothing matched rather than fake an answer.

Frequently Asked Questions

What does $..name do?

Recursive descent: it collects the value of key "name" at every depth in the document and returns them as an array.

Why did my path return nothing?

Either the key/index does not exist along that path, or the path uses a filter expression this tester does not implement — the error message says which.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.