XML

XPath Finder

Evaluate an XPath expression against XML and return matching nodes or values.

XML input

Settings

Output

Result appears here after you select

{ } How to use

  1. Paste XML and enter an XPath (e.g. //book/title, //book[@id="2"], count(//book)).
  2. Select Process to see matches.

{ } How it works

XPath Finder works on the text you provide. Adjust the options, then select Process ▸ and it runs entirely in your browser — nothing is uploaded to a server — then shows the result in the Output panel.

Inputs

  • XML input — paste or type your input in the left panel (use Sample for an example)
  • XPath — a value (default: "//book/title")

Output

TXT text — copy or download it from the Output panel.

{ } Common uses

  • Pull the titles out of an RSS feed or a SOAP response.
  • Test an XPath expression before putting it into code.
  • Count or filter elements by an attribute value.

{ } Limitations

  • Namespaces are not registered, so a prefix in your expression will not resolve. In a namespaced document, match on local-name() instead — //*[local-name()="title"].
  • The XML must be well-formed. It is validated first, and a syntax error is reported with its line and column rather than worked around.
  • Element matches come back as serialized XML, one per line; attributes as name="value"; text nodes as their value. It is output meant for reading, not a structured result.

{ } FAQ

Is my data uploaded to a server?

No. Everything runs locally in your browser — your files never leave your device.

Can I process more than one file at once?

This tool works on one input at a time.

Is this tool free?

Yes — it’s completely free and needs no sign-up.

What does it return?

Element matches are serialized as XML; attribute and text matches return their value; string()/count() return a scalar. Everything runs locally.