A Quick Reference Guide to Ascii, Keyboard & Windows Alt codes

Ascii, Windows Alt & Keyboard Codes

Edited by Lim Siong Boon, last dated 06-Oct-08.


 

 

 

 

 

Keyboard scan code

The Diagram below shows the codes that are returned when a key is pressed on the keyboard.                                      

For example, pressing ‘a’ would return 0x61.

If it is an extended key, the code is shown as “0,XX” where XX is the extended code.

 

 

 

Ascii Code Table

 

  0x?0 0x?1 0x?2 0x?3 0x?4 0x?5 0x?6 0x?7 0x?8 0x?9 0x?A 0x?B 0x?C 0x?D 0x?E 0x?F
0x0?

 

NULL

☺

SOH

start of heading

☻

STX

start of text

♥

ETX

end of text

♦

EOT

♣

ENQ

equiry

♠

ACK

•

BELL

◘

BS

Back

Space

○

TAB

◙

LF ‘\n’

new line

♂

VT

vertical tab

♀

FF

new page

♪

CR ‘\r’ carriage return

♫

SO

shift out

☼

SI

shift in

0x1? ►

DLE

data link esc

◄

DC1

↕

DC2

‼

DC3

DC4

§

NAK

neg ack

▬

SYN

↨

ETB

↑

CAN

cancel

↓

EM

→

SUB

←

ESC

∟

FS

↔

GS

▲

RS

▼

US

0x2?

 

Space
! “ # $ % & ‘ ( ) * + , – . /
0x3? 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
0x4? @ A B C D E F G H I J K L M N O
0x5? P Q R S T U V W X Y Z [ \ ] ^ _
0x6? ` a b c d e f g h i j k l m n o
0x7? p q r s t u v w x y z { | } ~ ⌂
0x8? Ç ü é â ä à å ç ê ë è ï î ì Ä Å
0x9? É æ Æ ô ö ò û ù ÿ Ö Ü ¢ £ ¥ ₧ ƒ
0xA? á í ó ú ñ Ñ ª º ¿ ⌐ ¬ ½ ¼ ¡ « »
0xB? ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐
0xC? └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧
0xD? ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀
0xE? α ß Γ π Σ σ µ τ Φ Θ Ω δ ∞ φ ε ∩
0xF? ≡ ± ≥ ≤ ⌠ ⌡ ÷ ≈ ° ∙ · √ ⁿ ² ■ non-breaking space
  0x?0 0x?1 0x?2 0x?3 0x?4 0x?5 0x?6 0x?7 0x?8 0x?9 0x?A 0x?B 0x?C 0x?D 0x?E 0x?F
0x10? Ā ā Ă ă Ą ą Ć ć Ĉ ĉ Ċ ċ Č č Ď ď
0x11? Đ đ Ē ē Ĕ ĕ Ė ė Ę ę Ě ě Ĝ ĝ Ğ ğ
0x12? Ġ ġ Ģ ģ Ĥ ĥ Ħ ħ Ĩ ĩ Ī ī Ĭ ĭ Į į
0x13? İ ı IJ ij Ĵ ĵ Ķ ķ ĸ Ĺ ĺ Ļ ļ Ľ ľ Ŀ
0x14? ŀ Ł ł Ń ń Ņ ņ Ň ň ʼn Ŋ ŋ Ō ō Ŏ ŏ
0x15? Ő ő Œ œ Ŕ ŕ Ŗ ŗ Ř ř Ś ś Ŝ ŝ Ş ş
0x16? Š š Ţ ţ Ť ť Ŧ ŧ Ũ ũ Ū ū Ŭ ŭ Ů ů
0x17? Ű ű Ų ų Ŵ ŵ Ŷ ŷ Ÿ Ź ź Ż ż Ž ž ſ
0x18? ƀ Ɓ Ƃ ƃ Ƅ ƅ Ɔ Ƈ ƈ Ɖ Ɗ Ƌ ƌ ƍ Ǝ Ə
0x19? Ɛ Ƒ ƒ Ɠ Ɣ ƕ Ɩ Ɨ Ƙ ƙ            
0x1A?                                
0x1B?                                
0x1C?                                
0x1D?                                
0x1E?                                
0x1F? ǰ DZ Dz dz                        
0x201? ‐ ‑ ‒ – — ― ‖ ‗ ‘ ’ ‚ ‛ “ ” „ ‟
0x202? † ‡ • ‣ ․ ‥ … ‧ 



‪
‫
‬
‭
‮
 
0x20A? ₠ ₡ ₢ ₣ ₤ ₥ ₦ ₧ ₨ ₩ ₪ ₫ € ₭ ₮ ₯
0x212? ℠ ℡ ™ ℣ ℤ ℥ Ω ℧ ℨ ℩ K Å ℬ ℭ ℮ ℯ
0x221? ∐ ∑ − ∓ ∔ ∕ ∖ ∗ ∘ ∙ √ ∛ ∜ ∝ ∞ ∟
                                 

 

How to key in special ascii symbol into your document.

Alt xxx    (printable char, where xxx is decimal code)

example: Alt 9, will print char-> ○

   where 9 is a decimal number

example: Alt 65, will print char-> A

   where 65 is a decimal number

Alt 0xxx    (for control char, where xxx is decimal code)

example: Alt 09, will execute-> tab function

   where 9 is a control code

Alt +XXXX (for printable char, where XXXX is hexadecimal code)

example: Alt +41, will print char-> A

   where 41 is a hexadecimal number

 

 

Extended Ascii/HTML codes (Press Alt 0xxx)

Name

Currency

 Character

Key press

sequence

     
  Currency  
cent ¢ Alt 0162
British Pound £ Alt 0163
Euro currency € Alt 0128
Japanese Yen ¥ Alt 0165
Dutch Florin ƒ Alt 0131
Generic currency ¤ Alt 0164
     
  Math Symbols  
diameter big Ø Alt 0216
diameter small ø Alt 0248
division ÷ Alt 0247
degree ° Alt 0176
     
plus/minus ± Alt 0177
micro µ Alt 0181
     
  Fractions  
  ¼ Alt 0188
  ½ Alt 0189
  ¾ Alt 0190
     
  Others  
Copyright © Alt 0169
Registered ® Alt 0174
Trademark ™ Alt 0153
List dot • Alt 0149
Section § Alt 0167
Paragraph Alt 0182
en-dash – Alt 0150
em-dash — Alt 0151

 

 

Other references:

LSB reference summary.pdf

USB HID to PS/2 Scan Code Translation Table.pdf




 

 

 

keyword: ascii code table, ascii chart