ASCII – American Standard Code for Information Interchange

ASCII stands for American Standard Code for Information Interchange. It is a character encoding standard developed in the early 1960s to enable consistent encoding of text for electronic communication.

  • Standard ASCII uses 7 bits to represent each character, giving a total of 128 characters.
  • These include:
    • Control characters (0–31): such as newline (LF), carriage return (CR), and backspace. These are non-printable character.
    • Printable characters (32–126): including the English alphabet (uppercase and lowercase), digits, punctuation, and symbols.
    • DEL (127): a control character used to represent “delete”. This is also a non-printable character.

ASCII was developed by the American National Standards Institute (ANSI) through its committee called ASA X3.2 (later known as ANSI X3), which was part of the American Standards Association — a predecessor of ANSI.

Key people and milestones:

  • Work began: In the late 1950s and early 1960s.
  • Finalized: The first version of ASCII was published in 1963.
  • Primary developer: The effort was led by Bob Bemer, an IBM engineer, often called the “father of ASCII.”
    • He advocated for features like the escape character (ESC), backslash (), and curly braces ({ }).
  • Official standard: ASCII was standardized as ANSI X3.4-1963, and later revised (the most common version being ANSI X3.4-1986).

Why it was developed:

Before ASCII, computers used incompatible, proprietary encodings (like EBCDIC from IBM). ASCII provided a unified standard to encode characters across machines, enabling easier data interchange between systems.

ASCII Chart

0123456789ABCDEF
0x
1x
2x!#$%&()*+,./
3x0123456789:;<=>?
4x@ABCDEFGHIJKLMNO
5xPQRSTUVWXYZ[\]^_
6x`abcdefghijklmno
7xpqrstuvwxyz{|}~

ASCII Table

CharacterCharacter NameDecimalOctalHexadecimalBinaryHTML NumberHTML NameAlt CodeUnicode Code Point
Null (NUL)00000000000000&#00;Alt 0U+0000
Start of Heading (SOH)10010100000001&#01;Alt 01U+0001
Start of Text (STX)20020200000010&#02;Alt 02U+0002
End of Text (ETX)30030300000011&#03;Alt 03U+0003
End of Transmission (EOT)40040400000100&#04;Alt 04U+0004
Enquiry (ENQ)50050500000101&#05;Alt 05U+0005
Acknowledge (ACK)60060600000110&#06;Alt 06U+0006
Bell, Alert (BEL)70070700000111&#07;Alt 07U+0007
Backspace (BS)80100800001000&#08;Alt 08U+0008
Horizontal Tabulation (HT)90110900001001&#09;Alt 09U+0009
Line Feed (LF)100120A00001010&#10;Alt 010U+000A
Vertical Tabulation (VT)110130B00001011&#11;Alt 011U+000B
Form Feed (FF)120140C00001100&#12;Alt 012U+000C
Carriage Return (CR)130150D00001101&#13;Alt 013U+000D
Shift Out (SO)140160E00001110&#14;Alt 014U+000E
Shift In (SI)150170F00001111&#15;Alt 015U+000F
Data Link Escape (DLE)160201000010000&#16;Alt 016U+0010
Device Control One (DC1)170211100010001&#17;Alt 017U+0011
Device Control Two (DC2)180221200010010&#18;Alt 018U+0012
Device Control Three (DC3)190231300010011&#19;Alt 019U+0013
Device Control Four  (DC4)200241400010100&#20;Alt 020U+0014
Negative Acknowledge (NAK)210251500010101&#21;Alt 021U+0015
Synchronous Idle (SYN)220261600010110&#22;Alt 022U+0016
End of Transmission Block (ETB)230271700010111&#23;Alt 023U+0017
Cancel (CAN)240301800011000&#24;Alt 024U+0018
End of Medium (EM)250311900011001&#25;Alt 025U+0019
Substitute (SUB)260321A00011010&#26;Alt 026U+001A
Escape (ESC)270331B00011011&#27;Alt 027U+001B
File Separator (FS)280341C00011100&#28;Alt 028U+001C
Group Separator (GS)290351D00011101&#29;Alt 029U+001D
Record Separator (RS)300361E00011110&#30;Alt 030U+001E
Unit Separator (US)310371F00011111&#31;Alt 031U+001F
Space320402000100000&#32;Alt 032U+0020
!Exclamation mark330412100100001&#33;&excl;Alt 033U+0021
Quotation mark, double quotes340422200100010&#34;&quot;Alt 034U+0022
#Number sign350432300100011&#35;&num;Alt 035U+0023
$Dollar sign360442400100100&#36;&dollar;Alt 036U+0024
%Percent sign370452500100101&#37;&percnt;Alt 037U+0025
&Ampersand380462600100110&#38;&amp;Alt 038U+0026
Apostrophe, single quote390472700100111&#39;&apos;Alt 039U+0027
(Left parenthesis, open parenthesis400502800101000&#40;&lparen;Alt 040U+0028
)Right parenthesis, close parenthesis410512900101001&#41;&rparen;Alt 041U+0029
*Asterisk420522A00101010&#42;&ast;Alt 042U+002A
+Plus sign430532B00101011&#43;&plus;Alt 043U+002B
,Comma440542C00101100&#44;&comma;Alt 044U+002C
Hyphen-minus450552D00101101&#45;Alt 045U+002D
.Full stop, period, dot460562E00101110&#46;&period;Alt 046U+002E
/Solidus, slash, fraction bar, division slash470572F00101111&#47;&sol;Alt 047U+002F
0Digit zero480603000110000&#48;Alt 048U+0030
1Digit one490613100110001&#49;Alt 049U+0031
2Digit two500623200110010&#50;Alt 050U+0032
3Digit three510633300110011&#51;Alt 051U+0033
4Digit four520643400110100&#52;Alt 052U+0034
5Digit five530653500110101&#53;Alt 053U+0035
6Digit six540663600110110&#54;Alt 054U+0036
7Digit seven550673700110111&#55;Alt 055U+0037
8Digit eight560703800111000&#56;Alt 056U+0038
9Digit nine570713900111001&#57;Alt 057U+0039
:Colon580723A00111010&#58;&colon;Alt 058U+003A
;Semicolon590733B00111011&#59;&semi;Alt 059U+003B
Less-than sign600743C00111100&#60;&lt;Alt 060U+003C
=Equals sign610753D00111101&#61;&equals;Alt 061U+003D
Greater-than sign620763E00111110&#62;&gt;Alt 062U+003E
?Question mark630773F00111111&#63;&quest;Alt 063U+003F
@Commercial at, at sign641004001000000&#64;&commat;Alt 064U+0040
AUppercase A, Latin capital letter A651014101000001&#65;Alt 065U+0041
BUppercase B, Latin capital letter B661024201000010&#66;Alt 066U+0042
CUppercase C, Latin capital letter C671034301000011&#67;Alt 067U+0043
DUppercase D, Latin capital letter D681044401000100&#68;Alt 068U+0044
EUppercase E, Latin capital letter E691054501000101&#69;Alt 069U+0045
FUppercase F, Latin capital letter F701064601000110&#70;Alt 070U+0046
GUppercase G, Latin capital letter G711074701000111&#71;Alt 071U+0047
HUppercase H, Latin capital letter H721104801001000&#72;Alt 072U+0048
IUppercase I, Latin capital letter I731114901001001&#73;Alt 073U+0049
JUppercase J, Latin capital letter J741124A01001010&#74;Alt 074U+004A
KUppercase K, Latin capital letter K751134B01001011&#75;Alt 075U+004B
LUppercase L, Latin capital letter L761144C01001100&#76;Alt 076U+004C
MUppercase M, Latin capital letter M771154D01001101&#77;Alt 077U+004D
NUppercase N, Latin capital letter N781164E01001110&#78;Alt 078U+004E
OUppercase O, Latin capital letter O791174F01001111&#79;Alt 079U+004F
PUppercase P, Latin capital letter P801205001010000&#80;Alt 080U+0050
QUppercase Q, Latin capital letter Q811215101010001&#81;Alt 081U+0051
RUppercase R, Latin capital letter R821225201010010&#82;Alt 082U+0052
SUppercase S, Latin capital letter S831235301010011&#83;Alt 083U+0053
TUppercase T, Latin capital letter T841245401010100&#84;Alt 084U+0054
UUppercase U, Latin capital letter U851255501010101&#85;Alt 085U+0055
VUppercase V, Latin capital letter V861265601010110&#86;Alt 086U+0056
WUppercase W, Latin capital letter W871275701010111&#87;Alt 087U+0057
XUppercase X, Latin capital letter X881305801011000&#88;Alt 088U+0058
YUppercase Y, Latin capital letter Y891315901011001&#89;Alt 089U+0059
ZUppercase Z, Latin capital letter Z901325A01011010&#90;Alt 090U+005A
[Opening bracket, Left square bracket911335B01011011&#91;&lsqb;Alt 091U+005B
\Backslash, reverse solidus921345C01011100&#92;&bsol;Alt 092U+005C
]Closing bracket, right square bracket931355D01011101&#93;&rsqb;Alt 093U+005D
^Caret, circumflex accent941365E01011110&#94;&Hat;Alt 094U+005E
_Underscore, low line951375F01011111&#95;&lowbar;Alt 095U+005F
`Grave accent961406001100000&#96;&grave;Alt 096U+0060
aLowercase a, Latin small letter a971416101100001&#97;Alt 097U+0061
bLowercase b, Latin small letter b981426201100010&#98;Alt 098U+0062
cLowercase c, Latin small letter c991436301100011&#99;Alt 099U+0063
dLowercase d, Latin small letter d1001446401100100&#100;Alt 0100U+0064
eLowercase e, Latin small letter e1011456501100101&#101;Alt 0101U+0065
fLowercase f, Latin small letter f1021466601100110&#102;Alt 0102U+0066
gLowercase g, Latin small letter g1031476701100111&#103;Alt 0103U+0067
hLowercase h, Latin small letter h1041506801101000&#104;Alt 0104U+0068
iLowercase i, Latin small letter i1051516901101001&#105;Alt 0105U+0069
jLowercase j, Latin small letter j1061526A01101010&#106;Alt 0106U+006A
kLowercase k, Latin small letter k1071536B01101011&#107;Alt 0107U+006B
lLowercase l, Latin small letter l1081546C01101100&#108;Alt 0108U+006C
mLowercase m, Latin small letter m1091556D01101101&#109;Alt 0109U+006D
nLowercase n, Latin small letter n1101566E01101110&#110;Alt 0110U+006E
oLowercase o, Latin small letter o1111576F01101111&#111;Alt 0111U+006F
pLowercase p, Latin small letter p1121607001110000&#112;Alt 0112U+0070
qLowercase q, Latin small letter q1131617101110001&#113;Alt 0113U+0071
rLowercase r, Latin small letter r1141627201110010&#114;Alt 0114U+0072
sLowercase s, Latin small letter s1151637301110011&#115;Alt 0115U+0073
tLowercase t, Latin small letter t1161647401110100&#116;Alt 0116U+0074
uLowercase u, Latin small letter u1171657501110101&#117;Alt 0117U+0075
vLowercase v, Latin small letter v1181667601110110&#118;Alt 0118U+0076
wLowercase w, Latin small letter w1191677701110111&#119;Alt 0119U+0077
xLowercase x, Latin small letter x1201707801111000&#120;Alt 0120U+0078
yLowercase y, Latin small letter y1211717901111001&#121;Alt 0121U+0079
zLowercase z, Latin small letter z1221727A01111010&#122;Alt 0122U+007A
{Opening brace, left curly bracket1231737B01111011&#123;&lcub;Alt 0123U+007B
|Vertical bar, vertical line1241747C01111100&#124;&verbar;Alt 0124U+007C
}Closing brace, right curly bracket1251757D01111101&#125;&rcub;Alt 0125U+007D
~Equivalency sign, tilde, swung dash1261767E01111110&#126;&tilde;Alt 0126U+007E
Delete (DEL)1271777F01111111&#127;Alt 0127U+007F

Frequently Asked Questions About ASCII