All tools

JSONPath Tester

JSON

Test JSONPath expressions on JSON data

Figuring out the right query syntax to pull `$.items[*].price` out of a nested API response is much faster against real sample data than by guessing in your own code. This tester follows the JSONPath conventions popularized by Stefan Goessner's original implementation, the closest thing to a de facto standard most JS libraries share, including array wildcards and filter expressions like `[?(@.price>10)]`. Because JSONPath isn't a strictly standardized spec, it's worth testing your expression here first and then verifying it against whatever JSONPath library your actual backend uses, since advanced filter syntax can vary between implementations.

jsonjsonpathquery

How to use JSONPath Tester

  • 1.Paste a JSON document and write a JSONPath expression like `$.items[*].price` to extract matching values live.
  • 2.Use it to figure out the right JSONPath query for an API client or log-processing script before writing any code.
  • 3.Test edge cases like array wildcards or filter expressions (`$.items[?(@.price>10)]`) against real sample data to confirm they match what you expect.

Frequently asked questions

Which JSONPath implementation/spec does this follow?
It follows the common JSONPath conventions popularized by Stefan Goessner's implementation, which is what most JS libraries implement — note that JSONPath isn't a strict, universally standardized spec, so some advanced filter syntax may vary slightly between libraries.
Is my JSON data sent to a server?
No, both the JSON and the JSONPath expression are evaluated entirely in your browser.
Does it support filter expressions like `[?(@.field > 5)]`?
Yes, basic filter expressions are supported, but very complex or nested filter logic should be tested carefully since filter syntax support varies across JSONPath libraries.
Can I use this to build a query for a backend I don't control?
Yes — test your expression here against sample data first, then verify it also works against your actual backend's specific JSONPath library, since exact behavior can differ.

Use via API, SDK, or MCP

Installnpm install @utilix-tech/sdk
Usageimport { json } from '@utilix-tech/sdk'
const result = json.evaluateJsonPath('{"users":[{"name":"Alice"},{"name":"Bob"}]}', '$.users[*].name')
console.log(result.matches) // ['Alice', 'Bob']

Runs locally · no API key · no rate limits · Node.js SDK docs →