Configuration
Standard ASCII character reference table (0–127) and extended ASCII: ISO 8859-1 (Latin-1), Windows-1252 (CP1252), and IBM CP437 (DOS). Includes decimal, hexadecimal, octal, binary, and description. Click any value to copy it.

95 characters

DecHexOctBinCharacterEscapeDescription
32 20 040 00100000 Space
33 21 041 00100001 ! Exclamation mark
34 22 042 00100010 " \" Double quote
35 23 043 00100011 # Number sign / Hash
36 24 044 00100100 $ Dollar sign
37 25 045 00100101 % Percentage
38 26 046 00100110 & Ampersand
39 27 047 00100111 ' \' Apostrophe / Single quote
40 28 050 00101000 ( Opening parenthesis
41 29 051 00101001 ) Closing parenthesis
42 2A 052 00101010 * Asterisk
43 2B 053 00101011 + Plus sign
44 2C 054 00101100 , Comma
45 2D 055 00101101 - Hyphen / Minus
46 2E 056 00101110 . Period
47 2F 057 00101111 / Forward slash
48 30 060 00110000 0 Digit 0
49 31 061 00110001 1 Digit 1
50 32 062 00110010 2 Digit 2
51 33 063 00110011 3 Digit 3
52 34 064 00110100 4 Digit 4
53 35 065 00110101 5 Digit 5
54 36 066 00110110 6 Digit 6
55 37 067 00110111 7 Digit 7
56 38 070 00111000 8 Digit 8
57 39 071 00111001 9 Digit 9
58 3A 072 00111010 : Colon
59 3B 073 00111011 ; Semicolon
60 3C 074 00111100 < Less than
61 3D 075 00111101 = Equals sign
62 3E 076 00111110 > Greater than
63 3F 077 00111111 ? Question mark
64 40 100 01000000 @ At sign
65 41 101 01000001 A A capital letter
66 42 102 01000010 B B capital letter
67 43 103 01000011 C C capital letter
68 44 104 01000100 D D capital letter
69 45 105 01000101 E E capital letter
70 46 106 01000110 F F capital letter
71 47 107 01000111 G G capital letter
72 48 110 01001000 H H capital letter
73 49 111 01001001 I I capital letter
74 4A 112 01001010 J J capital letter
75 4B 113 01001011 K K capital letter
76 4C 114 01001100 L L capital letter
77 4D 115 01001101 M M capital letter
78 4E 116 01001110 N N capital letter
79 4F 117 01001111 O O capital letter
80 50 120 01010000 P P capital letter
81 51 121 01010001 Q Q capital letter
82 52 122 01010010 R R capital letter
83 53 123 01010011 S S capital letter
84 54 124 01010100 T T capital letter
85 55 125 01010101 U U capital letter
86 56 126 01010110 V V capital letter
87 57 127 01010111 W W capital letter
88 58 130 01011000 X X capital letter
89 59 131 01011001 Y Y capital letter
90 5A 132 01011010 Z Z capital letter
91 5B 133 01011011 [ Opening bracket
92 5C 134 01011100 \ \\ Backslash
93 5D 135 01011101 ] Closing bracket
94 5E 136 01011110 ^ Circumflex accent / Caret
95 5F 137 01011111 _ Underscore
96 60 140 01100000 ` Grave accent / Backtick
97 61 141 01100001 a Lowercase a
98 62 142 01100010 b Lowercase b
99 63 143 01100011 c Lowercase c
100 64 144 01100100 d Lowercase d
101 65 145 01100101 e Lowercase e
102 66 146 01100110 f Lowercase f
103 67 147 01100111 g Lowercase g
104 68 150 01101000 h Lowercase h
105 69 151 01101001 i Lowercase i
106 6A 152 01101010 j Lowercase j
107 6B 153 01101011 k Lowercase k
108 6C 154 01101100 l Lowercase l
109 6D 155 01101101 m Lowercase m
110 6E 156 01101110 n Lowercase n
111 6F 157 01101111 o Lowercase o
112 70 160 01110000 p Lowercase p
113 71 161 01110001 q Lowercase q
114 72 162 01110010 r Lowercase r
115 73 163 01110011 s Lowercase s
116 74 164 01110100 t Lowercase t
117 75 165 01110101 u Lowercase u
118 76 166 01110110 v Lowercase v
119 77 167 01110111 w Lowercase w
120 78 170 01111000 x Lowercase x
121 79 171 01111001 y Lowercase y
122 7A 172 01111010 z Lowercase z
123 7B 173 01111011 { Opening brace
124 7C 174 01111100 | Vertical bar (pipe)
125 7D 175 01111101 } Closing brace
126 7E 176 01111110 ~ Tilde

How it works

ASCII (American Standard Code for Information Interchange) is the encoding that assigns a number from 0 to 127 to each character of the English alphabet, the digits, the punctuation marks and a set of control characters. It is the foundation almost every later encoding was built on: the first 128 values of UTF-8, Latin-1 and Windows-1252 are exactly those of ASCII.

The table is split into two blocks. From 0 to 31, plus 127, are the control characters: they are not printed but indicate actions such as line feed, tabulation or end of transmission. From 32 to 126 are the printable characters, starting with the space and ending with the tilde.

For each character you get its decimal, hexadecimal, octal and binary value, plus its escape sequence when it has one. You can search by character, by name or by any of those values.

Examples

A65 · 0x41 · 0101 · 01000001The uppercase letter A in decimal, hexadecimal, octal and binary.
a97 · 0x61 · 0141 · 01100001The lowercase letter sits 32 positions above the uppercase one: switching between them is the same as turning a single bit on or off.
LF10 · 0x0A · \nThe line feed is a control character. Unix and macOS end lines with LF; Windows uses the CR LF pair (13 and 10).

Use cases

  • Identify an invisible character showing up in a file or in a hex dump.
  • Write correct escape sequences in code strings, regular expressions or terminal commands.
  • Debug text protocols and serial frames where data travels as loose bytes.
  • Convert by hand between character and numeric value when working with buffers, comparisons or sorting.

Frequently asked questions

What is the difference between ASCII and UTF-8?

UTF-8 is a superset of ASCII: its first 128 values match byte for byte, so any valid ASCII text is also valid UTF-8. The difference is that UTF-8 continues past 127 using multi-byte sequences to represent the rest of Unicode, including accented letters and emoji.

Why does the table only go up to 127?

ASCII was defined as a 7-bit code, and 7 bits represent exactly 128 values (0 to 127). Tables that reach 255 are later 8-bit extensions, such as Latin-1 or Windows-1252, which are not part of the ASCII standard and differ from one another.

What are control characters?

They are the values 0 to 31 and 127. They do not represent a visible symbol but an instruction inherited from teletypes: line feed (LF), carriage return (CR), tabulation (TAB), bell (BEL) or delete (DEL). Today they survive mostly in line endings, in tabulation and in terminal escape sequences.

Why are uppercase and lowercase exactly 32 apart?

Because the table was deliberately designed that way: 32 is a power of two, so going from uppercase to lowercase means flipping bit 6. That allowed converting between them with a single bit operation, which mattered when the hardware of the time counted every instruction.