What ASCII is
ASCII, the American Standard Code for Information Interchange, assigns a number from 0 to 127 to 128 characters: the uppercase and lowercase English letters, the digits, punctuation, a space and a set of control codes. It was first published as a standard in 1963 and revised several times, and it is also described in RFC 20 from 1969. Because 128 values fit in 7 bits, ASCII is the foundation for most later text encodings. This page lists the decimal code of each character or builds text from codes. It is handy when you read protocol documentation, debug a data stream, or teach how computers store letters as numbers.
Encoding ABC
The page opens with the text ABC in encode mode. The capital letters A, B and C have codes 65, 66 and 67, so the result is 65 66 67. Letters follow their alphabetical order, so each next letter is one higher. Lowercase a starts at 97, which is exactly 32 more than the capital letter. That gap of 32 corresponds to a single bit, 0x20, which was a deliberate design choice and is why switching case in low-level code can be done with one bit operation. The word Hello encodes as 72 101 108 108 111, and a space, when included, appears as 32.
Decoding a list of codes
In decode mode you enter decimal numbers from 0 to 127, separated by spaces or commas. The input 72 105 33 decodes to Hi!, and 65,66,67 decodes to ABC. Each value must be a whole number inside the allowed range, so 128 or 300 produces an error. The page does not accept hexadecimal, binary or text such as 0x41. Leading and trailing spaces are ignored. If you have bytes in hex, convert them to decimal first, or use the UTF-8 byte converter on this site, which reads two-digit hexadecimal byte pairs. The output is plain text, so control codes such as 10 for line feed appear as the control character itself.
The structure of the table
Codes 0 to 31 and 127 are control characters, which were designed for teleprinters and data links. Examples are 0 for NUL, 9 for horizontal tab, 10 for line feed, 13 for carriage return, 27 for escape and 127 for DEL. Codes 32 through 126 are the 95 printable characters. The digits 0 to 9 sit at 48 to 57, uppercase letters at 65 to 90 and lowercase letters at 97 to 122. Knowing these ranges lets you read a stream of numbers by eye: values in the 48 to 57 range are digits, and values around 65 to 90 are capitals, so you can often tell what a packet contains without looking anything up. The standard is now maintained as ANSI INCITS 4-1986, and its printable set contains exactly 95 characters, from the space at 32 to the tilde at 126.
Why accented letters and emoji are rejected
The page accepts only code points from 0 through 127. A character such as é has Unicode code point 233, and an emoji has a much larger one, so both are rejected in encode mode. The page does not guess a locale-dependent extended ASCII table. Historical tables for values 128 to 255, such as ISO 8859-1 or Windows-1252, differ from each other, and the same number can mean different characters depending on which table is used. For text beyond ASCII, a Unicode representation is the right tool, either the Unicode converter for code points or the UTF-8 byte converter for byte values.
ASCII and UTF-8
UTF-8, defined in RFC 3629, was designed so that every ASCII character is stored as the same single byte it has in ASCII. A pure ASCII file is therefore already valid UTF-8, with identical bytes. Characters beyond 127 use two to four bytes, all with the high bit set, so they never collide with ASCII values. This compatibility is a major reason UTF-8 dominates the web. For this page, it means that the codes you see for an English text match the UTF-8 bytes of the same text, only written in decimal instead of hexadecimal. The result for ABC, 65 66 67, corresponds to the bytes 41 42 43.
Where developers meet ASCII codes
Developers use ASCII codes to build character classes, validate input, set up serial communication and read hex dumps. Support staff use them to find stray control characters in data files, such as a carriage return at the end of a line from another system. Students use them to understand that letters are stored as numbers and to practice simple ciphers such as a Caesar shift, where adding 3 to each letter code moves A to D. A puzzle clue given as a series of numbers is often ASCII, and 72 69 76 76 79 spells HELLO in capitals. Digits are another small trap: the character 7 has code 55, not 7, so a program that wants the numeric value of a digit character subtracts 48. Encoding a short password hint as codes is not a form of protection, since anyone can decode it with this page.
Separators and formatting of results
Encoded output separates codes with a single space, which makes it simple to paste into another tool. Decoding accepts either spaces or commas between codes, and a mix of both works. Keep each number whole, without a leading plus sign or decimal point. For longer data, check that the number of codes matches the number of characters you expect. A text with a hidden trailing space or newline will show an extra 32 or 10 at the end of the list, which is a quick way to find invisible characters that break comparisons or file imports.
Characters above code 127 are rejected
Input is processed in the browser and limited to 1 MiB of UTF-8 text. Text containing any character above code 127 is rejected on encoding, and any decoded value outside 0 to 127 is rejected on decoding. The page performs no normalization and no locale handling. It treats the text as a sequence of Unicode characters and requires each to be ASCII. Control characters in the output may not display visibly, so when copying a decoded result into another system, verify it by encoding it again and comparing the codes with the original list.