Home > Resources > Articles > Standard ASCII Code Reference Chart

Standard ASCII Code Reference Chart

About ASCII Characters

There are two sets of ASCII (pronounced ASS-kee) characters/codes. The original character set, now known as the standard ASCII character set, is a set of digital codes that represent each letter, number, and various symbols in the English alphabet. It is primarily use in computers to communicate text between applications and systems. ASCII is an abbreviation for American Standard Code for Information Interchange. The ASCII standard code was originally designed to include only 128 characters (7-bit code).

This was later expanded to support 256 characters (8-bit code) to provide language specific characters, additional symbols, along with drawing characters. The characters in the 128 to 255 range are referred to as the extended ASCII character set. Click here for the Extended ASCII Chart.


Standard ASCII Codes (7-Bit)

Character Decimal Hex Binary HTML Description
ASCII Control Codes (Codes 0 to 31)
The first 32 ASCII characters are non-printable / control characters and are used to control peripherals such as printers. Some of these are obsolete.
NUL 000 00 0000 0000 � "Null" Character (NUL)
SOH 001 01 0000 0001  Start of Header (SOH)
STX 002 02 0000 0010  Start of Text (STX)
ETX 003 03 0000 0011  End of Text (ETX)
EOT 004 04 0000 0100  End of Transmission (EOT)
ENQ 005 05 0000 0101  Enquiry (ENQ)
ACK 006 06 0000 0110  Acknowledgment (ACK)
BEL 007 07 0000 0111  Bell (BEL)
BS 008 08 0000 1000  Backspace (BS)
HT 009 09 0000 1001 	 Horizontal Tab (HT)
LF 010 0A 0000 1010 
 Line Feed / New Line (LF)
VT 011 0B 0000 1011  Vertical Tab (VT)
FF 012 0C 0000 1100  Form Feed / New Page (FF)
CR 013 0D 0000 1101 
 Carriage Return (CR)
SO 014 0E 0000 1110  Shift Out (SO)
SI 015 0F 0000 1111  Shift In (SI)
DLE 016 10 0001 0000  Data Link Escape (DLE)
DC1 017 11 0001 0001  Device Control 1 (DC1)
DC2 018 12 0001 0010  Device Control 2 (DC2)
DC3 019 13 0001 0011  Device Control 3 (DC3)
DC4 020 14 0001 0100  Device Control 4 (DC4)
NAK 021 15 0001 0101  Negative Acknowledgement (NAK)
SYN 022 16 0001 0110  Synchronous Idle (SYN)
ETB 023 17 0001 0111  End of Transmission Block (ETB)
CAN 024 18 0001 1000  Cancel (CAN)
EM 025 19 0001 1001  End of Medium (EM)
SUB 026 1A 0001 1010  Substitute (SUB)
ESC 027 1B 0001 1011  Escape (ESC)
FS 028 1C 0001 1100  File Separator (FS)
GS 029 1D 0001 1101  Group Separator (GS)
RS 030 1E 0001 1110  Request to Send/Record Separator (RS)
US 031 1F 0001 1111  Unit Separator (US)
Printable ASCII Characters
Characters 32-127 represents almost all of the characters on your keyboard.
SP 032 20 0010 0000   Space
! 033 21 0010 0001 ! Exclamation Mark
" 034 22 0010 0010 " Double Quote
# 035 23 0010 0011 # Number Sign / Pound Sign / Hash
$ 036 24 0010 0100 $ Dollar Sign
% 037 25 0010 0101 % Percent
& 038 26 0010 0110 & Ampersand
' 039 27 0010 0111 ' Single Quote / Apostrophe
( 040 28 0010 1000 ( Left Opening Parenthesis
) 041 29 0010 1001 ) Right Closing Parenthesis
* 042 2A 0010 1010 * Asterisk
+ 043 2B 0010 1011 + Plus Sign
, 044 2C 0010 1100 , Comma
- 045 2D 0010 1101 - Minus or Dash
. 046 2E 0010 1110 . Dot / Period
/ 047 2F 0010 1111 / Forward Slash
0 048 30 0011 0000 0 Zero
1 049 31 0011 0001 1 One
2 050 32 0011 0010 2 Two
3 051 33 0011 0011 3 Three
4 052 34 0011 0100 4 Four
5 053 35 0011 0101 5 Five
6 054 36 0011 0110 6 Six
7 055 37 0011 0111 7 Seven
8 056 38 0011 1000 8 Eight
9 057 39 0011 1001 9 Nine
: 058 3A 0011 1010 : Colon
; 059 3B 0011 1011 &#59; Semi-Colon
< 060 3C 0011 1100 &#60; Less Than Sign
= 061 3D 0011 1101 &#61; Equal Sign
> 062 3E 0011 1110 &#62; Greater Than Sign
? 063 3F 0011 1111 &#63; Question Mark
@ 064 40 0100 0000 &#64; "At" Symbol
A 065 41 0100 0001 &#65; Upper Case A
B 066 42 0100 0010 &#66; Upper Case B
C 067 43 0100 0011 &#67; Upper Case C
D 068 44 0100 0100 &#68; Upper Case D
E 069 45 0100 0101 &#69; Upper Case E
F 070 46 0100 0110 &#70; Upper Case F
G 071 47 0100 0111 &#71; Upper Case G
H 072 48 0100 1000 &#72; Upper Case H
I 073 49 0100 1001 &#73; Upper Case I
J 074 4A 0100 1010 &#74; Upper Case J
K 075 4B 0100 1011 &#75; Upper Case K
L 076 4C 0100 1100 &#76; Upper Case L
M 077 4D 0100 1101 &#77; Upper Case M
N 078 4E 0100 1110 &#78; Upper Case N
O 079 4F 0100 1111 &#79; Upper Case O
P 080 50 0101 0000 &#80; Upper Case P
Q 081 51 0101 0001 &#81; Upper Case Q
R 082 52 0101 0010 &#82; Upper Case R
S 083 53 0101 0011 &#83; Upper Case S
T 084 54 0101 0100 &#84; Upper Case T
U 085 55 0101 0101 &#85; Upper Case U
V 086 56 0101 0110 &#86; Upper Case V
W 087 57 0101 0111 &#87; Upper Case W
X 088 58 0101 1000 &#88; Upper Case X
Y 089 59 0101 1001 &#89; Upper Case Y
Z 090 5A 0101 1010 &#90; Upper Case Z
[ 091 5B 0101 1011 &#91; Left Opening Bracket
\ 092 5C 0101 1100 &#92; Back Slash
] 093 5D 0101 1101 &#93; Right Closing Bracket
^ 094 5E 0101 1110 &#94; Caret / Circumflex
_ 095 5F 0101 1111 &#95; Underscore
` 096 60 0110 0000 &#96; Grave Accent
a 097 61 0110 0001 &#97; Lower Case a
b 098 62 0110 0010 &#98; Lower Case b
c 099 63 0110 0011 &#99; Lower Case c
d 100 64 0110 0100 &#100; Lower Case d
e 101 65 0110 0101 &#101; Lower Case e
f 102 66 0110 0110 &#102; Lower Case f
g 103 67 0110 0111 &#103; Lower Case g
h 104 68 0110 1000 &#104; Lower Case h
i 105 69 0110 1001 &#105; Lower Case i
j 106 6A 0110 1010 &#106; Lower Case j
k 107 6B 0110 1011 &#107; Lower Case k
l 108 6C 0110 1100 &#108; Lower Case l
m 109 6D 0110 1101 &#109; Lower Case m
n 110 6E 0110 1110 &#110; Lower Case n
o 111 6F 0110 1111 &#111; Lower Case o
p 112 70 0111 0000 &#112; Lower Case p
q 113 71 0111 0001 &#113; Lower Case q
r 114 72 0111 0010 &#114; Lower Case r
s 115 73 0111 0011 &#115; Lower Case s
t 116 74 0111 0100 &#116; Lower Case t
u 117 75 0111 0101 &#117; Lower Case u
v 118 76 0111 0110 &#118; Lower Case v
w 119 77 0111 0111 &#119; Lower Case w
x 120 78 0111 1000 &#120; Lower Case x
y 121 79 0111 1001 &#121; Lower Case y
z 122 7A 0111 1010 &#122; Lower Case z
{ 123 7B 0111 1011 &#123; Left Opening Brace
| 124 7C 0111 1100 &#124; Vertical Bar / Pipe
} 125 7D 0111 1101 &#125; Right Closing Brace
~ 126 7E 0111 1110 &#126; Tilde
DEL 127 7F 0111 1111 &#127; Delete Command
Recommended Reading

Shrug Life: ASCII Plain Lined Notebook Journal Computer Code Humor

by Pashing Smumpkins
(Amazon Affiliate Link)



Suggestion

Keep Calm and Code Python T-Shirt

by Python Merch
(Amazon Affiliate Link)