HTML string (fragment or full document)
Conversion options
Plain text string
This function uses a streaming tokenizer to parse HTML and extract text content. It handles block elements, whitespace preservation, HTML entities, tables, and more.
Features:
Convert an HTML string to plain text.