TTKTheTextKit

ASCII Table

Look up any of the 128 ASCII characters in decimal, hexadecimal, octal and binary. Search by the character itself, by a number such as 65, 0x41 or 0b1000001, or by a name such as line feed, and filter to control characters, digits, letters or symbols. Click any value to copy it. Everything runs in your browser.

128 of 128 shown. Click a value to copy it.

ASCII characters with decimal, hexadecimal, octal and binary values
CharDecHexOctBinaryName
Null\0Ctrl+@
Start of headingCtrl+A
Start of textCtrl+B
End of textCtrl+C
End of transmissionCtrl+D
EnquiryCtrl+E
AcknowledgeCtrl+F
Bell\aCtrl+G
Backspace\bCtrl+H
Horizontal tab\tCtrl+I
Line feed\nCtrl+J
Vertical tab\vCtrl+K
Form feed\fCtrl+L
Carriage return\rCtrl+M
Shift outCtrl+N
Shift inCtrl+O
Data link escapeCtrl+P
Device control 1 (XON)Ctrl+Q
Device control 2Ctrl+R
Device control 3 (XOFF)Ctrl+S
Device control 4Ctrl+T
Negative acknowledgeCtrl+U
Synchronous idleCtrl+V
End of transmission blockCtrl+W
CancelCtrl+X
End of mediumCtrl+Y
SubstituteCtrl+Z
Escape\eCtrl+[
File separatorCtrl+\
Group separatorCtrl+]
Record separatorCtrl+^
Unit separatorCtrl+_
Space
Exclamation mark
Double quote
Number sign (hash)
Dollar sign
Percent sign
Ampersand
Single quote (apostrophe)
Left parenthesis
Right parenthesis
Asterisk
Plus sign
Comma
Hyphen-minus
Full stop (period)
Slash (solidus)
Digit 0
Digit 1
Digit 2
Digit 3
Digit 4
Digit 5
Digit 6
Digit 7
Digit 8
Digit 9
Colon
Semicolon
Less-than sign
Equals sign
Greater-than sign
Question mark
At sign
Uppercase letter A
Uppercase letter B
Uppercase letter C
Uppercase letter D
Uppercase letter E
Uppercase letter F
Uppercase letter G
Uppercase letter H
Uppercase letter I
Uppercase letter J
Uppercase letter K
Uppercase letter L
Uppercase letter M
Uppercase letter N
Uppercase letter O
Uppercase letter P
Uppercase letter Q
Uppercase letter R
Uppercase letter S
Uppercase letter T
Uppercase letter U
Uppercase letter V
Uppercase letter W
Uppercase letter X
Uppercase letter Y
Uppercase letter Z
Left square bracket
Backslash (reverse solidus)
Right square bracket
Caret (circumflex)
Underscore (low line)
Grave accent (backtick)
Lowercase letter a
Lowercase letter b
Lowercase letter c
Lowercase letter d
Lowercase letter e
Lowercase letter f
Lowercase letter g
Lowercase letter h
Lowercase letter i
Lowercase letter j
Lowercase letter k
Lowercase letter l
Lowercase letter m
Lowercase letter n
Lowercase letter o
Lowercase letter p
Lowercase letter q
Lowercase letter r
Lowercase letter s
Lowercase letter t
Lowercase letter u
Lowercase letter v
Lowercase letter w
Lowercase letter x
Lowercase letter y
Lowercase letter z
Left curly bracket (brace)
Vertical bar (pipe)
Right curly bracket (brace)
Tilde
Delete

ASCII is the original 7 bit character set: 128 characters numbered 0 to 127. Codes 0 to 31 and 127 are control characters from the age of teleprinters, such as line feed (10), carriage return (13) and tab (9). Codes 32 to 126 are the 95 printable characters: space, digits, the 52 letters and the punctuation and symbols on a US keyboard. An uppercase letter and its lowercase twin differ by 32, which is a single bit. Unicode keeps ASCII as its first 128 code points, and UTF-8 stores each of them as one byte with the same value. Nothing is uploaded.

Related Tools

[5 suggestions]

About the ASCII Table

ASCII, the American Standard Code for Information Interchange, numbers 128 characters from 0 to 127 using 7 bits. Codes 0 to 31 and code 127 are control characters, which began as commands for teleprinters: 9 is the horizontal tab, 10 the line feed, 13 the carriage return, 27 the escape character and 127 delete. Codes 32 to 126 are the 95 printable characters: the space (32), the digits 0 to 9 (48 to 57), the uppercase letters A to Z (65 to 90), the lowercase letters a to z (97 to 122) and the punctuation and symbols between them. An uppercase letter and the matching lowercase letter differ by exactly 32, which is a single bit, so setting bit 5 turns A (65, binary 01000001) into a (97, binary 01100001). Each control character can also be typed with the Control key: Ctrl+J sends the line feed and Ctrl+[ sends escape, because the control code is the letter's code minus 64. The table lists the usual escape sequences, such as backslash n for the line feed and backslash t for the tab. Unicode keeps the same 128 characters as its first code points, and UTF-8 stores each of them as one byte with the same value, so plain ASCII text is also valid UTF-8. Characters above 127, such as accented letters and the euro sign, are not part of ASCII; they belong to extended encodings and to Unicode. Nothing is uploaded.

How many characters are in ASCII?▾

128, numbered 0 to 127. Of these, 33 are control characters (0 to 31 and 127) and 95 are printable, including the space.

What is the ASCII code for the letter A?▾

65 in decimal, 41 in hexadecimal, 101 in octal and 01000001 in binary. The lowercase a is 97, which is 61 in hexadecimal.

What is the difference between ASCII and extended ASCII?▾

ASCII is the 7 bit set of 128 characters. Extended ASCII is a loose name for several different 8 bit sets that keep those 128 and add 128 more, such as Latin-1 and Windows-1252, and they do not agree with each other. Unicode replaced them.

Which ASCII codes mean new line?▾

Line feed is 10 (hex 0A, written \n) and carriage return is 13 (hex 0D, written \r). Unix, Linux and macOS end a line with a line feed, and Windows uses a carriage return followed by a line feed.

Is my data uploaded?▾

No. The table is built into the page and the search runs in your browser.