01 / Example
Example
<p class="greeting">Hello & welcome</p><p class="greeting">Hello & welcome</p>Text & code / MULTIVERTO
Decode HTML entities such as &, < and numeric character references back to readable text.
Apply each text tool to the previous result. Text workflows ↗
Only the recipe name and tool order are saved in this browser. Your input and results are never saved.
01 / Example
<p class="greeting">Hello & welcome</p><p class="greeting">Hello & welcome</p>02 / Guide
Use this direction when a copied string contains references such as &, < or a numeric reference and you need the underlying readable characters. A sequence representing an ampersand becomes an ampersand; a sequence representing a less-than sign becomes that character in the output. The converter presents the decoded result as plain text. This is useful when inspecting logs, exported content or a message that has been escaped for display, because the references can obscure the intended punctuation.
The output is not a promise that the text is safe to treat as markup. For example, decoding a reference for an opening bracket may reveal a tag-shaped sequence. Inserting the result later with innerHTML could give that sequence HTML meaning, whereas assigning textContent keeps it as text. Some references are named and others numeric, and browser parsing rules can be nuanced. When exact round-trip behavior matters, compare the original bytes and the destination parser instead of assuming every double-escaped string needs only one decoding pass.
The distinction between text content and executable markup matters. Showing user-supplied text safely inside a page is different from inserting a trusted fragment of HTML. Likewise, an HTML text node, an attribute, a URL attribute, a CSS rule and a JavaScript string have different escaping requirements. Entity conversion is a useful representation step, not a complete security policy or sanitizer. Keep untrusted input out of dangerous contexts, and use the templating or DOM APIs appropriate to the place where the value will be inserted.
Treat the decoded output as data to inspect, even when it resembles an HTML tag. If you place it in a document with an HTML-parsing API, the application may turn its characters into active markup; this converter makes no safety decision about that later use. Compare a known character reference with the returned character, then inspect any remaining ampersands to see whether they were literal or malformed input. A second decoding pass can change a doubly encoded string, so record whether the source came from the page source, a rendered page or an application field before repeating the operation. Use this to inspect an entity-filled message from an HTML export. Check that & becomes one ampersand while ordinary words remain unchanged, then compare it with the original record. Decoded angle brackets can become markup if inserted into innerHTML; display the result as text when the source is untrusted. The page example turns “<p class="greeting">Hello & welcome</p>” into “<p class="greeting">Hello & welcome</p>”.
Explore guides