Skip to main content
UNESCAPE_HTML

Converts HTML escape sequences in text back to their original characters

Updated over a week ago

Description

The UNESCAPE_HTML() function is used to reverse the process of escaping HTML characters. It converts HTML escape sequences back to their original characters in a text string. This function is valuable for decoding HTML-escaped text and displaying it in its human-readable form.

Syntax

UNESCAPE_HTML(text)

Output

text

Variables

  1. text: The input text string containing HTML-escaped characters that you want to unescape.

Example

UNESCAPE_HTML(`HTML Text`)

ID

HTML Text

UNESCAPTE_HTML

1

<p>This is a <p> tag.</p>

<p>This is a <p> tag.</p>

2

<b>Bold</b> & <i>Italic</i>

<b>Bold</b> & <i>Italic</i>

3

No HTML-escaping here!

No HTML-escaping here!

Did this answer your question?