SnapTools

๐Ÿ”ค HTML Encoder/Decoder

Encode and decode HTML entities to prevent XSS attacks

Input (Plain Text)
Output (HTML Encoded)

Common HTML Entities:
โ€ข & โ†’ & (Ampersand)
โ€ข < โ†’ &lt; (Less than)
โ€ข > โ†’ &gt; (Greater than)
โ€ข " โ†’ &quot; (Double quote)
โ€ข ' โ†’ &#39; (Single quote)

Decoding accepts the full set of named entities (&copy;, &reg;, &nbsp; โ€ฆ). Encoding escapes only the five characters that are significant in HTML, so encode โ†’ decode returns your text unchanged.