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

CharacterEntityNumericDescription
<&lt;&#60;Less than
>&gt;&#62;Greater than
&&amp;&#38;Ampersand
"&quot;&#34;Double quote
'&#39;&#39;Single quote
 &nbsp;&#160;Non-breaking space
©&copy;&#169;Copyright
®&reg;&#174;Registered

FAQ

Related Tools