a apiary.
← All tools

JSON & XML / BROWSER UTILITY

XPath Tester

Query XML with XPath 1.0 and explicit namespace mappings locally.

Processed locally in your browser. Your data is not uploaded.

Browser-native XPath 1.0, not XPath 2.0/3.1. Default namespaces require an assigned query prefix. Result paths describe positions, not portable namespace-aware queries. Limited to 50,000 XML characters and 5,000 elements.

Processed in your browser. Input limit: 100,000 characters (XPath: 50,000); output limit: 1,000,000 characters; query and regex limit: 2,000 matches. Larger inputs should be split into smaller files.

Read locally as UTF-8. Maximum 100,000 characters (XPath: 50,000). Files are not sent anywhere.

Send output to…

Transfers stay in memory on this site. The destination does not run automatically. Copy is available if the new tab is blocked.

Good to know

Browser-native XPath 1.0, not XPath 2.0/3.1. Default namespaces require an assigned query prefix. Result paths describe positions, not portable namespace-aware queries. Limited to 50,000 XML characters and 5,000 elements.

Example: Use Try an example for fictional Record and Code values.