Windows Alt keycodes
From Wikipedia, the free encyclopedia
Unicode |
---|
Encodings |
UCS |
Mapping |
Bi-directional text |
BOM |
Han unification |
Unicode and HTML |
Unicode and e-mail |
Unicode typefaces |
In PCs running the Microsoft Windows operating system, additional characters to those available by the current keyboard layout may be typed using the Alt key in conjunction with the keyboard's numeric pad. This technique is generally called Alt code.
The number typed and its resulting character correspond to two different character sets.
- Without leading zero. If the number typed is not preceded by a zero, the character resulting from this number corresponds to code page 850 (also known as Multilingual (Latin-1)), an Extended ASCII code page, allowing 8-bit = 256 different characters. Most notably, this code page allows the input of graphical characters instead of the C0 control codes (values 1 - 31), such as {☺, ☻, ♥, ♦, ♣, ♠}, pressing Alt + {1, 2, 3, 4, 5, 6}, respectively (these characters can only be seen in the Windows GUI, not in the cmd.exe. For a full list of these graphical characters, see code page 437, for the remaining characters, see code page 850).
- With leading zero. If the number typed is preceded by a zero, the character resulting from this number corresponds to Windows-1252, another Extended ASCII code page, belonging to the group of Windows code pages, which are sometimes confusingly named Windows ANSI code pages. Most notably, this code page allows the input of C0 control codes, such as the {bell character, backspace, tab}, pressing Alt + {07, 08, 09}, respectively (for a full list of the typable characters, see Windows-1252).
As both character sets are based on the traditional 7-bit ASCII, the characters for values between 32 and 126 are the same. For values above 126, they differ mostly.
Due to the character sets's ASCII fundament and Microsoft's confusing policy to name its character sets after ANSI, many people tend to name Windows Alt keycodes either ASCII codes or ANSI codes.
For values above 255, both code pages start at 0 again. For every natural number n, Alt + {0} (n × 256 + cpnumber) leads to the same character as Alt + cpnumber. Typing Alt + 137 leads to ë, as does Alt + 393 (137 + 256). Typing Alt + 0137 leads to ‰, as does Alt + 02560137 (137 + 256 * 10000).
Contents |
[edit] More examples
Code pages 850 use code point 151 for the lowercase u with grave accent (ù). Typing Alt+151 on a Windows machine will produce this character. When preferring Windows-1252 instead, one has to type Alt+0249 to get the same character, as 249 is character ù 's position in Windows-1252.
[edit] Table of characters (Alt Keycodes)
The pages linked from this article provide the list of characters indexed using hexadecimal numbers. In actual use, decimal numbers are required, as listed here.
Alt Keycodes Chart | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
||
32 | space | space | 20 |   | 33 | ! | ! | 21 | ! | ||
34 | " | " | 22 | " | 35 | # | # | 23 | # | ||
36 | $ | $ | 24 | $ | 37 | % | % | 25 | % | ||
38 | & | & | 26 | & | 39 | ' single quote | ' single quote | 27 | ' | ||
40 | ( | ( | 28 | ( | 41 | ) | ) | 29 | ) | ||
42 | * | * | 2A | * | 43 | + | + | 2B | + | ||
44 | , | , | 2C | , | 45 | - | - | 2D | - | ||
46 | . | . | 2E | . | 47 | / | / | 2F | / | ||
48 | 0 | 0 | 30 | 0 | 49 | 1 | 1 | 31 | 1 | ||
50 | 2 | 2 | 32 | 2 | 51 | 3 | 3 | 33 | 3 | ||
52 | 4 | 4 | 34 | 4 | 53 | 5 | 5 | 35 | 5 | ||
54 | 6 | 6 | 36 | 6 | 55 | 7 | 7 | 37 | 7 | ||
56 | 8 | 8 | 38 | 8 | 57 | 9 | 9 | 39 | 9 | ||
58 | : | : | 3A | : | 59 | ; | ; | 3B | ; | ||
60 | < | < | 3C | < | 61 | = | = | 3D | = | ||
62 | > | > | 3E | > | 63 | ? | ? | 3F | ? | ||
64 | @ | @ | 40 | @ | 65 | A | A | 41 | A | ||
66 | B | B | 42 | B | 67 | C | C | 43 | C | ||
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
||
68 | D | D | 44 | D | 69 | E | E | 45 | E | ||
70 | F | F | 46 | F | 71 | G | G | 47 | G | ||
72 | H | H | 48 | H | 73 | I | I | 49 | I | ||
74 | J | J | 4A | J | 75 | K | K | 4B | K | ||
76 | L | L | 4C | L | 77 | M | M | 4D | M | ||
78 | N | N | 4E | N | 79 | O | O | 4F | O | ||
80 | P | P | 50 | P | 81 | Q | Q | 51 | Q | ||
82 | R | R | 52 | R | 83 | S | S | 53 | S | ||
84 | T | T | 54 | T | 85 | U | U | 55 | U | ||
86 | V | V | 56 | V | 87 | W | W | 57 | W | ||
88 | X | X | 58 | X | 89 | Y | Y | 59 | Y | ||
90 | Z | Z | 5A | Z | 91 | [ | [ | 5B | [ | ||
92 | \ | \ | 5C | \ | 93 | ] | ] | 5D | ] | ||
94 | ^ | ^ | 5E | ^ | 95 | _ | _ | 5F | _ | ||
96 | ` | ` | 60 | ` | 97 | a | a | 61 | a | ||
98 | b | b | 62 | b | 99 | c | c | 63 | c | ||
100 | d | d | 64 | d | 101 | e | e | 65 | e | ||
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
||
102 | f | f | 66 | f | 103 | g | g | 67 | g | ||
104 | h | h | 68 | h | 105 | i | i | 69 | i | ||
106 | j | j | 6A | j | 107 | k | k | 6B | & | ||
108 | l | l | 6C | l | 109 | m | m | 6D | m | ||
110 | n | n | 6E | n | 111 | o | o | 6F | o | ||
112 | p | p | 70 | p | 113 | q | q | 71 | q | ||
114 | r | r | 72 | r | 115 | s | s | 73 | s | ||
116 | t | t | 74 | t | 117 | u | u | 75 | u | ||
118 | v | v | 76 | v | 119 | w | w | 77 | w | ||
120 | x | x | 78 | x | 121 | y | y | 79 | y | ||
122 | z | z | 7A | z | 123 | { | { | 7B | { | ||
124 | | | | | 7C | | | 125 | } | } | 7D | } | ||
126 | ~ | ~ | 7E | ~ | 127 | ⌂ | nothing | 7F | N.D. | ||
128 | Ç | € | 80 | N.D. | 129 | ü | | 81 | N.D. | ||
130 | é | ‚ | 82 | N.D. | 131 | â | ƒ | 83 | N.D. | ||
132 | ä | „ | 84 | N.D. | 133 | à | … | 85 | N.D. | ||
134 | å | † | 86 | N.D. | 135 | ç | ‡ | 87 | N.D. | ||
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
||
136 | ê | ˆ | 88 | N.D. | 137 | ë | ‰ | 89 | N.D. | ||
138 | è | Š | 8A | N.D. | 139 | ï | ‹ | 8B | N.D. | ||
140 | î | Œ | 8C | N.D. | 141 | ì | | 8D | N.D. | ||
142 | Ä | Ž | 8E | N.D. | 143 | Å | Ž | 8F | N.D. | ||
144 | É | | 90 | N.D. | 145 | æ | ‘ | 91 | N.D. | ||
146 | Æ | ’ | 92 | N.D. | 147 | ô | “ | 93 | N.D. | ||
148 | ö | ” | 94 | N.D. | 149 | ò | • | 95 | N.D. | ||
150 | û | – | 96 | N.D. | 151 | ù | — | 97 | N.D. | ||
152 | ÿ | ˜ | 98 | N.D. | 153 | Ö | ™ | 99 | N.D. | ||
154 | Ü | š | 9A | N.D. | 155 | ø | › | 9B | N.D. | ||
156 | £ | œ | 9C | N.D. | 157 | Ø | | 9D | N.D. | ||
158 | × (or ₧) | ž | 9E | N.D. | 159 | ƒ | Ÿ | 9F | N.D. | ||
160 | á | non-breaking space | A0 |   | 161 | í | ¡ | A1 | ¡ | ||
162 | ó | ¢ | A2 | ¢ | 163 | ú | £ | A3 | £ | ||
164 | ñ | ¤ | A4 | ¤ | 165 | Ñ | ¥ | A5 | ¥ | ||
166 | ª | ¦ | A6 | ¦ | 167 | º | § | A7 | § | ||
168 | ¿ | ¨ | A8 | ¨ | 169 | ⌐ | © | A9 | © | ||
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
||
170 | ¬ | ª | AA | ª | 171 | ½ | « | AB | « | ||
172 | ¼ | ¬ | AC | ¬ | 173 | ¡ | invisible dash | AD | ­ | ||
174 | « | ® | AE | ® | 175 | » | ¯ | AF | ¯ | ||
176 | ░ | ° | B0 | ° | 177 | ▒ | ± | B1 | ± | ||
178 | ▓ | ² | B2 | ² | 179 | │ | ³ | B3 | ³ | ||
180 | ┤ | ´ | B4 | ´ | 181 | Á | µ | B5 | µ | ||
182 | Â | ¶ | B6 | ¶ | 183 | ║ | · | B7 | · | ||
184 | ╕ | ¸ | B8 | ¸ | 185 | ╣ | ¹ | B9 | ¹ | ||
186 | ║ | º | BA | º | 187 | ╗ | » | BB | » | ||
188 | ╝ | ¼ | BC | ¼ | 189 | ¢ | ½ | BD | ½ | ||
190 | ¥ | ¾ | BE | ¾ | 191 | ┐ | ¿ | BF | ¿ | ||
192 | └ | À | C0 | À | 193 | ┴ | Á | C1 | Á | ||
194 | ┬ | Â | C2 | Â | 195 | ├ | Ã | C3 | Ã | ||
196 | ─ | Ä | C4 | Ä | 197 | ┼ | Å | C5 | Å | ||
198 | ã | Æ | C6 | Æ | 199 | Ã | Ç | C7 | Ç | ||
200 | ╚ | È | C8 | È | 201 | ╔ | É | C9 | É | ||
202 | ╩ | Ê | CA | Ê | 203 | ╦ | Ë | CB | Ë | ||
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
||
204 | ╠ | Ì | CC | Ì | 205 | ═ | Í | CD | Í | ||
206 | ╬ | Î | CE | Î | 207 | ¤ | Ï | CF | Ï | ||
208 | ð | Ð | D0 | Ð | 209 | Ð | Ñ | D1 | Ñ | ||
210 | Ê | Ò | D2 | Ò | 211 | Ë | Ó | D3 | Ó | ||
212 | È | Ô | D4 | Ô | 213 | I | Õ | D5 | Õ | ||
214 | Í | Ö | D6 | Ö | 215 | Î | × | D7 | × | ||
216 | Ï | Ø | D8 | Ø | 217 | ┘ | Ù | D9 | Ù | ||
218 | ┌ | Ú | DA | Ú | 219 | █ | Û | DB | Û | ||
220 | ▄ | Ü | DC | Ü | 221 | ¦ | Ý | DD | Ü | ||
222 | Ì | Þ | DE | Þ | 223 | ▀ | ß | DF | ß | ||
224 | Ó | à | E0 | à | 225 | ß | á | E1 | á | ||
226 | Ô | â | E2 | â | 227 | Ò | ã | E3 | ã | ||
228 | õ | ä | E4 | ä | 229 | ↔ | å | E5 | å | ||
230 | µ | æ | E6 | æ | 231 | þ | ç | E7 | ç | ||
232 | Þ | è | E8 | è | 233 | Ú | é | E9 | é | ||
234 | Û | ê | EA | ê | 235 | Ù | ë | EB | ë | ||
236 | ý | ì | EC | ì | 237 | Ý | í | ED | í | ||
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
Number (Dec) |
Alt + no leading zero |
Alt + leading zero |
Hex | HTML (Num) |
||
238 | ¯ | î | EE | î | 239 | ´ | ï | EF | ï | ||
240 | dash | ð | F0 | ð | 241 | ± | ñ | F1 | ñ | ||
242 | ‗ | ò | F2 | ò | 243 | ¾ | ó | F3 | ó | ||
244 | ¶ | ô | F4 | ô | 245 | § | õ | F5 | õ | ||
246 | ÷ | ö | F6 | ö | 247 | ¸ | ÷ | F7 | ÷ | ||
248 | ° | ø | F8 | ø | 249 | ¨ | ù | F9 | ù | ||
250 | · | ú | FA | ú | 251 | ¹ | û | FB | û | ||
252 | ³ | ü | FC | ü | 253 | ² | ý | FD | ý | ||
254 | ■ | þ | FE | þ | 255 | nothing | ÿ | FF | ÿ | ||
Alt Keycodes Chart |
N.D. = Not Defined in HTML 4 Standard. Dec = Decimal.
(Above) HTML code is compliant with ISO 10646, ISO 8879, ISO 8859-1.
Use (leading) "%" symbol before the hex code, to use it in the URL.
To use hex code in HTML, use HTML Hexadecimal code format, that is, use the x after the &#, for example, for cent sign (¢), use Ţ.
[edit] Table of characters (Alt + X keycodes)
For characters which decimal equivalent code number is above 255, then the "Alt + Decimal_Equivalent_Number" keycodes will not work, for most characters, except few characters which are remapped below 256. For these characters we need to use the equivalent Hexadecimal code number. However, this does not apply in Microsoft Office Word XP or later.
To convert hexcodes into its equivalent symbol or character (existing in Unicode, or other Standard), another way is to use the Alt + X keys, after the hexcode is typed in the Word, Wordpad, etc software.
Alt+X keycodes Chart for Special Characters | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
|
256 | Ā | 100 | Ā | 257 | ā | 101 | ā | |||
258 | Ă | 102 | Ă | 259 | ă | 103 | ă | |||
260 | Ą | 104 | Ą | 261 | ą | 105 | ą | |||
262 | Ć | 106 | Ć | 263 | ć | 107 | ć | |||
264 | Ĉ | 108 | Ĉ | 265 | ĉ | 109 | ĉ | |||
266 | Ċ | 10A | Ċ | 267 | ċ | 10B | ċ | |||
268 | Č | 10C | Č | 269 | č | 10D | č | |||
270 | Ď | 10E | Ď | 271 | ď | 10F | ď | |||
272 | Đ | 110 | Đ | 273 | đ | 111 | đ | |||
274 | Ē | 112 | Ē | 275 | ē | 113 | ē | |||
276 | Ĕ | 114 | Ĕ | 277 | ĕ | 115 | ĕ | |||
278 | Ė | 116 | Ė | 279 | ė | 117 | ė | |||
280 | Ę | 118 | Ę | 281 | ę | 119 | ę | |||
282 | Ě | 11A | Ě | 283 | ě | 11B | ě | |||
284 | Ĝ | 11C | Ĝ | 285 | ĝ | 11D | ĝ | |||
286 | Ğ | 11E | Ğ | 287 | ğ | 11F | ğ | |||
288 | Ġ | 120 | Ġ | 289 | ġ | 121 | ġ | |||
290 | Ģ | 122 | Ģ | 291 | ģ | 123 | ģ | |||
292 | Ĥ | 124 | Ĥ | 293 | ĥ | 125 | ĥ | |||
294 | Ħ | 126 | Ħ | 295 | ħ | 127 | ħ | |||
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
|
296 | Ĩ | 128 | Ĩ | 297 | ĩ | 129 | ĩ | |||
298 | Ī | 12A | Ī | 299 | ī | 12B | ī | |||
300 | Ĭ | 12C | Ĭ | 301 | ĭ | 12D | ĭ | |||
302 | Į | 12E | Į | 303 | į | 12F | į | |||
304 | İ | 130 | İ | 305 | ı | 131 | ı | |||
306 | IJ | 132 | IJ | 307 | ij | 133 | ij | |||
308 | Ĵ | 134 | Ĵ | 309 | ĵ | 135 | ĵ | |||
310 | Ķ | 136 | Ķ | 311 | ķ | 137 | ķ | |||
312 | ĸ | 138 | ĸ | 313 | Ĺ | 139 | Ĺ | |||
314 | ĺ | 13A | ĺ | 315 | Ļ | 13B | Ļ | |||
316 | ļ | 13C | ļ | 317 | Ľ | 13D | Ľ | |||
318 | ľ | 13E | ľ | 319 | Ŀ | 13F | Ŀ | |||
320 | ŀ | 140 | ŀ | 321 | Ł | 141 | Ł | |||
322 | ł | 142 | ł | 323 | Ń | 143 | Ń | |||
324 | ń | 144 | ń | 325 | Ņ | 145 | Ņ | |||
326 | ņ | 146 | ņ | 327 | Ň | 147 | Ň | |||
328 | ň | 148 | ň | 329 | ʼn | 149 | ʼn | |||
330 | Ŋ | 14A | Ŋ | 331 | ŋ | 14B | ŋ | |||
332 | Ō | 14C | Ō | 333 | ō | 14D | ō | |||
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
|
334 | Ŏ | 14E | Ŏ | 335 | ŏ | 14F | ŏ | |||
336 | Ő | 150 | Ő | 337 | ő | 151 | ő | |||
338 | Œ | 152 | Œ | 339 | œ | 153 | œ | |||
340 | Ŕ | 154 | Ŕ | 341 | ŕ | 155 | ŕ | |||
342 | Ŗ | 156 | Ŗ | 343 | ŗ | 157 | ŗ | |||
344 | Ř | 158 | Ř | 345 | ř | 159 | ř | |||
346 | Ś | 15A | Ś | 347 | ś | 15B | ś | |||
348 | Ŝ | 15C | Ŝ | 349 | ŝ | 15D | ŝ | |||
350 | Ş | 15E | Ş | 351 | ş | 15F | ş | |||
352 | Š | 160 | Š | 353 | š | 161 | š | |||
354 | Ţ | 162 | Ţ | 355 | ţ | 163 | ţ | |||
356 | Ť | 164 | Ť | 357 | ť | 165 | ť | |||
358 | Ŧ | 166 | Ŧ | 359 | ŧ | 167 | ŧ | |||
360 | Ũ | 168 | Ũ | 361 | ũ | 169 | ũ | |||
362 | Ū | 16A | Ū | 363 | ū | 16B | ū | |||
364 | Ŭ | 16C | Ŭ | 365 | ŭ | 16D | ŭ | |||
366 | Ů | 16E | Ů | 367 | ů | 16F | ů | |||
368 | Ű | 170 | Ű | 369 | ű | 171 | ű | |||
370 | Ų | 172 | Ų | 371 | ų | 173 | ų | |||
372 | Ŵ | 174 | Ŵ | 373 | ŵ | 175 | ŵ | |||
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
|
374 | Ŷ | 176 | Ŷ | 375 | ŷ | 177 | ŷ | |||
376 | Ÿ | 178 | Ÿ | 377 | Ź | 179 | Ź | |||
378 | ź | 17A | ź | 379 | Ż | 17B | Ż | |||
380 | ż | 17C | ż | 381 | Ž | 17D | Ž | |||
382 | ž | 17E | ž | 383 | ſ | 17F | ſ | |||
Alt+X keycodes Chart for Special Characters |
Dec = Decimal.
Above chart is compliant with the Unicode "Latin Extended-A" block.
To use these char (Hex: 80 ~ 7FF) in URL, first convert each hex digit to its binary equivalent, then add binary 0 in front of it to make it (binary) 11 bits long, then insert binary "10" after the 5th binary bit, and insert binary "110" at the beginning, now make two groups of binary numbers, each containing 8 bits, by taking the first binary 8 bits and converting them to its hex equivalent, and convert rest of the binary 8 bits to its hex equivalent. Then use the "%" percent in front of these two groups to get the URL equivalent code.
Alt+X keycodes Chart for Special Characters / Symbols | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
Number (Dec) |
Hex-Code, Alt + X |
Other | Hex | HTML (Num) |
||
401 | Ƒ | 191 | Ƒ | 402 | ƒ | 192 | ƒ | ||||
8211 | – | 2013 | – | 8212 | — | 2014 | — | ||||
8216 | ‘ | 2018 | ‘ | 8217 | ’ | 2019 | ’ | ||||
8220 | “ | 201C | – | 8221 | ” | 201D | ” | ||||
8226 | • | 2022 | • | 8227 | ‣ | 2023 | ‣ | ||||
8230 | … | 2026 | … | 8364 | € | 20AC | € | ||||
8486 | Ω | 2126 | Ω | 8734 | ∞ | 221E | ∞ | ||||
Alt+X keycodes Chart for Special Characters / Symbols |
(Above) HTML code is compliant with HTML 4.01, ISO 10646, ISO 8879, Latin extended A and B.
To use the hex code as HTML Hexadecimal, use the x after the &#, for example, for ohm sign (Ω), use Ω.
[edit] See also
- Alt codes
- Unicode input methods
- Character encoding
- List of XML and HTML character entity references
- Windows code pages (Web page's size is more than 275KB)
- ASCII
- ISO 8859
- m:Help:Advanced_editing#Special_characters