Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

ASCII Table

  • Last Updated : 29 Apr, 2021

ASCII (American Standard Code for Information Interchange) is a standard character encoding used in telecommunication. They represent text in, telecommunications equipment, and devices. These include numbers, upper and lowercase English letters, functions, punctuation symbols, and some other symbols. In total, there are 256 ASCII characters, and can be broadly divided into three categories: 

  1. ASCII control characters (0-31 and 127)
  2. ASCII printable characters (32-126) (most commonly referred)
  3. Extended ASCII characters (128-255)

Below are the ASCII values of printable characters (33, 126):

CharacterCharacter NameASCII code CharacterCharacter NameASCII code CharacterCharacter NameASCII code
!Exclamation point33 AUppercase a65 aLowercase a97
Double quotation34 BUppercase b66 bLowercase b98
#Number sign35 CUppercase c67 cLowercase c99
$Dollar sign36 DUppercase d68 dLowercase d100
%Percent sign37 EUppercase e69 eLowercase e101
&ampersand38 FUppercase f70 fLowercase f102
apostrophe39 GUppercase g71 gLowercase g103
(Left parenthesis40 HUppercase h72 hLowercase h104
)Right parenthesis41 IUppercase i73 iLowercase i105
*asterisk42 JUppercase j74 jLowercase j106
+Plus sign43 KUppercase k75 kLowercase k107
,comma44 LUppercase l76 lLowercase l108
hyphen45 MUppercase m77 mLowercase m109
.period46 NUppercase n78 nLowercase n110
/slash47 OUppercase o79 oLowercase o111
0zero48 PUppercase p80 pLowercase p112
1one49 QUppercase q81 qLowercase q113
2two50 RUppercase r82 rLowercase r114
3three51 Suppercases83 sLowercase s115
4four52 TUppercase t84 tLowercase t116
5five53 UUppercase u85 uLowercase u117
6six54 VUppercase v86 vLowercase v118
7seven55 WUppercase w87 wLowercase w119
8eight56 XUppercase x88 xLowercase x120
9nine57 YUppercase y89 yLowercase y121
:colon58 ZUppercase z90 zLowercase z122
;semi-colon59 [Left square bracket91 {Left curly brace123
<Less-than sign60 \backslash92 |Vertical bar124
=Equals sign61 ]Right square bracket93 }Right curly brace125
>Greater-than sign62 ^caret94 ~tilde126
?Question mark63 _underscore95    
@At sign64 `Grave accent96    

So what’s before 33 and beyond 126?

  1. ASCII values before 32 (0-31) are control characters. A character code is often used in in-band signaling as a reference point in a set of characters to avoid adding additional symbols to the text.
  2. At 32, we have space, it is included as printed characters, however, it’s not wrong to say space could also serve as a control character.
  3. At 127, we have DEL (delete), which is a control character.
  4. After 127, (128-255), we have Extended ASCII characters representing mathematical and other symbols that are not represented as keys and are not used in general.

Below are the ASCII values of control characters (0-31, 127):

CharacterCharacter NameASCII Code CharacterCharacter NameASCII Code CharacterCharacter NameASCII Code
NULLNull character00 VTVertical tab11 SYNSynchronous idle22
SOHStart of header01 FFForm feed12 ETBEnd of trans. Block23
STXStart of text02 CRCarriage return13 CANcancel24
ETXEnd of text03 SOShift out14 EMEnd of medium25
EOTEnd of transmission04 SIShift in15 SUBsubstitute26
ENQenquiry05 DLEData link escape16 ESCescape27
ACKacknowledge06 DC1Device control 117 FSFile separator28
BELbell07 DC2Device control 218 GSGroup separator29
BSbackspace08 DC3Device control 319 RSRecord separator30
HTHorizontal tab09 DC4Device control 420 USUnit separator31
LFLine feed10 NAKNegative acknowledge21 DELdelete127

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

 




My Personal Notes arrow_drop_up
Recommended Articles
Page :