HTML Entity Encoder / Decoder
Escape special HTML characters or decode entities to text.
Encode special HTML characters or decode HTML entities back to plain text.
How to use the html entity encoder / decoder
Encode angle brackets, ampersands, and quotes before inserting plain text into HTML, or decode HTML entities back to readable text.
Example
Encoding <strong> produces <strong>.
Good to know
Encoding is for HTML text content. Attribute and JavaScript contexts need their own escaping rules.