🏷 HTML Entity Encoder & Decoder
Encode or decode HTML entities. Convert characters like <, >, & to their entity equivalents and back. Essential for web developers working with HTML content.
Common HTML Entities
| Character | Entity Name | Entity Number | Description |
|---|---|---|---|
| < | < | < | Less than |
| > | > | > | Greater than |
| & | & | & | Ampersand |
| " | " | " | Double quote |
| ' | ' | ' | Single quote |
| |   | Non-breaking space |
Encoding is essential when displaying HTML code snippets on web pages. Without encoding, the browser would interpret <div> as an actual HTML element rather than displaying it as text.