Home / ASCII table: all 128 codes in decimal, hex, octal and binary

ASCII table: all 128 codes in decimal, hex, octal and binary

Updated December 3, 2026

The full ASCII table, 0 to 127, generated by the same code as the converter so the columns always agree.

Encoding, not encryption. These tools convert between ways of writing the same information. They are not secure encryption, so do not rely on them to protect anything private. Everything runs in your browser, and what you type is not sent anywhere.

What ASCII is

ASCII, the American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English-language focused) printable and 33 control characters, a total of 128 code points. RFC 20, written in 1969, suggested “the use of standard 7-bit ASCII embedded in an 8 bit byte whose high order bit is always 0”. That is why every code here fits in 7 bits and its 8-bit binary form starts with 0.

Control characters, 0 to 31 and 127

Control characters and space
DecimalHexOctalBinaryAbbreviationName
00000000000000NULNull
10100100000001SOHStart of Heading
20200200000010STXStart of Text
30300300000011ETXEnd of Text
40400400000100EOTEnd of Transmission
50500500000101ENQEnquiry
60600600000110ACKAcknowledge
70700700000111BELBell
80801000001000BSBackspace
90901100001001HTHorizontal Tabulation
100A01200001010LFLine Feed
110B01300001011VTVertical Tabulation
120C01400001100FFForm Feed
130D01500001101CRCarriage Return
140E01600001110SOShift Out
150F01700001111SIShift In
161002000010000DLEData Link Escape
171102100010001DC1Device Control 1
181202200010010DC2Device Control 2
191302300010011DC3Device Control 3
201402400010100DC4Device Control 4
211502500010101NAKNegative Acknowledge
221602600010110SYNSynchronous Idle
231702700010111ETBEnd of Transmission Block
241803000011000CANCancel
251903100011001EMEnd of Medium
261A03200011010SUBSubstitute
271B03300011011ESCEscape
281C03400011100FSFile Separator
291D03500011101GSGroup Separator
301E03600011110RSRecord Separator
311F03700011111USUnit Separator
322004000100000SPSpace
1277F17701111111DELDelete

Printable characters, 32 to 126

Code 32 is the space (SP). The others are the visible characters. The first column of each pair gives the decimal code.

Printable ASCII characters
DecHexOctBinaryCharDecHexOctBinaryChar
332104100100001!805012001010000P
342204200100010"815112101010001Q
352304300100011#825212201010010R
362404400100100$835312301010011S
372504500100101%845412401010100T
382604600100110&855512501010101U
392704700100111'865612601010110V
402805000101000(875712701010111W
412905100101001)885813001011000X
422A05200101010*895913101011001Y
432B05300101011+905A13201011010Z
442C05400101100,915B13301011011[
452D05500101101-925C13401011100\
462E05600101110.935D13501011101]
472F05700101111/945E13601011110^
4830060001100000955F13701011111_
4931061001100011966014001100000`
5032062001100102976114101100001a
5133063001100113986214201100010b
5234064001101004996314301100011c
53350650011010151006414401100100d
54360660011011061016514501100101e
55370670011011171026614601100110f
56380700011100081036714701100111g
57390710011100191046815001101000h
583A07200111010:1056915101101001i
593B07300111011;1066A15201101010j
603C07400111100<1076B15301101011k
613D07500111101=1086C15401101100l
623E07600111110>1096D15501101101m
633F07700111111?1106E15601101110n
644010001000000@1116F15701101111o
654110101000001A1127016001110000p
664210201000010B1137116101110001q
674310301000011C1147216201110010r
684410401000100D1157316301110011s
694510501000101E1167416401110100t
704610601000110F1177516501110101u
714710701000111G1187616601110110v
724811001001000H1197716701110111w
734911101001001I1207817001111000x
744A11201001010J1217917101111001y
754B11301001011K1227A17201111010z
764C11401001100L1237B17301111011{
774D11501001101M1247C17401111100|
784E11601001110N1257D17501111101}
794F11701001111O1267E17601111110~

Reading the table

To convert text with these codes use the ASCII converter.