Free HTML Entity Encoder/Decoder

Encode special characters to HTML entities or decode entities back to readable text. Supports named entities (&), numeric (&), and hex (&) formats. No signup required.

Input (Plain Text)0 chars
Output (HTML Entities)0 chars

Common HTML Entities Reference

&&&Ampersand
<&lt;&#60;Less than
>&gt;&#62;Greater than
"&quot;&#34;Double quote
'&apos;&#39;Single quote
 &nbsp;&#160;Non-breaking space
©&copy;&#169;Copyright
®&reg;&#174;Registered
™&trade;&#8482;Trademark
€&euro;&#8364;Euro sign
£&pound;&#163;Pound sign
¥&yen;&#165;Yen sign
—&mdash;&#8212;Em dash
–&ndash;&#8211;En dash
…&hellip;&#8230;Ellipsis
«&laquo;&#171;Left guillemet
»&raquo;&#187;Right guillemet
•&bull;&#8226;Bullet
°&deg;&#176;Degree
×&times;&#215;Multiplication

Need something more powerful?

Let us build it for you. Custom APIs, dashboards, automations — whatever you need.

Start a Project →
Open source

IT-Tools

269 free tools. No signup. Open source. Built by Christian Bucher.

IT-Tools Browse 269 Free Tools →

Related Tools

URL Encoder/Decoder · Base64 Encoder/Decoder · HTML Beautifier · HTML Minifier

Frequently Asked Questions

What are HTML entities?
HTML entities are special codes used to display reserved characters in HTML. Since characters like <, >, and & have special meaning in HTML, they must be encoded as entities (&lt;, &gt;, &amp;) to display correctly in web pages without being interpreted as HTML markup.
What is the difference between named, numeric, and hex entities?
Named entities use a descriptive word (like &amp; for ampersand), numeric entities use the decimal Unicode code point (like &#38;), and hex entities use the hexadecimal code point (like &#x26;). All three formats produce the same result when rendered in a browser. Named entities are easier to read, while numeric and hex work for any Unicode character.
When should I use HTML entity encoding?
You should encode HTML entities when displaying user-generated content on a web page (to prevent XSS attacks), when including special characters in HTML attributes, when showing code examples in HTML, or when using characters that are not available on your keyboard. It is a critical security practice for web development.
Does this tool handle Unicode characters?
Yes. When you select the "All characters" encoding format, every non-ASCII character is converted to its numeric or hex entity equivalent. This ensures full compatibility across all browsers and character encodings, even for emojis, CJK characters, and other international scripts.
Is this encoder/decoder free and private?
Yes, QTool.io's HTML Entity Encoder/Decoder is completely free with no limits and no signup required. All processing happens in your browser -- no data is sent to any server. Your text stays on your machine at all times.