Skip to content
2xKit

XPath Tester

Test XPath expressions against XML and see the matches.

Runs in your browser

About this tool

XPath expressions for selecting XML nodes have their own syntax quirks, and confirming an expression actually matches what you intend needs testing against real XML rather than just reading the expression and hoping. This tool tests XPath expressions against XML and shows the matches live, letting you refine the expression until it selects precisely the nodes you're after.

Frequently asked questions