CSS Selector & XPath Tester

Source

Nothing pasted here is ever uploaded, fetched or executed — see the note below the results.

Query

Preview

Matches

Parsed, and for HTML genuinely rendered, entirely in this browser. The HTML preview runs inside a sandboxed frame with no script execution allowed and a Content-Security-Policy that blocks every network request the source could make — an <img>, an external stylesheet, a font — so nothing pasted here is ever fetched, even though it is really rendered rather than only parsed. XML has no comparable page-like look of its own, so it gets a pretty-printed tree instead, built without ever reusing the source text as markup a second time.

The CSS Selector & XPath Tester needs JavaScript: parsing, querying and rendering all happen in this browser. With JavaScript switched off there is nothing to do the work.