HTML Entity Encoder & Decoder
Encode special characters as HTML entities or decode entities back to text.
How to Use the HTML Entity Encoder & Decoder
Paste text and encode special characters as HTML entities, or decode entity references back into readable characters. This is useful when moving text into HTML, documentation, templates or code samples.
Practical Example
The character & can be encoded as &, while a decoded entity such as < becomes the less-than character again.
Factors That Affect the Result
Named versus numeric entities, already encoded content, repeated encoding and unsupported entity names can influence the output. Check whether the source text has already been processed before encoding it again.
Frequently Asked Questions
What is an HTML entity?
It is a text representation used for characters that may have special meaning in HTML.
Are HTML entities encryption?
No. They are a representation format, not a confidentiality or security mechanism.
Can entities be decoded back to characters?
Yes, supported entity references can be converted back to their original characters.
