ASCII Table

The complete ASCII table: all 128 characters with their decimal, hexadecimal, octal and binary codes. Type in the box to filter by character, code or name.

Handy ranges: digits 0–9 are 48–57, uppercase A–Z are 65–90, lowercase a–z are 97–122, and the space is 32. Convert any text to these codes with the text to binary converter.

Showing 128 of 128 characters

DecHexOctBinaryCharDescription
00000000000000NULNull
10100100000001SOHStart of heading
20200200000010STXStart of text
30300300000011ETXEnd of text
40400400000100EOTEnd of transmission
50500500000101ENQEnquiry
60600600000110ACKAcknowledge
70700700000111BELBell
80801000001000BSBackspace
90901100001001HTHorizontal tab
100A01200001010LFLine feed (new line)
110B01300001011VTVertical tab
120C01400001100FFForm feed
130D01500001101CRCarriage return
140E01600001110SOShift out
150F01700001111SIShift in
161002000010000DLEData link escape
171102100010001DC1Device control 1 (XON)
181202200010010DC2Device control 2
191302300010011DC3Device control 3 (XOFF)
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
332104100100001!Symbol
342204200100010"Symbol
352304300100011#Symbol
362404400100100$Symbol
372504500100101%Symbol
382604600100110&Symbol
392704700100111'Symbol
402805000101000(Symbol
412905100101001)Symbol
422A05200101010*Symbol
432B05300101011+Symbol
442C05400101100,Symbol
452D05500101101-Symbol
462E05600101110.Symbol
472F05700101111/Symbol
4830060001100000Digit
4931061001100011Digit
5032062001100102Digit
5133063001100113Digit
5234064001101004Digit
5335065001101015Digit
5436066001101106Digit
5537067001101117Digit
5638070001110008Digit
5739071001110019Digit
583A07200111010:Symbol
593B07300111011;Symbol
603C07400111100<Symbol
613D07500111101=Symbol
623E07600111110>Symbol
633F07700111111?Symbol
644010001000000@Symbol
654110101000001AUppercase letter
664210201000010BUppercase letter
674310301000011CUppercase letter
684410401000100DUppercase letter
694510501000101EUppercase letter
704610601000110FUppercase letter
714710701000111GUppercase letter
724811001001000HUppercase letter
734911101001001IUppercase letter
744A11201001010JUppercase letter
754B11301001011KUppercase letter
764C11401001100LUppercase letter
774D11501001101MUppercase letter
784E11601001110NUppercase letter
794F11701001111OUppercase letter
805012001010000PUppercase letter
815112101010001QUppercase letter
825212201010010RUppercase letter
835312301010011SUppercase letter
845412401010100TUppercase letter
855512501010101UUppercase letter
865612601010110VUppercase letter
875712701010111WUppercase letter
885813001011000XUppercase letter
895913101011001YUppercase letter
905A13201011010ZUppercase letter
915B13301011011[Symbol
925C13401011100\Symbol
935D13501011101]Symbol
945E13601011110^Symbol
955F13701011111_Symbol
966014001100000`Symbol
976114101100001aLowercase letter
986214201100010bLowercase letter
996314301100011cLowercase letter
1006414401100100dLowercase letter
1016514501100101eLowercase letter
1026614601100110fLowercase letter
1036714701100111gLowercase letter
1046815001101000hLowercase letter
1056915101101001iLowercase letter
1066A15201101010jLowercase letter
1076B15301101011kLowercase letter
1086C15401101100lLowercase letter
1096D15501101101mLowercase letter
1106E15601101110nLowercase letter
1116F15701101111oLowercase letter
1127016001110000pLowercase letter
1137116101110001qLowercase letter
1147216201110010rLowercase letter
1157316301110011sLowercase letter
1167416401110100tLowercase letter
1177516501110101uLowercase letter
1187616601110110vLowercase letter
1197716701110111wLowercase letter
1207817001111000xLowercase letter
1217917101111001yLowercase letter
1227A17201111010zLowercase letter
1237B17301111011{Symbol
1247C17401111100|Symbol
1257D17501111101}Symbol
1267E17601111110~Symbol
1277F17701111111DELDelete

How ASCII is organised

ASCII and text messages

SMS does not use ASCII directly. It uses the similar GSM-7 alphabet, which is why most English texts fit 160 characters per message. Characters outside that alphabet, such as emoji, switch the message to Unicode and lower the limit to 70. Check a message with the SMS character counter.

Frequently asked questions

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a 7-bit character set from the 1960s. It gives the numbers 0–127 to English letters, digits, punctuation and 33 control codes such as line feed and tab.

How many characters are in ASCII?

128: 95 printable characters (including the space) and 33 control characters. So-called extended ASCII tables with 256 entries are not one standard; they are separate 8-bit encodings such as Windows-1252.

What is the ASCII code for A?

Uppercase A is 65 (hex 41, binary 01000001). Lowercase a is 97 (hex 61). The two differ by exactly 32, or one bit.

What is the difference between ASCII and Unicode?

ASCII covers 128 characters. Unicode covers well over 140,000, and its first 128 code points are identical to ASCII. That means any ASCII text is also valid UTF-8.

What is the ASCII code for a new line?

Line feed (LF) is 10 and carriage return (CR) is 13. Linux and macOS end lines with LF; Windows uses CR followed by LF.