November 2, 2026 · November Edition Free · nationwide

Calcolatori Gratis

Math, finance, health: find the calculator that fits you

Last updated: October 23, 2026

Complete ASCII Table and Text ↔ Code Converter

Calculator

ASCII table and text ↔ code converter

The 128 ASCII codes, from 0 to 127, in decimal, hexadecimal, octal and binary, with the abbreviations of the control characters. Convert a text into codes or a series of codes into text.

Converter

Complete ASCII table (0-127)

All 128 ASCII codes, from 0 to 127.

ASCII table: codes from 0 to 127 in decimal, hexadecimal, octal and 8-bit binary
DecHexOctBinaryChar.Abbr.Description
00000000000000—NULNull character, with all bits set to zero: used as padding Null
10100100000001—SOHStart of the heading of a message Start of Heading
20200200000010—STXStart of the text Start of Text
30300300000011—ETXEnd of the text End of Text
40400400000100—EOTEnd of the transmission End of Transmission
50500500000101—ENQRequest for a response from the remote station Enquiry
60600600000110—ACKPositive confirmation from the receiver Acknowledge
70700700000111—BELBell: draws attention with a signal Bell
80801000001000—BSMoves back one position Backspace
90901100001001—HTHorizontal tab (Tab key) Horizontal Tabulation
100A01200001010—LFAdvances to the next line, also used as “new line” Line Feed
110B01300001011—VTVertical tab Vertical Tabulation
120C01400001100—FFAdvances to the next page Form Feed
130D01500001101—CRCarriage return: goes back to the start of the line Carriage Return
140E01600001110—SOSwitches to a character set other than the standard one Shift Out
150F01700001111—SIReturns to the standard character set Shift In
161002000010000—DLEChanges the meaning of the following characters (network controls) Data Link Escape
171102100010001—DC1Device control 1 Device Control 1
181202200010010—DC2Device control 2 Device Control 2
191302300010011—DC3Device control 3 Device Control 3
201402400010100—DC4Device control 4, the one designated for stopping Device Control 4
211502500010101—NAKNegative response from the receiver Negative Acknowledge
221602600010110—SYNSynchronous idle: keeps the line synchronized Synchronous Idle
231702700010111—ETBEnd of a transmitted block of data End of Transmission Block
241803000011000—CANCancel: the data sent are wrong or to be ignored Cancel
251903100011001—EMEnd of the medium or of its usable part End of Medium
261A03200011010—SUBTakes the place of an invalid or wrong character Substitute
271B03300011011—ESCEscape: changes the meaning of the following characters Escape
281C03400011100—FSFile separator File Separator
291D03500011101—GSGroup separator Group Separator
301E03600011110—RSRecord separator Record Separator
311F03700011111—USUnit separator Unit Separator
322004000100000spaceSPSpace
332104100100001!Exclamation mark
342204200100010"Double quotation mark (straight)
352304300100011#Hash sign
362404400100100$Dollar sign
372504500100101%Percent sign
382604600100110&Ampersand
392704700100111'Apostrophe (straight single quotation mark)
402805000101000(Opening parenthesis
412905100101001)Closing parenthesis
422A05200101010*Asterisk
432B05300101011+Plus sign
442C05400101100,Comma
452D05500101101-Hyphen, minus sign
462E05600101110.Period (full stop)
472F05700101111/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
613D07500111101=Equals
623E07600111110>Greater than
633F07700111111?Question mark
644010001000000@At sign
654110101000001AUppercase letter A
664210201000010BUppercase letter B
674310301000011CUppercase letter C
684410401000100DUppercase letter D
694510501000101EUppercase letter E
704610601000110FUppercase letter F
714710701000111GUppercase letter G
724811001001000HUppercase letter H
734911101001001IUppercase letter I
744A11201001010JUppercase letter J
754B11301001011KUppercase letter K
764C11401001100LUppercase letter L
774D11501001101MUppercase letter M
784E11601001110NUppercase letter N
794F11701001111OUppercase letter O
805012001010000PUppercase letter P
815112101010001QUppercase letter Q
825212201010010RUppercase letter R
835312301010011SUppercase letter S
845412401010100TUppercase letter T
855512501010101UUppercase letter U
865612601010110VUppercase letter V
875712701010111WUppercase letter W
885813001011000XUppercase letter X
895913101011001YUppercase letter Y
905A13201011010ZUppercase letter Z
915B13301011011[Opening square bracket
925C13401011100\Backslash
935D13501011101]Closing square bracket
945E13601011110^Circumflex accent
955F13701011111_Underscore
966014001100000`Grave accent (backtick)
976114101100001aLowercase letter a
986214201100010bLowercase letter b
996314301100011cLowercase letter c
1006414401100100dLowercase letter d
1016514501100101eLowercase letter e
1026614601100110fLowercase letter f
1036714701100111gLowercase letter g
1046815001101000hLowercase letter h
1056915101101001iLowercase letter i
1066A15201101010jLowercase letter j
1076B15301101011kLowercase letter k
1086C15401101100lLowercase letter l
1096D15501101101mLowercase letter m
1106E15601101110nLowercase letter n
1116F15701101111oLowercase letter o
1127016001110000pLowercase letter p
1137116101110001qLowercase letter q
1147216201110010rLowercase letter r
1157316301110011sLowercase letter s
1167416401110100tLowercase letter t
1177516501110101uLowercase letter u
1187616601110110vLowercase letter v
1197716701110111wLowercase letter w
1207817001111000xLowercase letter x
1217917101111001yLowercase letter y
1227A17201111010zLowercase letter z
1237B17301111011{Opening curly brace
1247C17401111100|Vertical bar (pipe)
1257D17501111101}Closing curly brace
1267E17601111110~Tilde
1277F17701111111—DELDelete: created to erase characters on punched tape Delete

The table shows the 7-bit ASCII of the American standard USAS X3.4-1968, adopted in RFC 20: codes 0 to 31 and 127 are control characters, with no graphic symbol; from 32 to 126 there are the space, digits, letters and symbols. Values from 128 to 255 are not ASCII: the character they represent depends on the code page (for example Windows-1252 or 850). The conversion takes place in your browser and the text is not sent to anyone. This is an informational tool: for the encoding of a file or a system, the documentation of the software you use is authoritative.

Smart home: risparmio + sicurezza

Con Imou monitori consumi e sicurezza della casa da un'unica app. Ottimizza bollette e dispositivi.

Scopri Imou
Was this calculator useful?
Be the first to rate!

Embed on your site

Copy the code below to embed this calculator on your website or blog.

Embed preview →

More Details

How the ASCII table and converter work

Here you will find the complete ASCII table, with the 128 codes from 0 to 127: for each one, the value in decimal, hexadecimal, octal and 8-bit binary, the character, the abbreviation of control characters and a description. The search above the table accepts a character, a number such as 65, 0x41 or 01000001, an abbreviation such as CR or a word such as “brace”; the buttons filter by character type.

The converter works in both directions. “Text → codes” turns a sentence into the sequence of its codes, with a character-by-character breakdown. “Codes → text” accepts numbers separated by spaces or commas, recognizes the prefixes 0x (hexadecimal) and 0b (binary) and flags values outside the 0-127 range. Everything happens in the browser: the text is not sent to any server.

What ASCII code is

ASCII (American Standard Code for Information Interchange) is a 7-bit code that assigns a number from 0 to 127 to 128 characters. RFC 20 of 1969, now an Internet Standard, adopted it for network data interchange, taking over the table of the American standard USAS X3.4-1968, with the 7 bits placed in an 8-bit byte whose highest bit is always 0. That is why every code in the “Binary” column starts with a zero.

Codes 0 to 31 and 127 are control characters: they have no graphic symbol and were used to control printing, display and data transmission. Among them are the HT tab (9), the LF line feed (10) and the CR carriage return (13). DEL was used to erase characters on punched tape. From 32 (the space) to 126 (the tilde) there are the 95 printable characters: digits, unaccented letters, punctuation and symbols. The first 128 Unicode code points, from U+0000 to U+007F, contain the same characters in the same order.

How to read the table

RFC 20 arranges the codes in 8 columns and 16 rows: the column corresponds to the three highest bits, the row to the four lowest. “K” is in column 4 and row 11, that is 4 × 16 + 11 = 75, in binary 1001011. This produces useful patterns: uppercase letters run from 65 to 90 and lowercase from 97 to 122, so the same letter always differs by 32; the digits 0 to 9 occupy codes 48 to 57, so the value of a digit is its code minus 48.

Calculation example

Let’s convert “Ciao!” with the “Text → codes” tab. The calculator returns decimal, hexadecimal and binary; the octal value comes from the 0-127 table:

CharacterDecimalHexadecimalOctalBinary (8 bit)
C674310301000011
i1056915101101001
a976114101100001
o1116F15701101111
!332104100100001

In sequence the word becomes 67 105 97 111 33 in decimal and 43 69 61 6F 21 in hexadecimal; pasting either line into “Codes → text” gives back “Ciao!”. With “Caffè” the last letter is not ASCII: the converter writes 67 97 102 102 U+00E8 and warns that U+00E8 is the Unicode code point of “è”, not an ASCII code.

Characters missing from the Italian keyboard

On the standard Windows Italian layout the tilde and the grave accent have no key, while the at sign, hash sign and square and curly brackets are typed with AltGr. Key combinations and Alt codes:

CharacterWindows Italian layoutAlt + code
~ tildeno keyAlt+126
` grave accentno keyAlt+96
{ opening curly braceAltGr + Shift + èAlt+123
} closing curly braceAltGr + Shift + +Alt+125
[ opening square bracketAltGr + èAlt+91
] closing square bracketAltGr + +Alt+93
@ at signAltGr + òAlt+64
# hash signAltGr + àAlt+35

Hold down Alt, type the number on the numeric keypad and release Alt. According to Microsoft, the row of numbers above the letters does not work, and Num Lock must be turned on if the keyboard requires it. On a laptop without a numeric keypad there is still the Windows “Italian (142)” layout, where the tilde is AltGr + + and the grave accent AltGr + ù.

The leading zero changes the table. Without the zero, for MS-DOS compatibility, Windows looks up the number in the OEM code page; with the zero, in the ANSI code page. For Italian, Windows uses OEM 850 and ANSI 1252, which match ASCII between 32 and 126: Alt+126 and Alt+0126 give the same tilde. Above 127 they do not: “è” is Alt+138 in 850 and Alt+0232 in 1252, and the euro sign is Alt+0128.

Extended ASCII: why there is no single table from 128 to 255

A byte has 256 values and ASCII uses 128 of them. Each code page has filled values 128 to 255 in its own way, so so-called “extended ASCII” is not a single standard:

ByteCode page 437Code page 850Windows-1252
128ÇÇ€
138èèŠ
232ΦÞè

Microsoft itself warns that ANSI code pages can differ from one computer to another and recommends Unicode. That is why the converter rejects values above 127 and, for non-ASCII characters, shows the Unicode code point, stating that it is one. It does not calculate the bytes of encodings such as UTF-8: it is an informational tool, and for the encoding of a file or a system the documentation of the software you use is authoritative.

Frequently asked questions

What is the ASCII code of the letter A?

Uppercase A has code 65 in decimal, 41 in hexadecimal, 101 in octal and 01000001 in 8-bit binary. Lowercase a has code 97: between the uppercase and lowercase forms of the same letter the difference is always 32, a single bit.

How do you type the tilde on an Italian keyboard?

On the standard Windows Italian layout the tilde has no key. Hold down Alt, type 126 on the numeric keypad with Num Lock on and release Alt: ~ appears. Alt+0126 also works. In the same way, the grave accent is Alt+96.

What is the difference between Alt+nnn and Alt+0nnn?

Without the leading zero Windows looks up the number in the OEM code page (850 for Italian), with the zero in the ANSI code page (Windows-1252 for Italian). From 32 to 126 both tables match ASCII; above 127 they do not: è is Alt+138 or Alt+0232.

Do accented letters like è have an ASCII code?

No. ASCII has 128 characters, from 0 to 127, and no accented letters. è is the Unicode character U+00E8: in the Windows-1252 code page it is byte 232, in 850 byte 138. The value depends on the code page used.

Related tools: the IP calculator for addresses and subnet masks in binary, the password generator and the Roman numeral converter.