HTML Entity Encoder / Decoder
Encode special characters to HTML entities or decode HTML entities back to characters.
Paste plain text to encode, or HTML with entities to decode
Encoded or decoded result
Common HTML Entities Reference
| Character | Named | Numeric | Hex | Description |
|---|---|---|---|---|
| & | & | & | & | Ampersand |
| < | < | < | < | Less than |
| > | > | > | > | Greater than |
| " | " | " | " | Double quote |
| ' | ' | ' | ' | Single quote |
| |   |   | Non-breaking space | |
| © | © | © | © | Copyright |
| ® | ® | ® | ® | Registered trademark |
| ™ | ™ | ™ | ™ | Trademark |
| € | € | € | € | Euro sign |
Tips: Use Encode to convert characters like
<, >, and & into safe HTML entities.
Use Decode to convert entities back to their original characters.
Features
- Encode to Named Entities: Converts characters like
<to<. - Encode to Numeric Entities: Uses decimal codes like
<. - Encode to Hex Entities: Uses hexadecimal codes like
<. - Decode Any Entity: Converts named, numeric, or hex entities back to their characters.
- Reference Table: Quick lookup for the most common HTML entities.
- Copy to Clipboard: One-click copy of the result.
How to Use
- Paste Text: Enter the text you want to encode or HTML with entities to decode.
- Choose Mode: Select the entity format — Named, Numeric, or Hex.
- Encode or Decode: Click the appropriate button.
- Copy Result: Use the Copy button to copy the output.