What Are ASCII Codes? Text to ASCII Explained
How characters map to numbers in ASCII, and how it relates to modern Unicode.
ASCII maps characters to numbers
ASCII (American Standard Code for Information Interchange) assigns a number from 0 to 127 to each common character. “A” is 65, “a” is 97, “0” is 48 and a space is 32. This shared mapping is what lets different computers exchange text reliably.
Printable and control characters
Codes 32–126 are the printable characters: letters, digits, punctuation and symbols. Codes 0–31 (and 127) are “control characters” — invisible codes like tab, newline and carriage return that tell devices how to format or transmit text.
ASCII and Unicode
Modern systems use Unicode, which can represent virtually every script and emoji. Crucially, Unicode keeps the same numbers as ASCII for the basic characters, so ASCII is effectively a subset — “A” is still 65. A text-to-ASCII tool shows each character’s code point.
FAQ
What is the ASCII code for “A”?+
Uppercase “A” is 65; lowercase “a” is 97. The difference of 32 between upper and lower case holds for every letter.