HTML character codes
During front end developement, we often encounter situations where we need to show some special character on a page. HTML provides codes to show these special characters. In this article, I have composed all the HTML codes for special characters. Hopefully it will be helpful for you.
Special HTML codes
Char |
Numeric |
Named |
Description |
|
	 |
|
horizontal tab |
|
|
|
line feed |
|
|
|
carriage return / enter |
|
  |
|
non-breaking space |
Regular HTML character codes
Char |
Numeric |
Named |
Description |
|
  |
|
space |
! |
! |
|
exclamation mark |
" |
" |
" |
double quote |
# |
# |
|
number |
$ |
$ |
|
dollar |
% |
% |
|
percent |
& |
& |
& |
ampersand |
' |
' |
' |
single quote |
( |
( |
|
left parenthesis |
) |
) |
|
right parenthesis |
* |
* |
|
asterisk |
+ |
+ |
|
plus |
, |
, |
|
comma |
- |
- |
|
minus |
. |
. |
|
period |
/ |
/ |
|
slash |
0 |
0 |
|
zero |
1 |
1 |
|
one |
2 |
2 |
|
two |
3 |
3 |
|
three |
4 |
4 |
|
four |
5 |
5 |
|
five |
6 |
6 |
|
six |
7 |
7 |
|
seven |
8 |
8 |
|
eight |
9 |
9 |
|
nine |
: |
: |
|
colon |
; |
; |
|
semicolon |
< |
< |
< |
less than |
= |
= |
|
equality sign |
> |
> |
> |
greater than |
? |
? |
|
question mark |
@ |
@ |
|
at sign |
A |
A |
|
|
B |
B |
|
|
C |
C |
|
|
D |
D |
|
|
E |
E |
|
|
F |
F |
|
|
G |
G |
|
|
H |
H |
|
|
I |
I |
|
|
J |
J |
|
|
K |
K |
|
|
L |
L |
|
|
M |
M |
|
|
N |
N |
|
|
O |
O |
|
|
P |
P |
|
|
Q |
Q |
|
|
R |
R |
|
|
S |
S |
|
|
T |
T |
|
|
U |
U |
|
|
V |
V |
|
|
W |
W |
|
|
X |
X |
|
|
Y |
Y |
|
|
Z |
Z |
|
|
[ |
[ |
|
left square bracket |
\ |
\ |
|
backslash |
] |
] |
|
right square bracket |
^ |
^ |
|
caret / circumflex |
_ |
_ |
|
underscore |
` |
` |
|
grave / accent |
a |
a |
|
|
b |
b |
|
|
c |
c |
|
|
d |
d |
|
|
e |
e |
|
|
f |
f |
|
|
g |
g |
|
|
h |
h |
|
|
i |
i |
|
|
j |
j |
|
|
k |
k |
|
|
l |
l |
|
|
m |
m |
|
|
n |
n |
|
|
o |
o |
|
|
p |
p |
|
|
q |
q |
|
|
r |
r |
|
|
s |
s |
|
|
t |
t |
|
|
u |
u |
|
|
v |
v |
|
|
w |
w |
|
|
x |
x |
|
|
y |
y |
|
|
z |
z |
|
|
{ |
{ |
|
left curly bracket |
| |
| |
|
vertical bar |
} |
} |
|
right curly bracket |
~ |
~ |
|
tilde |
Extra codes
Char |
Numeric |
Named |
Description |
|
  |
|
non-breaking space |
¡ |
¡ |
¡ |
inverted exclamation mark |
¢ |
¢ |
¢ |
cent sign |
£ |
£ |
£ |
pound sign |
¤ |
¤ |
¤ |
currency sign |
¥ |
¥ |
¥ |
yen sign |
¦ |
¦ |
¦ |
broken bar |
§ |
§ |
§ |
section sign |
¨ |
¨ |
¨ |
diaeresis |
© |
© |
© |
copyright sign |
ª |
ª |
ª |
feminine ordinal indicator |
« |
« |
« |
left pointing guillemet |
¬ |
¬ |
¬ |
not sign |
|
­ |
­ |
soft hyphen |
® |
® |
® |
registered sign |
¯ |
¯ |
¯ |
macron |
° |
° |
° |
degree sign |
± |
± |
± |
plus-minus sign |
² |
² |
² |
superscript two |
³ |
³ |
³ |
superscript three |
´ |
´ |
´ |
acute accent |
µ |
µ |
µ |
micro sign |
¶ |
¶ |
¶ |
paragraph sign |
· |
· |
· |
middle dot |
¸ |
¸ |
¸ |
spacing cedilla |
¹ |
¹ |
¹ |
superscript one |
º |
º |
º |
masculine ordinal indicator |
» |
» |
» |
right pointing guillemet |
¼ |
¼ |
¼ |
fraction one quarter |
½ |
½ |
½ |
fraction one half |
¾ |
¾ |
¾ |
fraction three quarters |
¿ |
¿ |
¿ |
inverted question mark |
À |
À |
À |
capital A with grave |
Á |
Á |
Á |
capital A with acute |
 |
 |
 |
capital A with circumflex |
à |
à |
à |
capital A with tilde |
Ä |
Ä |
Ä |
capital A with diaeresis |
Å |
Å |
Å |
capital A with ring |
Æ |
Æ |
Æ |
capital AE |
Ç |
Ç |
Ç |
capital C with cedilla |
È |
È |
È |
capital E with grave |
É |
É |
É |
capital E with acute |
Ê |
Ê |
Ê |
capital E with circumflex |
Ë |
Ë |
Ë |
capital E with diaeresis |
Ì |
Ì |
Ì |
capital I with grave |
Í |
Í |
Í |
capital I with acute |
Î |
Î |
Î |
capital I with circumflex |
Ï |
Ï |
Ï |
capital I with diaeresis |
Ð |
Ð |
Ð |
capital ETH |
Ñ |
Ñ |
Ñ |
capital N with tilde |
Ò |
Ò |
Ò |
capital O with grave |
Ó |
Ó |
Ó |
capital O with acute |
Ô |
Ô |
Ô |
capital O with circumflex |
Õ |
Õ |
Õ |
capital O with tilde |
Ö |
Ö |
Ö |
capital O with diaeresis |
× |
× |
× |
multiplication sign |
Ø |
Ø |
Ø |
capital O with stroke |
Ù |
Ù |
Ù |
capital U with grave |
Ú |
Ú |
Ú |
capital U with acute |
Û |
Û |
Û |
capital U with circumflex |
Ü |
Ü |
Ü |
capital U with diaeresis |
Ý |
Ý |
Ý |
capital Y with acute |
Þ |
Þ |
Þ |
capital THORN |
ß |
ß |
ß |
small sharp s |
à |
à |
à |
small a with grave |
á |
á |
á |
small a with acute |
â |
â |
&; |
small a with circumflex |
ã |
ã |
ã |
small a with tilde |
ä |
ä |
ä |
small a with diaeresis |
å |
å |
å |
small a with ring above |
æ |
æ |
æ |
small ae |
ç |
ç |
ç |
small c with cedilla |
è |
è |
è |
small e with grave |
é |
é |
é |
small e with acute |
ê |
ê |
ê |
small e with circumflex |
ë |
ë |
ë |
small e with diaeresis |
ì |
ì |
ì |
small i with grave |
í |
í |
í |
small i with acute |
î |
î |
î |
small i with circumflex |
ï |
ï |
ï |
small i with diaeresis |
ð |
ð |
ð |
small eth |
ñ |
ñ |
ñ |
small n with tilde |
ò |
ò |
ò |
small o with grave |
ó |
ó |
ó |
small o with acute |
ô |
ô |
ô |
small o with circumflex |
õ |
õ |
õ |
small o with tilde |
ö |
ö |
ö |
small o with diaeresis |
÷ |
÷ |
÷ |
division sign |
ø |
ø |
ø |
small o with stroke |
ù |
ù |
ù |
small u with grave |
ú |
ú |
ú |
small u with acute |
û |
û |
û |
small u with circumflex |
ü |
ü |
ü |
small u with diaeresis |
ý |
ý |
ý |
small y with acute |
þ |
þ |
þ |
small thorn |
ÿ |
ÿ |
ÿ |
small y with diaeresis |
HTML math symbols codes
Char |
Numeric |
Named |
Description |
& |
& |
& |
ampersand |
• |
• |
• |
bullet |
◦ |
◦ |
|
white bullet |
∙ |
∙ |
|
bullet operator |
‣ |
‣ |
|
triangular bullet |
⁃ |
⁃ |
|
hyphen bullet |
° |
° |
° |
degree |
∞ |
∞ |
∞ |
infinity |
‰ |
‰ |
‰ |
per-mille |
⋅ |
⋅ |
⋅ |
multiplication dot |
± |
± |
± |
plus-minus |
† |
† |
† |
hermitian |
— |
— |
— |
|
¬ |
¬ |
¬ |
|
µ |
µ |
µ |
|
⊥ |
⊥ |
⊥ |
|
∥ |
∥ |
∥ |
|
Currency codes
Char |
Numeric |
Named |
Description |
$ |
$ |
|
dollar |
€ |
€ |
€ |
euro |
£ |
£ |
£ |
pound |
¥ |
¥ |
¥ |
yen / yuan |
¢ |
¢ |
¢ |
cent |
₹ |
₹ |
|
indian Rupee |
₨ |
₨ |
|
rupee |
₱ |
₱ |
|
peso |
₩ |
₩ |
|
korean won |
฿ |
฿ |
|
thai baht |
₫ |
₫ |
|
dong |
₪ |
₪ |
|
shekel |
Intellectual property codes
Char |
Numeric |
Named |
Description |
© |
© |
© |
copyright |
® |
® |
® |
registered trademark |
℗ |
℗ |
|
sound recording copyright |
™ |
™ |
™ |
trademark |
℠ |
℠ |
|
service mark |
Greek alphabet codes
Char |
Numeric |
Named |
Description |
α |
α |
α |
small alpha |
β |
β |
β |
small beta |
γ |
γ |
γ |
small gamma |
δ |
δ |
δ |
small delta |
ε |
ε |
ε |
small epsilon |
ζ |
ζ |
ζ |
small zeta |
η |
η |
η |
small eta |
θ |
θ |
θ |
small theta |
ι |
ι |
ι |
small iota |
κ |
κ |
κ |
small kappa |
λ |
λ |
λ |
small lambda |
μ |
μ |
μ |
small mu |
ν |
ν |
ν |
small nu |
ξ |
ξ |
ξ |
small xi |
ο |
ο |
ο |
small omicron |
π |
π |
π |
small pi |
ρ |
ρ |
ρ |
small rho |
σ |
σ |
σ |
small sigma |
τ |
τ |
τ |
small tau |
υ |
υ |
υ |
small upsilon |
φ |
φ |
φ |
small phi |
χ |
χ |
χ |
small chi |
ψ |
ψ |
ψ |
small psi |
ω |
ω |
ω |
small omega |
Α |
Α |
Α |
capital alpha |
Β |
Β |
Β |
capital beta |
Γ |
Γ |
Γ |
capital gamma |
Δ |
Δ |
Δ |
capital delta |
Ε |
Ε |
Ε |
capital epsilon |
Ζ |
Ζ |
Ζ |
capital zeta |
Η |
Η |
Η |
capital eta |
Θ |
Θ |
Θ |
capital theta |
Ι |
Ι |
Ι |
capital iota |
Κ |
Κ |
Κ |
capital kappa |
Λ |
Λ |
Λ |
capital lambda |
Μ |
Μ |
Μ |
capital mu |
Ν |
Ν |
Ν |
capital nu |
Ξ |
Ξ |
Ξ |
capital xi |
Ο |
Ο |
Ο |
capital omicron |
Π |
Π |
Π |
capital pi |
Ρ |
Ρ |
Ρ |
capital rho |
Σ |
Σ |
Σ |
capital sigma |
Τ |
Τ |
Τ |
capital tau |
Υ |
Υ |
Υ |
capital upsilon |
Φ |
Φ |
Φ |
capital phi |
Χ |
Χ |
Χ |
capital chi |
Ψ |
Ψ |
Ψ |
capital psi |
Ω |
Ω |
Ω |
capital omega |