ASCII table

The table lists every ASCII code from 0 to 127 with its decimal, hexadecimal, octal and 8-bit binary value, the character and its name. Search by number, 0x hex value, character, abbreviation or a word from the name.

Showing 128 of 128 characters.

DecHexOctBinaryCharName
00000000000000NULNull
10100100000001SOHStart of heading
20200200000010STXStart of text
30300300000011ETXEnd of text
40400400000100EOTEnd of transmission
50500500000101ENQEnquiry
60600600000110ACKAcknowledge
70700700000111BELBell
80801000001000BSBackspace
90901100001001HTHorizontal tab
100A01200001010LFLine feed
110B01300001011VTVertical tab
120C01400001100FFForm feed
130D01500001101CRCarriage return
140E01600001110SOShift out
150F01700001111SIShift in
161002000010000DLEData link escape
171102100010001DC1Device control 1
181202200010010DC2Device control 2
191302300010011DC3Device control 3
201402400010100DC4Device control 4
211502500010101NAKNegative acknowledge
221602600010110SYNSynchronous idle
231702700010111ETBEnd of transmission block
241803000011000CANCancel
251903100011001EMEnd of medium
261A03200011010SUBSubstitute
271B03300011011ESCEscape
281C03400011100FSFile separator
291D03500011101GSGroup separator
301E03600011110RSRecord separator
311F03700011111USUnit separator
322004000100000SPSpace
332104100100001!Exclamation mark
342204200100010"Quotation mark
352304300100011#Number sign
362404400100100$Dollar sign
372504500100101%Percent sign
382604600100110&Ampersand
392704700100111'Apostrophe
402805000101000(Left parenthesis
412905100101001)Right parenthesis
422A05200101010*Asterisk
432B05300101011+Plus sign
442C05400101100,Comma
452D05500101101-Hyphen-minus
462E05600101110.Full stop
472F05700101111/Solidus (slash)
4830060001100000Digit zero
4931061001100011Digit one
5032062001100102Digit two
5133063001100113Digit three
5234064001101004Digit four
5335065001101015Digit five
5436066001101106Digit six
5537067001101117Digit seven
5638070001110008Digit eight
5739071001110019Digit nine
583A07200111010:Colon
593B07300111011;Semicolon
603C07400111100<Less-than sign
613D07500111101=Equals sign
623E07600111110>Greater-than sign
633F07700111111?Question mark
644010001000000@Commercial at
654110101000001ALatin capital letter A
664210201000010BLatin capital letter B
674310301000011CLatin capital letter C
684410401000100DLatin capital letter D
694510501000101ELatin capital letter E
704610601000110FLatin capital letter F
714710701000111GLatin capital letter G
724811001001000HLatin capital letter H
734911101001001ILatin capital letter I
744A11201001010JLatin capital letter J
754B11301001011KLatin capital letter K
764C11401001100LLatin capital letter L
774D11501001101MLatin capital letter M
784E11601001110NLatin capital letter N
794F11701001111OLatin capital letter O
805012001010000PLatin capital letter P
815112101010001QLatin capital letter Q
825212201010010RLatin capital letter R
835312301010011SLatin capital letter S
845412401010100TLatin capital letter T
855512501010101ULatin capital letter U
865612601010110VLatin capital letter V
875712701010111WLatin capital letter W
885813001011000XLatin capital letter X
895913101011001YLatin capital letter Y
905A13201011010ZLatin capital letter Z
915B13301011011[Left square bracket
925C13401011100\Reverse solidus (backslash)
935D13501011101]Right square bracket
945E13601011110^Circumflex accent
955F13701011111_Low line
966014001100000`Grave accent
976114101100001aLatin small letter a
986214201100010bLatin small letter b
996314301100011cLatin small letter c
1006414401100100dLatin small letter d
1016514501100101eLatin small letter e
1026614601100110fLatin small letter f
1036714701100111gLatin small letter g
1046815001101000hLatin small letter h
1056915101101001iLatin small letter i
1066A15201101010jLatin small letter j
1076B15301101011kLatin small letter k
1086C15401101100lLatin small letter l
1096D15501101101mLatin small letter m
1106E15601101110nLatin small letter n
1116F15701101111oLatin small letter o
1127016001110000pLatin small letter p
1137116101110001qLatin small letter q
1147216201110010rLatin small letter r
1157316301110011sLatin small letter s
1167416401110100tLatin small letter t
1177516501110101uLatin small letter u
1187616601110110vLatin small letter v
1197716701110111wLatin small letter w
1207817001111000xLatin small letter x
1217917101111001yLatin small letter y
1227A17201111010zLatin small letter z
1237B17301111011{Left curly bracket
1247C17401111100|Vertical line
1257D17501111101}Right curly bracket
1267E17601111110~Tilde
1277F17701111111DELDelete

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Scroll the table, or type into the search box.
  2. Read across a row: decimal, hex, octal, 8-bit binary, the character and its name.
  3. Control codes show their standard abbreviation (NUL, LF, ESC) in the Char column.

How it works

Each row is computed from the code: hex is base 16, octal base 8 and binary is padded to eight digits. Names for control codes are the standard ones; printable names follow the Unicode names for the same characters.

Worked example

Search 0x41. The row for decimal 65 appears: hex 41, octal 101, binary 01000001, the character A, “Latin capital letter A”. Search LF to get code 10, the line feed that ends a line on Unix.

Tips

Digits 0 to 9 are codes 48 to 57, so subtracting 48 from a digit character gives its value. Uppercase and lowercase letters differ by 32. To convert whole texts, use the text to binary tool.

Frequently asked questions

What is ASCII?

ASCII is a 7-bit character code with 128 values. Codes 0 to 31 and 127 are control codes, such as line feed and tab, and 32 to 126 are the space and the 94 printable characters, which are letters, digits and punctuation.

Does ASCII include accented letters or the euro sign?

No. Those belong to extended 8-bit sets such as Windows-1252 and ISO 8859-1, or to Unicode. This table stops at 127. The first 128 Unicode code points are identical to ASCII.

How do I get a letter's code?

Find it in the table. Capital A is 65 (0x41, binary 01000001) and lowercase a is 97 (0x61). The two differ by 32, which is the single bit 00100000.

What do the search forms mean?

A number from 0 to 999 is read as a decimal code, 0x41 as hex, a single character finds itself, an abbreviation like LF or ESC finds that control code, and any longer text is searched in the names.

More in Text

All tools in this category: Text ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.