Encode special characters to HTML entities, or decode them.
The HTML entity converter escapes the characters that have a special meaning in HTML (&, <, >, " and ') so text can be shown safely inside a web page or an attribute. Choose the full mode to also turn every non-ASCII character, emoji included, into a numeric entity.
Decode turns named and numeric entities such as &, © or € back into the characters they stand for.
Both directions in one tool.
Decoding supports every HTML5 named entity.
Emoji and accented letters become numeric entities.
The result updates while you type.
To show code or user text in a page without the browser reading it as HTML, which also prevents cross-site scripting.
& and < always; > and quotes inside attributes. The encoder escapes all five.
Not with UTF-8 pages. Use the full mode only for systems that can't handle UTF-8.
Both are the & character: the first is a named entity, the second a numeric one.