ASCII Table

Complete ASCII table (0–127) with decimal, hex, octal, binary, character, HTML code and description. Search by character, number (0x41, 0b…) or name.

128 of 128 characters

DecimalHexOctalBinaryCharacterHTMLDescription
00x0000000000000NULNull\0
10x0100100000001SOHStart of heading
20x0200200000010STXStart of text
30x0300300000011ETXEnd of text
40x0400400000100EOTEnd of transmission
50x0500500000101ENQEnquiry
60x0600600000110ACKAcknowledge
70x0700700000111BELBell\a
80x0801000001000BSBackspace\b
90x0901100001001HTHorizontal tab\t
100x0A01200001010LFLine feed (new line)\n
110x0B01300001011VTVertical tab\v
120x0C01400001100FFForm feed\f
130x0D01500001101CRCarriage return\r
140x0E01600001110SOShift out
150x0F01700001111SIShift in
160x1002000010000DLEData link escape
170x1102100010001DC1Device control 1 (XON)
180x1202200010010DC2Device control 2
190x1302300010011DC3Device control 3 (XOFF)
200x1402400010100DC4Device control 4
210x1502500010101NAKNegative acknowledge
220x1602600010110SYNSynchronous idle
230x1702700010111ETBEnd of transmission block
240x1803000011000CANCancel
250x1903100011001EMEnd of medium
260x1A03200011010SUBSubstitute
270x1B03300011011ESCEscape\e
280x1C03400011100FSFile separator
290x1D03500011101GSGroup separator
300x1E03600011110RSRecord separator
310x1F03700011111USUnit separator
320x2004000100000␠ Space
330x2104100100001!!Exclamation mark
340x2204200100010""Quotation mark
350x2304300100011##Number sign (hash)
360x2404400100100$$Dollar sign
370x2504500100101%%Percent sign
380x2604600100110&&Ampersand
390x2704700100111''Apostrophe
400x2805000101000((Left parenthesis
410x2905100101001))Right parenthesis
420x2A05200101010**Asterisk
430x2B05300101011++Plus sign
440x2C05400101100,,Comma
450x2D05500101101--Hyphen-minus
460x2E05600101110..Full stop (period)
470x2F05700101111//Slash
480x300600011000000Digit 0
490x310610011000111Digit 1
500x320620011001022Digit 2
510x330630011001133Digit 3
520x340640011010044Digit 4
530x350650011010155Digit 5
540x360660011011066Digit 6
550x370670011011177Digit 7
560x380700011100088Digit 8
570x390710011100199Digit 9
580x3A07200111010::Colon
590x3B07300111011;&#59;Semicolon
600x3C07400111100<&lt;Less-than sign
610x3D07500111101=&#61;Equals sign
620x3E07600111110>&gt;Greater-than sign
630x3F07700111111?&#63;Question mark
640x4010001000000@&#64;At sign
650x4110101000001A&#65;Uppercase letter A
660x4210201000010B&#66;Uppercase letter B
670x4310301000011C&#67;Uppercase letter C
680x4410401000100D&#68;Uppercase letter D
690x4510501000101E&#69;Uppercase letter E
700x4610601000110F&#70;Uppercase letter F
710x4710701000111G&#71;Uppercase letter G
720x4811001001000H&#72;Uppercase letter H
730x4911101001001I&#73;Uppercase letter I
740x4A11201001010J&#74;Uppercase letter J
750x4B11301001011K&#75;Uppercase letter K
760x4C11401001100L&#76;Uppercase letter L
770x4D11501001101M&#77;Uppercase letter M
780x4E11601001110N&#78;Uppercase letter N
790x4F11701001111O&#79;Uppercase letter O
800x5012001010000P&#80;Uppercase letter P
810x5112101010001Q&#81;Uppercase letter Q
820x5212201010010R&#82;Uppercase letter R
830x5312301010011S&#83;Uppercase letter S
840x5412401010100T&#84;Uppercase letter T
850x5512501010101U&#85;Uppercase letter U
860x5612601010110V&#86;Uppercase letter V
870x5712701010111W&#87;Uppercase letter W
880x5813001011000X&#88;Uppercase letter X
890x5913101011001Y&#89;Uppercase letter Y
900x5A13201011010Z&#90;Uppercase letter Z
910x5B13301011011[&#91;Left square bracket
920x5C13401011100\&#92;Backslash
930x5D13501011101]&#93;Right square bracket
940x5E13601011110^&#94;Caret (circumflex)
950x5F13701011111_&#95;Underscore
960x6014001100000`&#96;Grave accent (backtick)
970x6114101100001a&#97;Lowercase letter a
980x6214201100010b&#98;Lowercase letter b
990x6314301100011c&#99;Lowercase letter c
1000x6414401100100d&#100;Lowercase letter d
1010x6514501100101e&#101;Lowercase letter e
1020x6614601100110f&#102;Lowercase letter f
1030x6714701100111g&#103;Lowercase letter g
1040x6815001101000h&#104;Lowercase letter h
1050x6915101101001i&#105;Lowercase letter i
1060x6A15201101010j&#106;Lowercase letter j
1070x6B15301101011k&#107;Lowercase letter k
1080x6C15401101100l&#108;Lowercase letter l
1090x6D15501101101m&#109;Lowercase letter m
1100x6E15601101110n&#110;Lowercase letter n
1110x6F15701101111o&#111;Lowercase letter o
1120x7016001110000p&#112;Lowercase letter p
1130x7116101110001q&#113;Lowercase letter q
1140x7216201110010r&#114;Lowercase letter r
1150x7316301110011s&#115;Lowercase letter s
1160x7416401110100t&#116;Lowercase letter t
1170x7516501110101u&#117;Lowercase letter u
1180x7616601110110v&#118;Lowercase letter v
1190x7716701110111w&#119;Lowercase letter w
1200x7817001111000x&#120;Lowercase letter x
1210x7917101111001y&#121;Lowercase letter y
1220x7A17201111010z&#122;Lowercase letter z
1230x7B17301111011{&#123;Left curly brace
1240x7C17401111100|&#124;Vertical bar (pipe)
1250x7D17501111101}&#125;Right curly brace
1260x7E17601111110~&#126;Tilde
1270x7F17701111111DELDelete

Related Tools

View All

What is ASCII Table?

A searchable reference of all 128 ASCII characters: each row shows the decimal, hexadecimal, octal and 8-bit binary value, the character (or the control abbreviation like LF), its HTML code and a description, with C escape sequences such as \n for control characters.

How to use ASCII Table

  1. Browse the table, or type in Search: a single character (A), a decimal number (65), hex (0x41), octal (0o101), binary (0b1000001) or words from the description.
  2. Use Show to list only control characters or printable characters.
  3. Read the values across the matching row.

Example

Input
0x41
Output
65 · 0x41 · 101 · 01000001 · A · &#65; · Uppercase letter A

When to use ASCII Table

Use it when working with byte values, escape sequences, protocols or serial communication. Characters above 127 (é, €, emoji) are not ASCII – use the Unicode Lookup tool for them.

How ASCII Table works

ASCII (US-ASCII, ANSI X3.4 / ISO 646) assigns 7-bit codes 0–127: 0–31 and 127 are control characters, 32 is the space and 33–126 are printable. The table is generated from the codes; hex, octal and binary are just different bases of the same number. Codes 0–127 are identical in UTF-8 and ISO-8859-1.

Common Use Cases

  • Looking up the code of a control character like ESC (27) or CR (13)
  • Converting a character to hex or binary for low-level code
  • Checking which characters need escaping in HTML
  • Teaching number bases and character encoding

FAQs

What is the difference between ASCII and UTF-8?

UTF-8 is a superset: its first 128 code points are exactly ASCII and use one byte each, so ASCII text is also valid UTF-8.

Is there an "extended ASCII" 128–255?

There are several incompatible 8-bit extensions (ISO-8859-1, Windows-1252, code page 437). They are not part of ASCII, so this table stops at 127.

What are control characters?

Codes 0–31 and 127 that originally controlled devices – line feed, carriage return, tab, escape, bell and so on – rather than printing a symbol.

Explore more categories