Text to HTML Entity Encoder
Convert text to HTML entities (Decimal/Hex) to hide emails from bots and escape special characters. Free, secure, client-side tool.
About
This tool converts plain text into HTML Entities, replacing standard characters with their numeric code references. This technique is widely used by web developers to obfuscate sensitive data (like email addresses) from basic web scrapers and spam bots, or to ensure special characters (like Emojis or mathematical symbols) render correctly across all browsers and encodings.
While modern bots are becoming smarter, entity encoding remains a fundamental layer of defense and a critical utility for escaping reserved HTML characters (like < and >) within code blocks. The tool supports Decimal, Hexadecimal, and a Random Mixed mode for maximum pattern disruption.
Formulas
HTML Entities use a specific syntax to tell the browser to render a character based on its Unicode number.
For Hexadecimal representation, an x is added before the code:
Where code is the Unicode code point of the character.
Reference Data
| Character | Decimal Entity | Hex Entity | Description |
|---|---|---|---|
| " | " | " | Quotation Mark |
| & | & | & | Ampersand |
| < | < | < | Less Than |
| > | > | > | Greater Than |
| @ | @ | @ | At Symbol (Emails) |
| A | A | A | Uppercase A |
| a | a | a | Lowercase a |
| © | © | © | Copyright Sign |
| € | € | € | Euro Sign |
| ∞ | ∞ | ∞ | Infinity |
| 😀 | 😀 | 😀 | Grinning Face |