HTML Entity Encoder
Encode and decode HTML entities with a reference table.
Input
Output
Quick Reference
| Character | Entity | Description |
|---|---|---|
| & | & | Ampersand |
| < | < | Less than |
| > | > | Greater than |
| " | " | Double quote |
| ' | ' | Single quote |
| Non-breaking space | |
| © | © | Copyright |
| ® | ® | Registered |
| ™ | ™ | Trademark |
| – | – | En dash |
| — | — | Em dash |
| ‘ | ‘ | Left single quote |
| ’ | ’ | Right single quote |
| “ | “ | Left double quote |
| ” | ” | Right double quote |
| … | … | Ellipsis |
| × | × | Multiplication |
| ÷ | ÷ | Division |
About HTML Entity Encoder/Decoder
HTML entities are special sequences used to represent reserved characters and symbols in HTML. Characters like <, >, and & have special meaning in HTML and must be encoded to display correctly.
Named entities use human-readable names like & and <. Numeric entities use decimal (&) or hexadecimal (&) code points to represent any Unicode character.
This tool encodes all special and non-ASCII characters to their HTML entity equivalents, and decodes named, decimal, and hexadecimal entities back to characters. All processing happens locally in your browser.