Run a JSONPath query against your own document as RFC 9535 defines it, and get each result with the normalised path that addresses it on its own.
Waiting for a document
Evaluates the query as RFC 9535 defines it, and gives each result its normalised path.
Nothing to query yet
Paste a document, or load the example to run a filter that compares against the document's own values.
JSONPath Tester runs entirely on your device. The query is parsed into a tree and walked — nothing in it is executed, and the document never leaves your browser.
You’re on the Free plan. Compare plans
JSONPath spent twenty years as a blog post with implementations that disagreed about nearly everything — whether `$..book[0]` meant the first book of each array or the first of all of them, what a missing key did inside a comparison, how to address a result afterwards. RFC 9535 settled those in 2024, and this follows the specification rather than any one library.
Every result carries its **normalised path**: the canonical bracket form that names exactly one node. That is the part worth having. A query describes a set; the normalised path of a member is what you put in a patch, a schema, a test assertion or an error message afterwards. The JSON Pointer for the same position is one switch away.
Filters are parsed into a tree and walked. Nothing in a query is executed — there is no `eval` here and no way for an expression to reach anything but the document you pasted.
The specification's five functions are supported: `length`, `count`, `value`, `match` and `search`. `match` anchors to the whole value and `search` does not, which is the distinction most implementations blur.
A query that selects nothing returns an empty result rather than an error, because in JSONPath that is the correct outcome and not a failure.
The canonical way RFC 9535 writes one position: always bracket notation, always single quotes, always a literal name or index. $['store']['book'][0] rather than $.store.book[0]. Two tools that agree on the specification will produce the same string for the same node, which is what makes it usable as an identifier.
Most libraries predate the specification. The usual differences are comparisons involving a missing key, which compare as Nothing here and match nothing rather than null, and ordering operators on values that are not two numbers or two strings, which are always false — so negating one is not the same as reversing it.
One whose every segment names a single member or index, with no wildcards, slices, filters or descendants. It matches at most one node, which is what lets it be used where a specific position is required. The page says when yours is one.
No. A pointer names exactly one position and has no way to search. JSONPath is a query language with wildcards, slices and filters that can match many. The pointer is offered beside each result because the two describe the same position in different notations.
No. It is parsed and queried in your browser, and nothing in the query is executed. Neither the document nor the query leaves the page.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab