ASCII table

All 128 ASCII characters with their decimal, hexadecimal, binary and octal codes. Codes 0–31 and 127 are invisible control characters; 32–126 are the printable letters, digits and symbols you type every day.

Most-searched codesA = 65 · Z = 90 · a = 97 · z = 122 · 0 = 48 · 9 = 57 · space = 32 · @ = 64 · new line (LF) = 10 · carriage return (CR) = 13

DecHexBinaryOctalCharDescription
00000000000000NULNull
10100000001001SOHStart of heading
20200000010002STXStart of text
30300000011003ETXEnd of text
40400000100004EOTEnd of transmission
50500000101005ENQEnquiry
60600000110006ACKAcknowledge
70700000111007BELBell
80800001000010BSBackspace
90900001001011HTHorizontal tab
100A00001010012LFLine feed (new line)
110B00001011013VTVertical tab
120C00001100014FFForm feed
130D00001101015CRCarriage return
140E00001110016SOShift out
150F00001111017SIShift in
161000010000020DLEData link escape
171100010001021DC1Device control 1 (XON)
181200010010022DC2Device control 2
191300010011023DC3Device control 3 (XOFF)
201400010100024DC4Device control 4
211500010101025NAKNegative acknowledge
221600010110026SYNSynchronous idle
231700010111027ETBEnd of transmission block
241800011000030CANCancel
251900011001031EMEnd of medium
261A00011010032SUBSubstitute
271B00011011033ESCEscape
281C00011100034FSFile separator
291D00011101035GSGroup separator
301E00011110036RSRecord separator
311F00011111037USUnit separator
322000100000040SpaceSpace
332100100001041!Punctuation / symbol
342200100010042"Punctuation / symbol
352300100011043#Punctuation / symbol
362400100100044$Punctuation / symbol
372500100101045%Punctuation / symbol
382600100110046&Punctuation / symbol
392700100111047'Punctuation / symbol
402800101000050(Punctuation / symbol
412900101001051)Punctuation / symbol
422A00101010052*Punctuation / symbol
432B00101011053+Punctuation / symbol
442C00101100054,Punctuation / symbol
452D00101101055-Punctuation / symbol
462E00101110056.Punctuation / symbol
472F00101111057/Punctuation / symbol
4830001100000600Digit
4931001100010611Digit
5032001100100622Digit
5133001100110633Digit
5234001101000644Digit
5335001101010655Digit
5436001101100666Digit
5537001101110677Digit
5638001110000708Digit
5739001110010719Digit
583A00111010072:Punctuation / symbol
593B00111011073;Punctuation / symbol
603C00111100074<Punctuation / symbol
613D00111101075=Punctuation / symbol
623E00111110076>Punctuation / symbol
633F00111111077?Punctuation / symbol
644001000000100@Punctuation / symbol
654101000001101AUppercase letter
664201000010102BUppercase letter
674301000011103CUppercase letter
684401000100104DUppercase letter
694501000101105EUppercase letter
704601000110106FUppercase letter
714701000111107GUppercase letter
724801001000110HUppercase letter
734901001001111IUppercase letter
744A01001010112JUppercase letter
754B01001011113KUppercase letter
764C01001100114LUppercase letter
774D01001101115MUppercase letter
784E01001110116NUppercase letter
794F01001111117OUppercase letter
805001010000120PUppercase letter
815101010001121QUppercase letter
825201010010122RUppercase letter
835301010011123SUppercase letter
845401010100124TUppercase letter
855501010101125UUppercase letter
865601010110126VUppercase letter
875701010111127WUppercase letter
885801011000130XUppercase letter
895901011001131YUppercase letter
905A01011010132ZUppercase letter
915B01011011133[Punctuation / symbol
925C01011100134\Punctuation / symbol
935D01011101135]Punctuation / symbol
945E01011110136^Punctuation / symbol
955F01011111137_Punctuation / symbol
966001100000140`Punctuation / symbol
976101100001141aLowercase letter
986201100010142bLowercase letter
996301100011143cLowercase letter
1006401100100144dLowercase letter
1016501100101145eLowercase letter
1026601100110146fLowercase letter
1036701100111147gLowercase letter
1046801101000150hLowercase letter
1056901101001151iLowercase letter
1066A01101010152jLowercase letter
1076B01101011153kLowercase letter
1086C01101100154lLowercase letter
1096D01101101155mLowercase letter
1106E01101110156nLowercase letter
1116F01101111157oLowercase letter
1127001110000160pLowercase letter
1137101110001161qLowercase letter
1147201110010162rLowercase letter
1157301110011163sLowercase letter
1167401110100164tLowercase letter
1177501110101165uLowercase letter
1187601110110166vLowercase letter
1197701110111167wLowercase letter
1207801111000170xLowercase letter
1217901111001171yLowercase letter
1227A01111010172zLowercase letter
1237B01111011173{Punctuation / symbol
1247C01111100174|Punctuation / symbol
1257D01111101175}Punctuation / symbol
1267E01111110176~Punctuation / symbol
1277F01111111177DELDelete

How the ASCII table is organised

ASCII vs Unicode

ASCII only covers English. Unicode extends it to over 150,000 characters across every script, and UTF-8 stores them so that the first 128 are byte-for-byte identical to ASCII. Read more in ASCII vs Unicode vs UTF-8, or convert codes with the hex to ASCII converter.

Frequently asked questions

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a 7-bit character code from 1963 that assigns the numbers 0–127 to English letters, digits, punctuation and 33 control characters. It is the first 128 characters of Unicode.

What is the ASCII code of A to Z?

Uppercase A–Z are 65–90 (hex 41–5A). Lowercase a–z are 97–122 (hex 61–7A). The difference between a letter’s upper and lower case is always 32.

What is the ASCII value of 0?

The character “0” has ASCII code 48 (hex 30, binary 00110000). Digits 0–9 run from 48 to 57.

What is the ASCII value of small a?

97, which is 61 in hex and 01100001 in binary.

Is “extended ASCII” standard?

No. Codes 128–255 were used differently by different code pages (ISO-8859-1, Windows-1252 and others). Today, UTF-8 replaces them for anything beyond basic ASCII.

How do I type ASCII characters on Windows?

Hold Alt and type the decimal code on the numeric keypad, e.g. Alt+64 gives @. On a Mac, use the Character Viewer (Control+Command+Space).