Skip to main content
~/makemydev/html-encoder

$html-encoder

Encoders

Encode special characters to HTML entities or decode HTML entities back to text. Supports named entities (&) and numeric entities (&). Everything runs in your browser.

Mode:

Encodes & < > " and ' to named HTML entities. Use for escaping user content in HTML.

Output will appear here

Also converts non-ASCII characters (é, ñ, ü, etc.) to numeric entities. Use when the target charset is ASCII-only.

Output will appear here

HTML Entity Reference

CharacterNamedDecimalDescription
&&amp;&#38;Ampersand
<&lt;&#60;Less than
>&gt;&#62;Greater than
"&quot;&#34;Double quote
'&#39;&#39;Single quote / apostrophe
 &nbsp;&#160;Non-breaking space
©&copy;&#169;Copyright
&mdash;&#8212;Em dash