Integration Studio Tools — sign up and run every tool. No credit card required.
query-extract · Integration Studio Tool

XPath Tester

Run an XPath against your XML and see what it selects.

Your data never leaves your browser

This tool runs entirely on your computer. What you paste or drop is never uploaded, never stored and never seen by us — close the tab and it's gone. How we know

Sign up to run — no credit card required.

Press Run to see the output. Sign up takes ten seconds — no credit card required.

Worked example

Input
/order/id
---
<order><id>7</id></order>
Output
1 match

[
  "7"
]

This example is one of XPath Tester's test cases — if the tool stopped producing this output, the build would fail.

Questions

How do I use it?
Put the XPath on the first line, then a line containing only ---, then your XML.
Which XPath syntax is supported?
A deliberate subset: /a/b, //b, /a/b[1], /a/@id, //b/text(). Predicates, axes, and functions are refused with a message — rather than silently returning nothing, which is the behaviour that makes these tools untrustworthy.

Related tools