🏷️

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


  • Paste HTML code or text

  • Choose encode (escape) or decode (unescape)

  • 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.