Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

JSONPath Tester

Test expressions live

  • Free
  • Nothing stored
  • No account needed

You can run a JSONPath expression against pasted JSON and get the matched values, a result array, and normalized paths instantly. For example, $.store.book[?(@.price < 10)] can return 2 matches. You can copy or share the link.

Matches
2 matches
Result
[
  "Things Fall Apart",
  "Sayings of the Century"
]
Paths
$['store']['book'][0]['title']
$['store']['book'][2]['title']
Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About JSONPath Tester

This JSONPath Tester runs in your browser and evaluates JSONPath expressions against JSON you paste or type. You get three outputs: Matches (the values found), Result (the JSON array of matches), and Paths (normalized JSONPath locations). The tester supports the common Goessner syntax and the IETF standard RFC 9535, so most modern JSONPath expressions work as expected. Results update as you type; there is no calculate button. The page does not upload your data to a server. You can copy results, download them, or create a share link that reopens with your inputs. This makes the tester handy for developers, QA, SREs, students and anyone who needs a quick live check of selectors and filters without installing anything.

How to use it

  1. 1Paste or type your JSON into the JSON editor.
  2. 2Enter a JSONPath expression in the JSONPath field starting with $.
  3. 3Read Matches, Result and Paths which update instantly as you type.
  4. 4Copy, download, or share the link that reopens with your inputs.
Advertisement

Worked example

Input JSON: {"store":{"book":[{"price":8.95},{"price":12.99},{"price":6.0}]}} Expression: $.store.book[?(@.price < 10)].price Matches (Result): [8.95, 6.0] Paths: ["$.store.book[0].price","$.store.book[2].price"]

How it works

Supports the common JSONPath syntax (Goessner and RFC 9535): $ root, .name and ['name'], [0] and [-1], slices [start:end:step], wildcards * and [*], recursive descent .., unions [0,2] and ['a','b'], and filters [?(@.price < 10)] or [[email protected] < 10] with ==, !=, <, <=, >, >=, =~ /regex/, &&, || and !.length gives the length of an array or stringPaths are shown in normalised formResults update instantly as the visitor types; there is no calculate buttonVisitors can copy the result and share a link that reopens with their numbers

Source: RFC 9535 - JSONPath: Query Expressions for JSONRFC 9485 - I-Regexp used by JSONPathJSONPath Compliance Test Suite (GitHub). Last checked 7 November 2026.

What it is good for

  • Runs entirely in your browser; nothing is uploaded to a server
  • Shows matches and normalized paths so you see where each value came from
  • Updates instantly as you type, no calculate button needed
  • No server-side schema validation or code generation features
  • No advanced diagnostics beyond parse errors and match output
Advertisement

Questions people ask

Is JSONPath an official standard?

Yes. The IETF published JSONPath as RFC 9535 in 2024. You can read the text and examples at the RFC Editor site.

How do I test a JSONPath expression here?

Paste your JSON into the editor, type the JSONPath starting with $, and read Matches, Result and Paths. The tool evaluates expressions as you type, so you can build queries step by step.

Why does the same expression work in some tools but not others?

Implementations historically differ. Some tools use older dialects like Jayway or kubectl variants. Use an RFC 9535 compliant tool or adapt dialect-specific constructs to standard form.

Does this tool upload my JSON to a server?

No. The tester runs in your browser and does not upload your JSON. If you need to check privacy for your environment, inspect your browser network tab or use local network policies.

Can I use regular expressions in filters?

Yes. The standard references I-Regexp (RFC 9485) and this tester supports =~ /regex/ in filters. Regex support depends on the expression you write and the implementation rules in RFC 9485.

How do I get the path for each match?

The tool outputs normalized paths alongside the matched values. Use the Paths panel to copy normalized JSONPath locations like $.store.book[0].price.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement