ASCII Table

Content updated .

All 128 ASCII characters in one compact chart. Search decimal, hex or character names, or expand for binary codes, HTML entities and descriptions.

128 characters
ASCII codes 0 to 24
DecHexCharBinaryHTMLDescription
00000000000�Null
10100000001Start of heading
20200000010Start of text
30300000011End of text
40400000100End of transmission
50500000101Enquiry
60600000110Acknowledge
70700000111Bell
80800001000Backspace
90900001001	Horizontal tab
100A00001010
Line feed
110B00001011Vertical tab
120C00001100Form feed
130D00001101
Carriage return
140E00001110Shift out
150F00001111Shift in
161000010000Data link escape
171100010001Device control 1
181200010010Device control 2
191300010011Device control 3
201400010100Device control 4
211500010101Negative acknowledge
221600010110Synchronous idle
231700010111End transmission block
241800011000Cancel
ASCII codes 25 to 50
DecHexCharBinaryHTMLDescription
251900011001End of medium
261A00011010Substitute
271B00011011Escape
281C00011100File separator
291D00011101Group separator
301E00011110Record separator
311F00011111Unit separator
322000100000 Space
332100100001!Punctuation !
342200100010"Punctuation "
352300100011#Punctuation #
362400100100$Punctuation $
372500100101%Punctuation %
382600100110&Punctuation &
392700100111'Punctuation '
402800101000(Punctuation (
412900101001)Punctuation )
422A00101010*Punctuation *
432B00101011+Punctuation +
442C00101100,Punctuation ,
452D00101101-Punctuation -
462E00101110.Punctuation .
472F00101111/Punctuation /
4830001100000Digit 0
4931001100011Digit 1
5032001100102Digit 2
ASCII codes 51 to 76
DecHexCharBinaryHTMLDescription
5133001100113Digit 3
5234001101004Digit 4
5335001101015Digit 5
5436001101106Digit 6
5537001101117Digit 7
5638001110008Digit 8
5739001110019Digit 9
583A00111010:Punctuation :
593B00111011&#59;Punctuation ;
603C00111100&#60;Punctuation <
613D00111101&#61;Punctuation =
623E00111110&#62;Punctuation >
633F00111111&#63;Punctuation ?
644001000000&#64;Punctuation @
654101000001&#65;Uppercase A
664201000010&#66;Uppercase B
674301000011&#67;Uppercase C
684401000100&#68;Uppercase D
694501000101&#69;Uppercase E
704601000110&#70;Uppercase F
714701000111&#71;Uppercase G
724801001000&#72;Uppercase H
734901001001&#73;Uppercase I
744A01001010&#74;Uppercase J
754B01001011&#75;Uppercase K
764C01001100&#76;Uppercase L
ASCII codes 77 to 102
DecHexCharBinaryHTMLDescription
774D01001101&#77;Uppercase M
784E01001110&#78;Uppercase N
794F01001111&#79;Uppercase O
805001010000&#80;Uppercase P
815101010001&#81;Uppercase Q
825201010010&#82;Uppercase R
835301010011&#83;Uppercase S
845401010100&#84;Uppercase T
855501010101&#85;Uppercase U
865601010110&#86;Uppercase V
875701010111&#87;Uppercase W
885801011000&#88;Uppercase X
895901011001&#89;Uppercase Y
905A01011010&#90;Uppercase Z
915B01011011&#91;Punctuation [
925C01011100&#92;Punctuation \
935D01011101&#93;Punctuation ]
945E01011110&#94;Punctuation ^
955F01011111&#95;Punctuation _
966001100000&#96;Punctuation `
976101100001&#97;Lowercase a
986201100010&#98;Lowercase b
996301100011&#99;Lowercase c
1006401100100&#100;Lowercase d
1016501100101&#101;Lowercase e
1026601100110&#102;Lowercase f
ASCII codes 103 to 127
DecHexCharBinaryHTMLDescription
1036701100111&#103;Lowercase g
1046801101000&#104;Lowercase h
1056901101001&#105;Lowercase i
1066A01101010&#106;Lowercase j
1076B01101011&#107;Lowercase k
1086C01101100&#108;Lowercase l
1096D01101101&#109;Lowercase m
1106E01101110&#110;Lowercase n
1116F01101111&#111;Lowercase o
1127001110000&#112;Lowercase p
1137101110001&#113;Lowercase q
1147201110010&#114;Lowercase r
1157301110011&#115;Lowercase s
1167401110100&#116;Lowercase t
1177501110101&#117;Lowercase u
1187601110110&#118;Lowercase v
1197701110111&#119;Lowercase w
1207801111000&#120;Lowercase x
1217901111001&#121;Lowercase y
1227A01111010&#122;Lowercase z
1237B01111011&#123;Punctuation {
1247C01111100&#124;Punctuation |
1257D01111101&#125;Punctuation }
1267E01111110&#126;Punctuation ~
1277F01111111&#127;Delete
Select a character to inspect its codes.

How to use it

Search by a character, decimal code such as 65, hex code such as 0x41, or a name such as space. Select a character to inspect its codes and copy printable characters. Expanded adds binary, HTML entities and full descriptions.

Useful example

Uppercase A is decimal 65 and hex 41; lowercase a is decimal 97 and hex 61. The space character is decimal 32.

ASCII, Unicode and line endings

ASCII contains 128 codes, numbered 0–127. Unicode includes many more characters; UTF-8 preserves the ASCII byte values for that first range. LF is decimal 10 (hex 0A) and CR is decimal 13 (hex 0D). A Windows-style text line ending often uses CR followed by LF. Numeric HTML references for control codes are not a promise that browsers render those controls as visible characters.

Frequently asked questions

How do I find the code for A?

Search A or enter 0x41. Uppercase A is decimal 65, hexadecimal 41 and binary 01000001. Lowercase a is a different code: decimal 97.

Where are accented letters and emoji?

They are outside standard ASCII. An extended 8-bit code page is not interchangeable with Unicode. Use the binary translator for UTF-8 text.

Why can I not copy a visible character for NUL?

Control codes describe operations or separators rather than ordinary printable glyphs. The chart shows their names and values for reference.

Related calculators and tools

Free browser tools for everyday tasks. Download a copy of work you want to keep.