Home >Web >Other web topics >Alt codes for special characters

Alt codes for special characters

Keyboard shortcuts are the quickest way to type special characters – the pound sign, the copyright sign, fractions or letters with accents. It does not matter whether you are writing a document or an article for a website.

How Alt codes work

  • Alt+0nnn – hold down the Alt key, type the number including the leading zero on the numeric keypad and release Alt. Windows takes the character from the code page of the system; the codes in this article are for Windows-1252, the code page of English and Western European versions of Windows.
  • Alt+nnn – without the leading zero Windows uses the old DOS code page (437 on US English systems), so the same number gives a different character than with the zero.
  • hex code and Alt+X – in Microsoft Word type the hexadecimal Unicode code of the character (for example 221A) and press Alt+X; Word replaces the code with the character. This works for any character, but only in Word and a few other programs.

Alt codes need the numeric keypad with Num Lock turned on – the number keys above the letters do not work. On a laptop without a numeric keypad, use the emoji panel (the Windows key and a period), which also has symbols, or the Character Map application.

In the HTML of a web page you do not need Alt codes: in UTF-8 you can write the character directly, or use an entity – see the HTML entities table.

Codes for common symbols

Currency symbols

Character Code Character Code
£ Alt+0163 ¥ Alt+0165
¢ Alt+0162 $ 0024 Alt+X
€ Alt+0128 ¤ Alt+0164

Legal symbols

Character Code Character Code
© Alt+0169 ® Alt+0174
§ Alt+0167 ™ Alt+0153

Math symbols

Character Code Character Code
° Alt+0176 º Alt+0186
√ 221A Alt+X + Alt+43
# Alt+35 µ Alt+0181
< Alt+60 > Alt+62
% Alt+37 ( Alt+40
[ Alt+91 ) Alt+41
] Alt+93 ∆ 2206 Alt+X

Fractions

Character Code Character Code
¼ Alt+0188 ½ Alt+0189
¾ Alt+0190

Punctuation and other symbols

Character Code Character Code
? Alt+63 ¿ Alt+0191
! Alt+33 ‼ 203C Alt+X
- Alt+45 ' Alt+39
" Alt+34 , Alt+44
. Alt+46 | Alt+124
/ Alt+47 \ Alt+92
` Alt+96 ^ Alt+94
« Alt+0171 » Alt+0187
« Alt+174 » Alt+175
~ Alt+126 & Alt+38
: Alt+58 { Alt+123
; Alt+59 } Alt+125

Form symbols

Character Code Character Code
□ 25A1 Alt+X √ 221A Alt+X

Codes for letters with accents

Character Code Character Code
à Alt+0195 å Alt+0229
Å Alt+143 å Alt+134
Ä Alt+142 ä Alt+132
À Alt+0192 à Alt+133
Á Alt+0193 á Alt+160
 Alt+0194 â Alt+131
Ç Alt+128 ç Alt+135
Č 010C Alt+X č 010D Alt+X
É Alt+144 é Alt+130
È Alt+0200 è Alt+138
Ê Alt+0202 ê Alt+136
Ë Alt+0203 ë Alt+137
Ĕ 0114 Alt+X ĕ 0115 Alt+X
Ğ 011E Alt+X ğ 011F Alt+X
Ģ 0122 Alt+X ģ 0123 Alt+X
Ï Alt+0207 ï Alt+139
Î Alt+0206 î Alt+140
Í Alt+0205 í Alt+161
Ì Alt+0204 ì Alt+141
Ñ Alt+165 ñ Alt+164
Ö Alt+153 ö Alt+148
Ô Alt+0212 ô Alt+147
Ō 014C Alt+X ō 014D Alt+X
Ò Alt+0210 ò Alt+149
Ó Alt+0211 ó Alt+162
Ø Alt+0216 ø 00F8 Alt+X
Ŝ 015C Alt+X ŝ 015D Alt+X
Ş 015E Alt+X ş 015F Alt+X
Ü Alt+154 ü Alt+129
Ū 016A Alt+X ū 016B Alt+X
Û Alt+0219 û Alt+150
Ù Alt+0217 ù Alt+151
Ú 00DA Alt+X ú Alt+163
Ÿ Alt+0159 ÿ Alt+152

Codes for ligatures and digraphs

Character Code Character Code
Æ Alt+0198 æ Alt+0230
ß Alt+0223 ß Alt+225
Œ Alt+0140 œ Alt+0156
ʩ 02A9 Alt+X ʣ 02A3 Alt+X
ʥ 02A5 Alt+X ʪ 02AA Alt+X
ʫ 02AB Alt+X ʦ 02A6 Alt+X
ʧ 02A7 Alt+X Љ 0409 Alt+X
Ю 042E Alt+X Њ 040A Alt+X
Ѿ 047E Alt+X Ы 042B Alt+X
Ѩ 0468 Alt+X Ѭ 046C Alt+X
ﷲ FDF2 Alt+X

ASCII control characters (non-printable)

Decimal Character Decimal Character
0 NUL – null 1 SOH – start of heading
2 STX – start of text 3 ETX – end of text
4 EOT – end of transmission 5 ENQ – enquiry
6 ACK – acknowledge 7 BEL – bell
8 BS – backspace 9 HT – horizontal tab
10 LF – line feed 11 VT – vertical tab
12 FF – form feed 13 CR – carriage return
14 SO – shift out 15 SI – shift in
16 DLE – data link escape 17 DC1 – device control 1
18 DC2 – device control 2 19 DC3 – device control 3
20 DC4 – device control 4 21 NAK – negative acknowledge
22 SYN – synchronous idle 23 ETB – end of transmission block
24 CAN – cancel 25 EM – end of medium
26 SUB – substitute 27 ESC – escape
28 FS – file separator 29 GS – group separator
30 RS – record separator 31 US – unit separator
127 DEL – delete