html entity encode decode escape xss special characters
HTML Entity Encoder / Decoder
Encode special characters like < > & to HTML entities (< > &), or decode entities back to characters. Useful for XSS prevention and HTML template creation.
USAGE
3 simple steps
- 1Paste text into the input field
- 2Select Encode or Decode direction
- 3Click Convert to see the result
FAQ
Frequently Asked Questions
A. Decoding supports named entities including &nbsp;, &copy;, and &mdash;. Encoding only converts the 5 basic characters: &lt; &gt; &amp; &quot; &#39;.
A. Only basic ASCII special characters (< > & " ') are entity-encoded. Non-ASCII text is output as-is.