domq

Messy HTML in. Clean tree, text, Markdown, or JSON out.

A zero-dependency Rust parser with CSS selectors, running right here as a small WebAssembly module. Nothing you paste leaves this page.

Examples

– to parse

– nodes

– repairs

Places where the parser fixed the markup for you. Pick one to jump to it in the editor.

    – wasm, gzipped

    Loading the parser…