FlinkTools

XPath and CSS selector tester

Try an XPath expression or a CSS selector on HTML or XML and see every match.

Processed on your device, never uploaded

Document and query

Read it as

Matches

Paste a document and a query. The matches appear here.

What it does

The tester parses your HTML or XML with the browser’s own parser and runs an XPath expression or a CSS selector on it. It lists every match and tells you plainly when the query is invalid.

How to use it

  1. 1Paste HTML or XML.
  2. 2Pick XPath or CSS and write the query.
  3. 3Read the matches.

Questions

Is my document uploaded?

No. It is parsed on your device.

Why does my XPath find nothing in XML?

If the XML has a default namespace, name tests need a prefix. Try local-name().

Which XPath version?

The one your browser supports, which is XPath 1.0.

AD320 × 100