HTML Parser

Offline

Paste raw HTML and query it with CSS selectors — no network request required. Useful for testing your selectors offline.

Powered by Scrapling's Selector — CSS 4 selectors, XPath, and pseudo-elements like ::text.

HTML Input

Results

Run a query to see results here.

Equivalent Python

from scrapling.parser import Selector

doc = Selector(html_string)
for el in doc.css(".product .name"):
    print(el.text)