ASCII Table

The complete ASCII table (0–127). Search decimal, hex, binary, octal, character, or description; click a cell to copy it; or enter a character to jump to its row.

DecHexBinOctCharNameDescription
Space (whitespace)
Symbol !
Symbol "
Symbol #
Symbol $
Symbol %
Symbol &
Symbol '
Symbol (
Symbol )
Symbol *
Symbol +
Symbol ,
Symbol -
Symbol .
Symbol /
Digit 0
Digit 1
Digit 2
Digit 3
Digit 4
Digit 5
Digit 6
Digit 7
Digit 8
Digit 9
Symbol :
Symbol ;
Symbol <
Symbol =
Symbol >
Symbol ?
Symbol @
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
Symbol [
Symbol \
Symbol ]
Symbol ^
Symbol _
Symbol `
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
Symbol {
Symbol |
Symbol }
Symbol ~

Frequently Asked Questions

What is an ASCII table?

An ASCII table lists the 128 standard ASCII characters and their decimal, hexadecimal, binary, and octal codes.

What is the ASCII value of A?

Uppercase A is decimal 65, hexadecimal 41, binary 01000001, and octal 101.

What is the ASCII code for a space?

A space is decimal 32, hexadecimal 20, binary 00100000, and octal 040.

Why does ASCII end at 127?

Standard ASCII is a 7-bit character set, so it has values from 0 through 127.

What are ASCII control characters?

Codes 0–31 and 127 are non-printing control characters such as tab, line feed, carriage return, escape, and delete.

What is the difference between ASCII and Unicode?

ASCII covers 128 English-oriented characters. Unicode covers writing systems and symbols worldwide while preserving ASCII at the same first 128 values.

Is ASCII compatible with UTF-8?

Yes. Every ASCII byte has the same value in UTF-8, so valid ASCII text is valid UTF-8 text.

How do I find an ASCII character by code?

Search for its decimal, hexadecimal, binary, or octal value in the interactive table.

Can I copy values from this table?

Yes. Select any decimal, hexadecimal, binary, octal, or character cell to copy its value.

Do Chinese characters and emoji have ASCII values?

No. They are Unicode characters outside ASCII's 0–127 range.

ASCII is the original 7-bit character repertoire used by computers and telecommunications. This reference gives every standard value from 0 through 127 in decimal, hexadecimal, binary, and octal.

Complete ASCII Table (0–127)

Control Characters (0–31 and 127)

DecimalHexBinaryOctalMnemonicDescription
00000000000000NULNull
10100000001001SOHStart of Heading
20200000010002STXStart of Text
30300000011003ETXEnd of Text
40400000100004EOTEnd of Transmission
50500000101005ENQEnquiry
60600000110006ACKAcknowledgement
70700000111007BELBell
80800001000010BSBackspace
90900001001011HTHorizontal Tab
100A00001010012LFLine Feed
110B00001011013VTVertical Tab
120C00001100014FFForm Feed
130D00001101015CRCarriage Return
140E00001110016SOShift Out
150F00001111017SIShift In
161000010000020DLEData Link Escape
171100010001021DC1Device Control 1
181200010010022DC2Device Control 2
191300010011023DC3Device Control 3
201400010100024DC4Device Control 4
211500010101025NAKNegative Acknowledgement
221600010110026SYNSynchronous Idle
231700010111027ETBEnd of Transmission Block
241800011000030CANCancel
251900011001031EMEnd of Medium
261A00011010032SUBSubstitute
271B00011011033ESCEscape
281C00011100034FSFile Separator
291D00011101035GSGroup Separator
301E00011110036RSRecord Separator
311F00011111037USUnit Separator
1277F01111111177DELDelete

Printable Characters (32–126)

DecimalHexBinaryOctalCharacterDescription
322000100000040SpacePrintable character
332100100001041!Printable character
342200100010042"Printable character
352300100011043#Printable character
362400100100044$Printable character
372500100101045%Printable character
382600100110046&Printable character
392700100111047'Printable character
402800101000050(Printable character
412900101001051)Printable character
422A00101010052*Printable character
432B00101011053+Printable character
442C00101100054,Printable character
452D00101101055-Printable character
462E00101110056.Printable character
472F00101111057/Printable character
4830001100000600Printable character
4931001100010611Printable character
5032001100100622Printable character
5133001100110633Printable character
5234001101000644Printable character
5335001101010655Printable character
5436001101100666Printable character
5537001101110677Printable character
5638001110000708Printable character
5739001110010719Printable character
583A00111010072:Printable character
593B00111011073;Printable character
603C00111100074<Printable character
613D00111101075=Printable character
623E00111110076>Printable character
633F00111111077?Printable character
644001000000100@Printable character
654101000001101APrintable character
664201000010102BPrintable character
674301000011103CPrintable character
684401000100104DPrintable character
694501000101105EPrintable character
704601000110106FPrintable character
714701000111107GPrintable character
724801001000110HPrintable character
734901001001111IPrintable character
744A01001010112JPrintable character
754B01001011113KPrintable character
764C01001100114LPrintable character
774D01001101115MPrintable character
784E01001110116NPrintable character
794F01001111117OPrintable character
805001010000120PPrintable character
815101010001121QPrintable character
825201010010122RPrintable character
835301010011123SPrintable character
845401010100124TPrintable character
855501010101125UPrintable character
865601010110126VPrintable character
875701010111127WPrintable character
885801011000130XPrintable character
895901011001131YPrintable character
905A01011010132ZPrintable character
915B01011011133[Printable character
925C01011100134\Printable character
935D01011101135]Printable character
945E01011110136^Printable character
955F01011111137_Printable character
966001100000140`Printable character
976101100001141aPrintable character
986201100010142bPrintable character
996301100011143cPrintable character
1006401100100144dPrintable character
1016501100101145ePrintable character
1026601100110146fPrintable character
1036701100111147gPrintable character
1046801101000150hPrintable character
1056901101001151iPrintable character
1066A01101010152jPrintable character
1076B01101011153kPrintable character
1086C01101100154lPrintable character
1096D01101101155mPrintable character
1106E01101110156nPrintable character
1116F01101111157oPrintable character
1127001110000160pPrintable character
1137101110001161qPrintable character
1147201110010162rPrintable character
1157301110011163sPrintable character
1167401110100164tPrintable character
1177501110101165uPrintable character
1187601110110166vPrintable character
1197701110111167wPrintable character
1207801111000170xPrintable character
1217901111001171yPrintable character
1227A01111010172zPrintable character
1237B01111011173{Printable character
1247C01111100174|Printable character
1257D01111101175}Printable character
1267E01111110176~Printable character

Control Character Deep-Dive

NUL (0, 00)

NUL means null. It is commonly used as the terminator for C strings, so embedded NUL bytes can surprise code that treats text as C-style strings.

SOH (1, 01)

Start of Heading marked the start of a message heading on older communication systems. It is now mainly encountered in legacy protocols.

STX (2, 02)

Start of Text separated message text from a heading in framed transmissions. Modern protocols usually use explicit length fields instead.

ETX (3, 03)

End of Text marked the end of a text block. It remains a useful reference when inspecting older serial protocols.

BEL (7, 07)

Bell asked a terminal to alert the user. Modern terminals may play a sound or flash; log files can still contain this control byte.

BS (8, 08)

Backspace moves a cursor backward. It does not necessarily erase a byte, which is a common distinction in terminal processing.

HT (9, 09)

Horizontal Tab advances to the next tab stop. Its rendered width depends on the editor, terminal, or browser.

LF (10, 0A)

Line Feed moves to the next line. Unix-like systems use LF as their line ending, normally written as `\n` in source code.

VT (11, 0B)

Vertical Tab advances vertically. It is rare today but remains part of the standard C whitespace set.

FF (12, 0C)

Form Feed originally advanced paper to the next page. Printers and some text-processing formats may still interpret it.

CR (13, 0D)

Carriage Return moves to the start of a line. Windows line endings pair CR with LF, written as `\r\n`.

SO (14, 0E)

Shift Out selected an alternate character set on terminals. Its meaning depends on the communication device.

SI (15, 0F)

Shift In returned a terminal to its normal character set. It is the historical counterpart of Shift Out.

ESC (27, 1B)

Escape starts a terminal escape sequence. Treat untrusted ESC bytes carefully because terminals can interpret them as commands.

DEL (127, 7F)

Delete was designed to erase punched-tape positions. It is a control character, not the same thing as the Backspace byte.

How to Use the ASCII Table

How to find the ASCII value of A

Search for A or type A in the character lookup field. Its row shows decimal 65, hexadecimal 41, binary 01000001, and octal 101.

How to convert 65 to an ASCII character

Search for decimal 65. The matching printable character is uppercase A.

How to type a control character (Ctrl-letter)

Many terminals map Ctrl plus a letter to a control byte; for example Ctrl-J commonly produces LF. Mappings vary by terminal and shortcut settings.

How to check ASCII versus non-ASCII in code

Test whether a code point is at most 127. Anything larger, including accented letters, Chinese text, and emoji, needs Unicode handling.

ASCII vs Unicode / UTF-8

ASCII defines only 128 values. Unicode extends that repertoire to nearly every writing system and symbol. UTF-8 deliberately keeps ASCII values unchanged in its first 128 byte values, while non-ASCII characters use multiple bytes.

Common Use Cases

  • Debugging: inspect raw bytes in logs and network captures.
  • Programming: test digits, letters, whitespace, and delimiters.
  • Protocols: understand HTTP, SMTP, serial, and legacy text formats.
  • Education: learn how text becomes numeric data.

Related Tools