0x
0xkit.dev
/HTML Entities

HTML Entities

Encode special characters to HTML entities or decode them back. Prevent XSS, fix broken characters, and look up entity references.

Raw HTML / Text184 chars
Encoded Output
320 chars
Input
184 chars
Output
320 chars
Entities
35
Mode
Named
Size Δ
+136
Named entitiesUses readable names like & < ©. Falls back to numeric for characters without a named entity.
plain text html entity
Entity Reference
CharNamedNumericDescription
&&&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
£&pound;&#163;Pound
¥&yen;&#165;Yen
¢&cent;&#162;Cent
&mdash;&#8212;Em dash
&ndash;&#8211;En dash
&hellip;&#8230;Ellipsis
&bull;&#8226;Bullet
·&middot;&#183;Middle dot
&dagger;&#8224;Dagger
§&sect;&#167;Section
&para;&#182;Paragraph
°&deg;&#176;Degree
±&plusmn;&#177;Plus-minus
×&times;&#215;Multiply
÷&divide;&#247;Divide
&ne;&#8800;Not equal
&le;&#8804;Less or equal
&ge;&#8805;Greater or equal
&infin;&#8734;Infinity
&larr;&#8592;Left arrow
&rarr;&#8594;Right arrow
&uarr;&#8593;Up arrow
&darr;&#8595;Down arrow
&lArr;&#8656;Double left arrow
&rArr;&#8658;Double right arrow
&spades;&#9824;Spade
&clubs;&#9827;Club
&hearts;&#9829;Heart
&diams;&#9830;Diamond
&#10003;&#10003;Check mark
&#10007;&#10007;Ballot X
&#9733;&#9733;Star filled
&#9734;&#9734;Star empty
&#9834;&#9834;Music note
¼&frac14;&#188;One quarter
½&frac12;&#189;One half
¾&frac34;&#190;Three quarters
α&alpha;&#945;Alpha
β&beta;&#946;Beta
γ&gamma;&#947;Gamma
δ&delta;&#948;Delta
π&pi;&#960;Pi
Σ&Sigma;&#931;Sigma (upper)
Ω&Omega;&#937;Omega (upper)

What are HTML Entities?

HTML entities are special sequences that represent characters which are reserved in HTML or not available on a standard keyboard. For example, the less-than sign < must be written as &lt; to prevent the browser from interpreting it as an HTML tag.

There are two forms: named entities like &amp; that use human-readable names, and numeric entities like &#38; that use Unicode code points. Numeric entities can represent any character, including emoji.

Encoding HTML entities is essential for preventing XSS (Cross-Site Scripting) attacks — if user input is rendered as HTML without encoding, an attacker could inject malicious scripts. Always encode user-supplied content before inserting it into HTML.

Your text stays in the browser — nothing is transmitted. Your text stays private.