HTML Entity Encoder / Decoder
NewEncode and decode HTML entities with a searchable reference table of 100+ named entities.
HTML Entity Reference
| Char | Named | Numeric | Description |
|---|---|---|---|
| & | & | & | Ampersand |
| < | < | < | Less-than sign |
| > | > | > | Greater-than sign |
| " | " | " | Quotation mark |
| ' | ' | ' | Apostrophe |
| |   | Non-breaking space | |
| © | © | © | Copyright sign |
| ® | ® | ® | Registered sign |
| ™ | ™ | ™ | Trade mark sign |
| € | € | € | Euro sign |
| £ | £ | £ | Pound sign |
| ¥ | ¥ | ¥ | Yen sign |
| ¢ | ¢ | ¢ | Cent sign |
| § | § | § | Section sign |
| ¶ | ¶ | ¶ | Pilcrow (paragraph) |
| • | • | • | Bullet |
| … | … | … | Horizontal ellipsis |
| – | – | – | En dash |
| — | — | — | Em dash |
| ← | ← | ← | Leftwards arrow |
| → | → | → | Rightwards arrow |
| ↑ | ↑ | ↑ | Upwards arrow |
| ↓ | ↓ | ↓ | Downwards arrow |
| ↔ | ↔ | ↔ | Left right arrow |
| ♠ | ♠ | ♠ | Black spade suit |
| ♣ | ♣ | ♣ | Black club suit |
| ♥ | ♥ | ♥ | Black heart suit |
| ♦ | ♦ | ♦ | Black diamond suit |
| ½ | ½ | ½ | Vulgar fraction one half |
| ¼ | ¼ | ¼ | Vulgar fraction one quarter |
| ¾ | ¾ | ¾ | Vulgar fraction three quarters |
| ± | ± | ± | Plus-minus sign |
| × | × | × | Multiplication sign |
| ÷ | ÷ | ÷ | Division sign |
| ° | ° | ° | Degree sign |
| µ | µ | µ | Micro sign |
| α | α | α | Greek small letter alpha |
| β | β | β | Greek small letter beta |
| γ | γ | γ | Greek small letter gamma |
| δ | δ | δ | Greek small letter delta |
| ε | ε | ε | Greek small letter epsilon |
| π | π | π | Greek small letter pi |
| σ | σ | σ | Greek small letter sigma |
| Ω | Ω | Ω | Greek capital letter omega |
| ∞ | ∞ | ∞ | Infinity |
| √ | √ | √ | Square root |
| ∑ | ∑ | ∑ | N-ary summation |
| ∫ | ∫ | ∫ | Integral |
| ≈ | ≈ | ≈ | Almost equal to |
| ≠ | ≠ | ≠ | Not equal to |
| ≤ | ≤ | ≤ | Less-than or equal to |
| ≥ | ≥ | ≥ | Greater-than or equal to |
| ¡ | ¡ | ¡ | Inverted exclamation mark |
| ¿ | ¿ | ¿ | Inverted question mark |
| À | À | À | Latin capital letter A with grave |
| Á | Á | Á | Latin capital letter A with acute |
| Â | Â | Â | Latin capital letter A with circumflex |
| Ã | Ã | Ã | Latin capital letter A with tilde |
| Ä | Ä | Ä | Latin capital letter A with diaeresis |
| Å | Å | Å | Latin capital letter A with ring above |
| Æ | Æ | Æ | Latin capital letter AE |
| Ç | Ç | Ç | Latin capital letter C with cedilla |
| È | È | È | Latin capital letter E with grave |
| É | É | É | Latin capital letter E with acute |
| Ê | Ê | Ê | Latin capital letter E with circumflex |
| Ë | Ë | Ë | Latin capital letter E with diaeresis |
| Ì | Ì | Ì | Latin capital letter I with grave |
| Í | Í | Í | Latin capital letter I with acute |
| Î | Î | Î | Latin capital letter I with circumflex |
| Ï | Ï | Ï | Latin capital letter I with diaeresis |
| Ñ | Ñ | Ñ | Latin capital letter N with tilde |
| Ò | Ò | Ò | Latin capital letter O with grave |
| Ó | Ó | Ó | Latin capital letter O with acute |
| Ô | Ô | Ô | Latin capital letter O with circumflex |
| Ö | Ö | Ö | Latin capital letter O with diaeresis |
| Ø | Ø | Ø | Latin capital letter O with stroke |
| Ù | Ù | Ù | Latin capital letter U with grave |
| Ú | Ú | Ú | Latin capital letter U with acute |
| Û | Û | Û | Latin capital letter U with circumflex |
| Ü | Ü | Ü | Latin capital letter U with diaeresis |
| ß | ß | ß | Latin small letter sharp s |
| à | à | à | Latin small letter a with grave |
| á | á | á | Latin small letter a with acute |
| â | â | â | Latin small letter a with circumflex |
| ã | ã | ã | Latin small letter a with tilde |
| ä | ä | ä | Latin small letter a with diaeresis |
| å | å | å | Latin small letter a with ring above |
| æ | æ | æ | Latin small letter ae |
| ç | ç | ç | Latin small letter c with cedilla |
| è | è | è | Latin small letter e with grave |
| é | é | é | Latin small letter e with acute |
| ê | ê | ê | Latin small letter e with circumflex |
| ë | ë | ë | Latin small letter e with diaeresis |
| ì | ì | ì | Latin small letter i with grave |
| í | í | í | Latin small letter i with acute |
| î | î | î | Latin small letter i with circumflex |
| ï | ï | ï | Latin small letter i with diaeresis |
| ñ | ñ | ñ | Latin small letter n with tilde |
| ò | ò | ò | Latin small letter o with grave |
| ó | ó | ó | Latin small letter o with acute |
| ô | ô | ô | Latin small letter o with circumflex |
| ö | ö | ö | Latin small letter o with diaeresis |
| ø | ø | ø | Latin small letter o with stroke |
| ù | ù | ù | Latin small letter u with grave |
| ú | ú | ú | Latin small letter u with acute |
| û | û | û | Latin small letter u with circumflex |
| ü | ü | ü | Latin small letter u with diaeresis |
| × | × | × | Multiplication sign |
| ¬ | ¬ | ¬ | Not sign |
| ¦ | ¦ | ¦ | Broken bar |
| ¯ | ¯ | ¯ | Macron |
| ´ | ´ | ´ | Acute accent |
| ¸ | ¸ | ¸ | Cedilla |
| ‹ | ‹ | ‹ | Single left-pointing angle quotation |
| › | › | › | Single right-pointing angle quotation |
| « | « | « | Left-pointing double angle quotation |
| » | » | » | Right-pointing double angle quotation |
| " | “ | “ | Left double quotation mark |
| " | ” | ” | Right double quotation mark |
| ' | ‘ | ‘ | Left single quotation mark |
| ' | ’ | ’ | Right single quotation mark |
Related Tools
Word to HTML Converter
developer
Paste rich text from Word or Google Docs and get clean semantic HTML with no cruft.
Try it freeHTML CSS JS Minifier
developer
Minify HTML, CSS, and JavaScript instantly with size savings stats.
Try it freeBase64 Encoder Decoder
developer
Encode and decode text/files to Base64 with drag-and-drop support.
Try it freeEmbed this tool
Add this tool to your website or blog with a single iframe snippet.
<iframe src="https://dukotools.com/tools/html-entity-encoder?embed=1" width="100%" height="600" frameborder="0" allow="clipboard-write" loading="lazy" title="html-entity-encoder tool"></iframe>
About HTML Entity Encoder / Decoder
HTML Entity Encoder and Decoder handles the conversion between readable characters and their HTML entity representations in real time. The Encode tab takes any plain text and converts characters to HTML entities — essential for safely displaying user input in HTML and preventing XSS injection. The Decode tab reverses the process converting entity references back to their character equivalents. The searchable HTML entity reference table below the tool is a comprehensive resource covering 100 named entities with character, named entity form, numeric entity form, and description. Searchable by character, entity name, or description, it doubles as a quick reference during development.
Key Features
Real-Time Encoding
Encodes text to HTML entities instantly with no button press required.
Real-Time Decoding
Decodes HTML entities back to characters instantly.
Selective Encoding Modes
Encode only the five critical HTML special chars or all non-ASCII characters.
Searchable Entity Reference
Table of 100+ named HTML entities searchable by character, name, or description.
Numeric Entity Support
Shows both named and numeric entity forms for every character.
How to Use
- 1
Select Encode or Decode tab
Choose Encode to convert text to HTML entities or Decode to reverse the process.
- 2
Paste or type input
Enter text in the input textarea. The output updates in real time.
- 3
Choose encoding mode
Toggle between encoding all non-ASCII characters or only the five critical HTML special characters.
- 4
Copy the output
Click Copy to grab the encoded or decoded result.
- 5
Search the reference table
Use the search box below to look up any HTML entity by character, name, or description.
Real-World Use Cases
Safe User Input Display
A developer encodes user-submitted comments before rendering them as HTML to prevent XSS injection attacks.
Email Template Development
An email developer encodes special characters in HTML email templates to ensure they render correctly across email clients.
CMS Content Sanitisation
A CMS developer uses the encoder to process user-submitted rich text before storing it in a database.
Frequently Asked Questions
Related Free Tools
Explore these tools that work great alongside HTML Entity Encoder / Decoder: