pipr.tools

html-decode

Unescape HTML entities

{ } Encode

Try it

stdin0 chars
stdout0 chars

Example

Unescape HTML entities back to text

Usage
$ echo "<p>Hello & welcome</p>" | html-decode
View source
(input) => {
      const el = document.createElement("textarea");
      el.innerHTML = input;
      return el.value;
    }

Suggested Pipelines

Related Tools