🏷️

HTML Entity Encoder/Decoder

Online HTML entity encoding/decoding tool, supports escaping and unescaping of all HTML special characters to prevent XSS attacks.

Instructions

How to Use\n1. Paste HTML code or text\n2. Choose encode (escape) or decode (unescape)\n3. Run to get the result

❓ FAQ

Can encoding prevent XSS?

Yes, HTML entity encoding converts characters like < > & " into safe forms, which is a basic defense against XSS.