What is XPath Tester?
Enter an XML document and an XPath expression (such as //book[@lang='ko']/title) to find and display the matching nodes. Value expressions for text, attributes, and counts are supported too.
How to use
- 1
Paste your XML.
- 2
Enter an XPath expression.
- 3
Check the matching nodes and values.
Use cases
Writing scraping selectors
Test an expression that picks the element you need from a document's structure.
Extracting XML data
Pull just the values you need out of a large XML file.
FAQ
Is my data saved or sent anywhere?+
No. Everything is processed in your browser and nothing is saved or sent.