ASCII Table

Standard ASCII Table

ASCII, which stands for the American Standard Code for Information Interchange, is a character encoding standard used for representing text in computers, communication equipment, and other digital devices. Each character is assigned a numeric value between 0 and 127 in the standard ASCII specification. ASCII was developed in the early 1960s and became widely adopted due to its simplicity and compatibility with early computing systems.

Standard ASCII contains:

  • Control characters (0-31 and 127), such as carriage return (CR), line feed (LF), and backspace (BS), which are used for text formatting and control in data streams.
  • Printable characters (32-126), including:
    • Uppercase and lowercase English letters (A-Z, a-z)
    • Digits (0-9)
    • Common punctuation marks and symbols (e.g., !, @, #, $, %, &, *)
    • Whitespace characters like the space (decimal 32)

Standard ASCII is universally supported across all modern programming languages and systems. It forms the basis for most modern character encodings, including UTF-8.

The standard ASCII table is as follows:

Decimal 0 - 31
DecBinOctHexASCII
00000000000000NUL
10000000100101SOH
20000001000202STX
30000001100303ETX
40000010000404EOT
50000010100505ENQ
60000011000606ACK
70000011100707BEL
80000100001008BS
90000100101109TAB
10000010100120ALF
11000010110130BVT
12000011000140CFF
13000011010150DCR
14000011100160ESO
15000011110170FSI
160001000002010DLE
170001000102111DC1
180001001002212DC2
190001001102313DC3
200001010002414DC4
210001010102515NAK
220001011002616SYN
230001011102717ETB
240001100003018CAN
250001100103119EM
26000110100321ASUB
27000110110331BESC
28000111000341CFS
29000111010351DGS
30000111100361ERS
31000111110371FUS
Decimal 32 - 63
DecBinOctHexASCII
320010000004020SPACE
330010000104121!
340010001004222"
350010001104323#
360010010004424$
370010010104525%
380010011004626&
390010011104727'
400010100005028(
410010100105129)
42001010100522A*
43001010110532B+
44001011000542C,
45001011010552D-
46001011100562E.
47001011110572F/
4800110000060300
4900110001061311
5000110010062322
5100110011063333
5200110100064344
5300110101065355
5400110110066366
5500110111067377
5600111000070388
5700111001071399
58001110100723A:
59001110110733B;
60001111000743C<
61001111010753D=
62001111100763E>
63001111110773F?
Decimal 64 - 95
DecBinOctHexASCII
640100000010040@
650100000110141A
660100001010242B
670100001110343C
680100010010444D
690100010110545E
700100011010646F
710100011110747G
720100100011048H
730100100111149I
74010010101124AJ
75010010111134BK
76010011001144CL
77010011011154DM
78010011101164EN
79010011111174FO
800101000012050P
810101000112151Q
820101001012252R
830101001112353S
840101010012454T
850101010112555U
860101011012656V
870101011112757W
880101100013058X
890101100113159Y
90010110101325AZ
91010110111335B[
92010111001345C\
93010111011355D]
94010111101365E^
95010111111375F_
Decimal 96 - 127
DecBinOctHexASCII
960110000014060`
970110000114161a
980110001014262b
990110001114363c
1000110010014464d
1010110010114565e
1020110011014666f
1030110011114767g
1040110100015068h
1050110100115169i
106011010101526Aj
107011010111536Bk
108011011001546Cl
109011011011556Dm
110011011101566En
111011011111576Fo
1120111000016070p
1130111000116171q
1140111001016272r
1150111001116373s
1160111010016474t
1170111010116575u
1180111011016676v
1190111011116777w
1200111100017078x
1210111100117179y
122011110101727Az
123011110111737B{
124011111001747C|
125011111011757D}
126011111101767E~
127011111111777FDEL

Extended ASCII Table

Extended ASCII refers to the set of characters that occupy the decimal values 128 through 255. These characters are not part of the original ASCII standard but are commonly used in many systems to support additional characters needed for various languages and symbols.

Since the original ASCII only used 7 bits (128 values), the extended ASCII set uses the 8th bit to allow for 256 total values. The characters in this range vary depending on the specific character encoding used, but common implementations include:

  • ISO 8859-1 (Latin-1): Adds accented characters for Western European languages, currency symbols, and additional punctuation.
  • Windows-1252: A superset of ISO 8859-1 used by Microsoft Windows, which includes typographic quotation marks, the euro sign, and more.
  • Box-drawing characters and graphic symbols in certain legacy DOS-based encodings (e.g., Code Page 437).

Extended ASCII is not standardized in the same way as the original ASCII set, which can lead to inconsistencies across different systems and encodings. For modern applications, Unicode (such as UTF-8) is typically used to represent a much larger set of characters across multiple languages and symbols while maintaining backward compatibility with standard ASCII.

Decimal 128 - 159
DecBinOctHexASCII
1281000000020080
1291000000120181unused
1301000001020282
1311000001120383ƒ
1321000010020484
1331000010120585
1341000011020686
1351000011120787
1361000100021088ˆ
1371000100121189
138100010102128AŠ
139100010112138B
140100011002148CŒ
141100011012158Dunused
142100011102168EŽ
143100011112178Funused
1441001000022090unused
1451001000122191
1461001001022292
1471001001122393
1481001010022494
1491001010122595
1501001011022696
1511001011122797
1521001100023098˜
1531001100123199
154100110102329Aš
155100110112339B
156100111002349Cœ
157100111012359Dunused
158100111102369Ež
159100111112379FŸ
Decimal 160 - 191
DecBinOctHexASCII
16010100000240A0 
16110100001241A1¡
16210100010242A2¢
16310100011243A3£
16410100100244A4¤
16510100101245A5¥
16610100110246A6¦
16710100111247A7§
16810101000250A8¨
16910101001251A9©
17010101010252AAª
17110101011253AB«
17210101100254AC¬
17310101101255AD­
17410101110256AE®
17510101111257AF¯
17610110000260B0°
17710110001261B1±
17810110010262B2²
17910110011263B3³
18010110100264B4´
18110110101265B5µ
18210110110266B6
18310110111267B7·
18410111000270B8¸
18510111001271B9¹
18610111010272BAº
18710111011273BB»
18810111100274BC¼
18910111101275BD½
19010111110276BE¾
19110111111277BF¿
Decimal 192 - 223
DecBinOctHexASCII
19211000000300C0À
19311000001301C1Á
19411000010302C2Â
19511000011303C3Ã
19611000100304C4Ä
19711000101305C5Å
19811000110306C6Æ
19911000111307C7Ç
20011001000310C8È
20111001001311C9É
20211001010312CAÊ
20311001011313CBË
20411001100314CCÌ
20511001101315CDÍ
20611001110316CEÎ
20711001111317CFÏ
20811010000320D0Ð
20911010001321D1Ñ
21011010010322D2Ò
21111010011323D3Ó
21211010100324D4Ô
21311010101325D5Õ
21411010110326D6Ö
21511010111327D7×
21611011000330D8Ø
21711011001331D9Ù
21811011010332DAÚ
21911011011333DBÛ
22011011100334DCÜ
22111011101335DDÝ
22211011110336DEÞ
22311011111337DFß
Decimal 224 - 255
DecBinOctHexASCII
22411100000340E0à
22511100001341E1á
22611100010342E2â
22711100011343E3ã
22811100100344E4ä
22911100101345E5å
23011100110346E6æ
23111100111347E7ç
23211101000350E8è
23311101001351E9é
23411101010352EAê
23511101011353EBë
23611101100354ECì
23711101101355EDí
23811101110356EEî
23911101111357EFï
24011110000360F0ð
24111110001361F1ñ
24211110010362F2ò
24311110011363F3ó
24411110100364F4ô
24511110101365F5õ
24611110110366F6ö
24711110111367F7÷
24811111000370F8ø
24911111001371F9ù
25011111010372FAú
25111111011373FBû
25211111100374FCü
25311111101375FDý
25411111110376FEþ
25511111111377FFÿ

More About Extended ASCII

You might have noticed that some characters are unused, namely decimal values 141, 143, 144, and 157. This is because the ISO/IEC 8859-1 (Latin-1) character set, a widely adopted standard, does not assign visible characters to these positions. Instead, they were reserved for control characters in older standards like CP437 or Windows-1252.

The character at the decimal value 160 is the Non-Breaking Space character. It appears invisible, but it's simply an empty character.

Additionally, character 173 is the Soft Hyphen (SHY). It is an invisible character used to suggest where a word can break at the end of a line. Most modern browsers do not render it unless a line break occurs at that point, which is why it often appears blank in character tables.