Plain Text
HTML Entity Encoder

Common HTML Entities

&amp; becomes & · &lt; becomes < · &gt; becomes > · &quot; becomes " · &#39; becomes apostrophe.

Encode entities when showing literal HTML inside a page, documentation, examples, or code snippets. Decode entities when copied text contains escaped characters that you want to read normally.

When should I encode HTML?

Encode text before inserting it into HTML source when you want characters such as < and & to display literally.