HTML Entity Encoder & Decoder
Convert common text characters to HTML entities or decode entity text back to characters.
Common Entities
How to use the HTML Entity Encoder & Decoder
Convert common text characters to HTML entities or decode entity text back to characters.
Steps
- Choose Encode or Decode.
- Enter the text or entity string.
- Copy the converted result or select a common entity from the reference list.
Example: Encode markup punctuation
<tag> โ <tag>Limitations
Entity encoding is context-specific and does not sanitize all untrusted HTML. Use a context-aware sanitizer before inserting untrusted content into a page.