HTML Entity Converter
Encoding Format:
Characters: 0
Characters: 0

Common HTML Entities Reference

&
&
Ampersand
<
&lt;
Less than
>
&gt;
Greater than
"
&quot;
Double quote
'
&apos;
Apostrophe
&nbsp;
Non-breaking space
&lsquo;
Left single quote
&rsquo;
Right single quote
&ldquo;
Left double quote
&rdquo;
Right double quote
«
&laquo;
Left double angle quote
»
&raquo;
Right double angle quote
&mdash;
Em dash
&ndash;
En dash
&hellip;
Horizontal ellipsis
&bull;
Bullet
&dagger;
Dagger
&Dagger;
Double dagger
§
&sect;
Section sign
&para;
Paragraph sign
¡
&iexcl;
Inverted exclamation
¿
&iquest;
Inverted question
&euro;
Euro
£
&pound;
Pound
¥
&yen;
Yen/Yuan
¢
&cent;
Cent
&#8361;
Won
&#8377;
Rupee
&#8381;
Ruble
&#8383;
Bitcoin
¤
&curren;
Currency sign
±
&plusmn;
Plus-minus
×
&times;
Multiplication
÷
&divide;
Division
&ne;
Not equal
&le;
Less or equal
&ge;
Greater or equal
&infin;
Infinity
&sum;
Sum (sigma)
&prod;
Product (pi)
&radic;
Square root
&int;
Integral
&part;
Partial differential
&asymp;
Approximately equal
°
&deg;
Degree
²
&sup2;
Superscript 2
³
&sup3;
Superscript 3
¼
&frac14;
One quarter
½
&frac12;
One half
¾
&frac34;
Three quarters
µ
&micro;
Micro sign
&forall;
For all
&exist;
Exists
&empty;
Empty set
&isin;
Element of
&notin;
Not element of
&sub;
Subset
&sup;
Superset
&cap;
Intersection
&cup;
Union
&and;
Logical AND
&or;
Logical OR
¬
&not;
Logical NOT
&there4;
Therefore
&larr;
Left arrow
&uarr;
Up arrow
&rarr;
Right arrow
&darr;
Down arrow
&harr;
Left-right arrow
&lArr;
Left double arrow
&uArr;
Up double arrow
&rArr;
Right double arrow
&dArr;
Down double arrow
&hArr;
Left-right double arrow
&#8598;
North-west arrow
&#8599;
North-east arrow
&#8600;
South-east arrow
&#8601;
South-west arrow
Α
&Alpha;
Alpha (upper)
Β
&Beta;
Beta (upper)
Γ
&Gamma;
Gamma (upper)
Δ
&Delta;
Delta (upper)
Ε
&Epsilon;
Epsilon (upper)
Ζ
&Zeta;
Zeta (upper)
Η
&Eta;
Eta (upper)
Θ
&Theta;
Theta (upper)
Λ
&Lambda;
Lambda (upper)
Μ
&Mu;
Mu (upper)
Π
&Pi;
Pi (upper)
Σ
&Sigma;
Sigma (upper)
Φ
&Phi;
Phi (upper)
Ω
&Omega;
Omega (upper)
α
&alpha;
Alpha
β
&beta;
Beta
γ
&gamma;
Gamma
δ
&delta;
Delta
ε
&epsilon;
Epsilon
θ
&theta;
Theta
λ
&lambda;
Lambda
μ
&mu;
Mu
π
&pi;
Pi
σ
&sigma;
Sigma
φ
&phi;
Phi
ω
&omega;
Omega
©
&copy;
Copyright
®
&reg;
Registered
&trade;
Trademark
&hearts;
Heart
&diams;
Diamond
&clubs;
Club
&spades;
Spade
&#9733;
Black star
&#9734;
White star
&#10003;
Check mark
&#10007;
Ballot X
&#9679;
Black circle
&#9675;
White circle
&#9632;
Black square
&#9633;
White square
&#9650;
Black up triangle
&#9660;
Black down triangle
&#9670;
Black diamond
&#9834;
Eighth note
&#9835;
Beamed eighth notes
&#9730;
Umbrella
&#9731;
Snowman
&#9749;
Hot beverage
&#9742;
Telephone
&#9986;
Scissors
&#9999;
Pencil
&#8624;
Up arrow with tip left
&#8625;
Up arrow with tip right
&#8626;
Down arrow with tip left
&#8627;
Down arrow with tip right
&#8634;
Anticlockwise arrow
&#8635;
Clockwise arrow
&#8644;
Right and left arrows
&#8645;
Up and down arrows
&#10145;
Black right arrow
&#11013;
Black left arrow
&#11014;
Black up arrow
&#11015;
Black down arrow
&sime;
Asymptotically equal
&equiv;
Identical to
&#8802;
Not identical to
&#8810;
Much less than
&#8811;
Much greater than
&oplus;
Circled plus
&otimes;
Circled times
&sdot;
Dot operator
&nabla;
Nabla
&ang;
Angle
&perp;
Perpendicular
&#8757;
Because
&#10084;
Heavy heart
&#11088;
Gold star
&#9664;
Left triangle
&#9654;
Right triangle (play)
&#9744;
Ballot box
&#9745;
Ballot box with check
&#9746;
Ballot box with X
&#9837;
Music flat
&#9838;
Music natural
&#9839;
Music sharp
&#9729;
Cloud
&#9732;
Comet
À
&Agrave;
A grave
Á
&Aacute;
A acute
Ä
&Auml;
A umlaut
Ç
&Ccedil;
C cedilla
È
&Egrave;
E grave
É
&Eacute;
E acute
Ñ
&Ntilde;
N tilde
Ö
&Ouml;
O umlaut
Ü
&Uuml;
U umlaut
ß
&szlig;
Sharp s (German)
à
&agrave;
a grave
á
&aacute;
a acute
ä
&auml;
a umlaut
ç
&ccedil;
c cedilla
è
&egrave;
e grave
é
&eacute;
e acute
ñ
&ntilde;
n tilde
ö
&ouml;
o umlaut
ü
&uuml;
u umlaut

What is an HTML Entity Converter?

An HTML Entity Converter is a tool that converts characters with special meaning in HTML documents (<, >, &, ", etc.) into safe entity codes, or restores entity codes back to their original characters.

It is essential in web development for preventing XSS (Cross-Site Scripting) attacks, displaying HTML source code, and safely inserting special characters. This tool supports Named entities (&amp;), Numeric entities (&#38;), and Hex entities (&#x26;).

Key Features

Real-time Conversion

Results are displayed instantly as you type. No need to press a separate convert button — encoding/decoding results appear immediately.

Named Entity Support

Fully supports W3C standard named entities such as &lt; &gt; &amp; &quot; &copy; &reg; &trade; and more.

Numeric/Hex Entity Support

Encode and decode both decimal (&#60;) and hexadecimal (&#x3C;) numeric entities.

Encode/Decode Mode Toggle

Switch between encode and decode modes with a single click. A swap feature is also available to exchange input and output.

Entity Reference Table

Provides a reference table with 23+ common HTML entities showing Named and Numeric formats at a glance.

How to Use

  1. Select Mode — Choose the conversion direction using the Encode/Decode toggle at the top.
  2. Enter Text — Type or paste the text or HTML entities you want to convert in the left input area.
  3. View Results — The conversion result appears in real-time in the right output area as you type.
  4. Copy Result — Click the copy button to copy the conversion result to your clipboard.

Use Cases

XSS Attack Prevention

Convert special characters to entities when displaying user input in HTML to prevent script injection attacks.

Display HTML Source Code

Convert HTML tags to entities when showing code in blogs or documentation so they render as text instead of being executed.

Email Address Obfuscation

Convert email addresses to HTML entities to make it harder for web crawlers to automatically harvest them.

Insert Special Characters

Safely insert special characters like copyright (©), registered trademark (®), and euro sign (€) that aren't on the keyboard.

Frequently Asked Questions

What are HTML entities?

HTML entities are codes used to represent characters with special meaning in HTML or characters that are difficult to display. For example, '<' is represented as '&lt;' and '&' as '&amp;'. There are three forms: Named (&amp;), Numeric (&#38;), and Hex (&#x26;).

Why is HTML entity conversion necessary?

In HTML, characters like <, >, and & are interpreted as the start of tags or entities. To display these characters as text, they must be converted to entities. It's also essential for XSS prevention, source code display, and special character insertion.

What's the difference between Named and Numeric entities?

Named entities use descriptive names like &lt; and &copy;, while Numeric entities use Unicode code point numbers like &#60; and &#169;. Named entities are easier to remember, while Numeric entities can represent any Unicode character.

Do I need to convert all characters to entities?

No. Only 4 characters must be converted: <, >, &, and ". Other special characters can be optionally converted as needed. This tool automatically converts the essential characters.

Where is my input data stored?

Your input data is processed entirely within your browser and is never sent to any server. All data is cleared when you close the page.

Privacy Notice

This HTML Entity Converter processes all conversions in your browser. No text you enter is ever sent to any server, and no data is stored externally.