Loading tool...
About This Tool
HTML Entity Encoder converts characters like <, >, and & to their safe HTML entity equivalents, and decodes them back. This is essential for safely embedding user-supplied text in HTML without creating XSS vulnerabilities.
Decoding is equally useful when you receive HTML source and want to read the actual text content, or when copy-pasting from a web page introduces unwanted entities into your content.
Tip: Always encode user input before rendering it in HTML. Missing a single unescaped < character can let an attacker inject a script tag into your page.