code HTML Entity Encoder & Decoder

Encode or decode HTML entities.

Convert special characters safely, both directions. Free, no signup.

Encode

Decode

Frequently Asked Questions

Characters like <, >, and & have special meaning in HTML. Encoding them (to &lt;, &gt;, &amp;) lets you display them as literal text instead of having the browser interpret them as markup.
No, they serve different purposes. HTML entity encoding is for safely displaying text within HTML markup. URL encoding is for safely including text within a URL.