HTML Encoder & Decoder
Encode special characters to HTML entities or decode HTML entities to text. Essential for web development and preventing XSS.
Output
Result will appear here
Input:0
Output:0
Diff:0
How to Use
1
Enter Text
Paste HTML code to encode special characters, or paste encoded text to decode back to HTML.
2
Choose Action
Encode converts < > & to entities. Decode converts entities back to characters.
3
Copy Result
Click Copy to copy the result. Use Swap to move output to input for further processing.
Common HTML Entities
| Character | Entity | Numeric | Description |
|---|---|---|---|
| < | < | < | Less than |
| > | > | > | Greater than |
| & | & | & | Ampersand |
| " | " | " | Double quote |
| ' | ' | ' | Single quote |
| |   | Non-breaking space | |
| © | © | © | Copyright |
| ® | ® | ® | Registered |