ASCII Table
ASCII is (strictly) 7 bit. Codes 0 to 31 (decimal) are denoted as control codes - codes with special meanings for I/O devices. ASCII codes 32 to 127 represent the "standard" set of ASCII characters.
Codes above 127 are not strictly ASCII, but are commonly used (because characters are stored in bytes and bytes are 8 bit not 7). However these codes (128 to 255) have different meanings on different systems, typically according to the code page selected.
ASCII Control Codes
Hex Decimal Abbreviations Name 00 0 ©@ NUL Null 01 1 ©A SOH Start of Heading 02 2 ©B STX Start of Text 03 3 ©C ETX End of Text 04 4 ©D EOT End of Transmit 05 5 ©E ENQ Enquiry 06 6 ©F ACK Acknowledge 07 7 ©G BEL Bell 08 8 ©H BS Back Space 09 9 ©I HT Horizontal Tab 0A 10 ©J LF Line Feed 0B 11 ©K VT Vertical Tab 0C 12 ©L FF Form Feed 0D 13 ©M CR Carriage Return 0E 14 ©N SO Shift Out / X-On 0F 15 ©O SI Shift In / X-Off 10 16 ©P DLE Data Line Escape 11 17 ©Q DC1 Device Control 1. 12 18 ©R DC2 Device Control 2. 13 19 ©S DC3 Device Control 3. 14 20 ©T DC4 Device Control 4. 15 21 ©U NAK Negative Acknowledge 16 22 ©V SYN Synchronous idle. 17 23 ©W ETB End of Transmit Block 18 24 ©X CAN Cancel 19 25 ©Y EM End of Medium 1A 26 ©Z SUB Substitute 1B 27 ©[ ESC Escape 1C 28 ©\ FS File Separator 1D 29 ©] GS Group Separator 1E 30 ©^ RS Record Separator 1F 31 ©_ US Unit Separator.
Where © stands for 'control'.
ASCII Characters
Hex Decimal Symbol HTML Name 20 32 space   space 21 33 ! ! exclamation mark, also known as a pling or a bang. 22 34 " " " double quotes (or speech marks) 23 35 # # number 24 36 $ $ dollar 25 37 % % percent 26 38 & & & ampersand 27 39 ' ' single quote 28 40 ( ( open parenthesis (or open bracket) 29 41 ) ) close parenthesis (or close bracket) 2A 42 * * asterisk 2B 43 + + plus 2C 44 , , comma 2D 45 - - hyphen 2E 46 . . period, dot or full stop 2F 47 / / slash or divide 30 48 0 0 zero 31 49 1 1 one 32 50 2 2 two 33 51 3 3 three 34 52 4 4 four 35 53 5 5 five 36 54 6 6 six 37 55 7 7 seven 38 56 8 8 eight 39 57 9 9 nine 3A 58 : : colon 3B 59 ; ; semicolon 3C 60 < < < less than (or open angled bracket) 3D 61 = = equals 3E 62 > > > greater than (or close angled bracket) 3F 63 ? ? question mark 40 64 @ @ at symbol 41 65 A A uppercase A 42 66 B B uppercase B 43 67 C C uppercase C 44 68 D D uppercase D 45 69 E E uppercase E 46 70 F F uppercase F 47 71 G G uppercase G 48 72 H H uppercase H 49 73 I I uppercase I 4A 74 J J uppercase J 4B 75 K K uppercase K 4C 76 L L uppercase L 4D 77 M M uppercase M 4E 78 N N uppercase N 4F 79 O O uppercase O 50 80 P P uppercase P 51 81 Q Q uppercase Q 52 82 R R uppercase R 53 83 S S uppercase S 54 84 T T uppercase T 55 85 U U uppercase U 56 86 V V uppercase V 57 87 W W uppercase W 58 88 X X uppercase X 59 89 Y Y uppercase Y 5A 90 Z Z uppercase Z 5B 91 [ [ open square bracket 5C 92 \ \ backslash 5D 93 ] ] close square bracket 5E 94 ^ ^ caret 5F 95 _ _ underscore 60 96 ` ` acute accent 61 97 a a lowercase a 62 98 b b lowercase b 63 99 c c lowercase c 64 100 d d lowercase d 65 101 e e lowercase e 66 102 f f lowercase f 67 103 g g lowercase g 68 104 h h lowercase h 69 105 i i lowercase i 6A 106 j j lowercase j 6B 107 k k lowercase k 6C 108 l l lowercase l 6D 109 m m lowercase m 6E 110 n n lowercase n 6F 111 o o lowercase o 70 112 p p lowercase p 71 113 q q lowercase q 72 114 r r lowercase r 73 115 s s lowercase s 74 116 t t lowercase t 75 117 u u lowercase u 76 118 v v lowercase v 77 119 w w lowercase w 78 120 x x lowercase x 79 121 y y lowercase y 7A 122 z z lowercase z 7B 123 { { opening brace 7C 124 | | bar 7D 125 } } closing brace 7E 126 ~ ~ tilde 7F 127 DEL -
On most systems there is also an additional set of 128 "extended ASCII codes" that are used to represent a variety of other symbols but are not part of the ASCII standard.
About the author: Brian Cryer is a dedicated software developer and webmaster. For his day job he develops websites and desktop applications as well as providing IT services. He moonlights as a technical author and consultant.