Skip to the tool
Binary Translator Free tools

ASCII table

All 128 ASCII codes in decimal, hex, octal and binary, so it works as an ASCII table in binary and a hex to ASCII table. Search for a character, a code or a name.

Updated · Written and checked by Murugan Vellaichamy

ASCII table with binary and hex: codes 0 to 127

DecimalHexOctalBinaryCharacterName
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 (Stop)
211502500010101NAKNegative Acknowledge
221602600010110SYNSynchronous Idle
231702700010111ETBEnd of Transmission Block
241803000011000CANCancel
251903100011001EMEnd of Medium
261A03200011010SUBSubstitute
271B03300011011ESCEscape
281C03400011100FSFile Separator
291D03500011101GSGroup Separator
301E03600011110RSRecord Separator
311F03700011111USUnit Separator
322004000100000SPSpace
332104100100001!
342204200100010"
352304300100011#
362404400100100$
372504500100101%
382604600100110&
392704700100111'
402805000101000(
412905100101001)
422A05200101010*
432B05300101011+
442C05400101100,
452D05500101101-
462E05600101110.
472F05700101111/
4830060001100000Digit 0
4931061001100011Digit 1
5032062001100102Digit 2
5133063001100113Digit 3
5234064001101004Digit 4
5335065001101015Digit 5
5436066001101106Digit 6
5537067001101117Digit 7
5638070001110008Digit 8
5739071001110019Digit 9
583A07200111010:
593B07300111011;
603C07400111100<
613D07500111101=
623E07600111110>
633F07700111111?
644010001000000@
654110101000001ACapital A
664210201000010BCapital B
674310301000011CCapital C
684410401000100DCapital D
694510501000101ECapital E
704610601000110FCapital F
714710701000111GCapital G
724811001001000HCapital H
734911101001001ICapital I
744A11201001010JCapital J
754B11301001011KCapital K
764C11401001100LCapital L
774D11501001101MCapital M
784E11601001110NCapital N
794F11701001111OCapital O
805012001010000PCapital P
815112101010001QCapital Q
825212201010010RCapital R
835312301010011SCapital S
845412401010100TCapital T
855512501010101UCapital U
865612601010110VCapital V
875712701010111WCapital W
885813001011000XCapital X
895913101011001YCapital Y
905A13201011010ZCapital Z
915B13301011011[
925C13401011100\
935D13501011101]
945E13601011110^
955F13701011111_
966014001100000`
976114101100001aSmall a
986214201100010bSmall b
996314301100011cSmall c
1006414401100100dSmall d
1016514501100101eSmall e
1026614601100110fSmall f
1036714701100111gSmall g
1046815001101000hSmall h
1056915101101001iSmall i
1066A15201101010jSmall j
1076B15301101011kSmall k
1086C15401101100lSmall l
1096D15501101101mSmall m
1106E15601101110nSmall n
1116F15701101111oSmall o
1127016001110000pSmall p
1137116101110001qSmall q
1147216201110010rSmall r
1157316301110011sSmall s
1167416401110100tSmall t
1177516501110101uSmall u
1187616601110110vSmall v
1197716701110111wSmall w
1207817001111000xSmall x
1217917101111001ySmall y
1227A17201111010zSmall z
1237B17301111011{
1247C17401111100|
1257D17501111101}
1267E17601111110~
1277F17701111111DELDelete

What is ASCII?

ASCII is a 7-bit character code: it gives each of 128 characters a number from 0 to 127.

RFC 20 (1969) adopted it for network interchange, copying the table from the USA Standard Code for Information Interchange, USAS X3.4-1968, and storing each code in an 8-bit byte whose top bit is 0. The first 32 codes and code 127 are control codes; the rest are the space, digits, English letters and punctuation.

ASCII is the base of almost all text encodings in use today. UTF-8 keeps every ASCII character as the same single byte, which is why an ASCII file is also a valid UTF-8 file. The UTF-8 guide explains how the other characters are added.

Reading the table

Codes 0 to 31 and 127 are control characters: instructions for printers and terminals rather than visible symbols. Line feed (10) and carriage return (13) still mark the ends of lines in text files today. Codes 32 to 126 are the printable characters, starting with the space.

Capital and small letters differ by exactly 32, a single bit: A is 01000001 and a is 01100001. Digits 0 to 9 are codes 48 to 57, so the last four bits of a digit’s code are its value.

Sources and method

Questions

Is ASCII the same as UTF-8?

For codes 0 to 127, yes: UTF-8 was designed so that every ASCII character keeps its single-byte value. UTF-8 then adds multi-byte sequences for every other character.

Why is ASCII 7 bits and not 8?

The standard defines 128 characters, which fit in 7 bits. Stored in an 8-bit byte, the top bit is 0. RFC 20 describes exactly this: 7-bit ASCII in an 8-bit byte whose high-order bit is always 0.

What is extended ASCII?

Codes 128 to 255 aren’t part of ASCII. Different systems used them for different characters, such as Windows-1252 or ISO 8859-1, which is why the same byte can show up as different symbols.

More converters

Copied