🔤 HTML Encoder/Decoder
Encode and decode HTML entities to prevent XSS attacks
Input (Plain Text)
Output (HTML Encoded)
Common HTML Entities:
• & → & (Ampersand)
• < → < (Less than)
• > → > (Greater than)
• " → " (Double quote)
• ' → ' (Single quote)
Decoding accepts the full set of named entities (©, ®, …). Encoding escapes only the five characters that are significant in HTML, so encode → decode returns your text unchanged.