Web / HTML
HTML Entity Encoder/Decoder
Convert special characters such as <, >, &, quotes and non-ASCII characters to HTML entities, or decode entities back to readable text.
Common HTML entities
Search by character, entity, Unicode value or short description.
| Character | Entity | Unicode | Description |
|---|
When HTML entities are useful
HTML entities are useful when special characters in HTML text, templates, documentation or code examples should remain visible. For regular page content, encoding the HTML-critical characters is usually enough.
- HTML text: protect
<,>and&so accidental markup is not created. - Attributes: also encode quotation marks.
- Code examples: show complete tags as text without executing them.