Skip to content

Text.HtmlToPlainText

Rodrigo Celso de Lima Porto edited this page Jan 13, 2026 · 1 revision

Converts HTML content to plain text by stripping HTML tags.

Syntax

Text.HtmlToPlainText(
    htmlText as text
) as text

Parameters

  • htmlText: The HTML text to be converted to plain text.

Return Value

Returns the plain text content extracted from the HTML input.

Example

Text.HtmlToPlainText("<p>Hello <b>World</b>!</p>")

Result

"Hello World!"

Clone this wiki locally