HTML Entities Encoder / Decoder

Convert special characters to HTML entities (&, <, >) and decode entities back to text. Runs in your browser.

Frequently asked questions

Why encode HTML entities?

To show characters such as < or & as text on a page without the browser treating them as code, and to prevent security issues like XSS.

Which entities are decoded?

All named and numeric entities the browser recognizes, such as &amp;, &eacute; or &#8364;.

Related tools