ASCII Converter
Convert text to ASCII codes (decimal, hex, binary, octal) and back again. Free, instant and runs in your browser — nothing is uploaded.
How to use the ASCII
What is ASCII?
ASCII (American Standard Code for Information Interchange) maps each English letter, digit and punctuation mark to a number between 0 and 127. Capital A is 65, lowercase a is 97, the digit 0 is 48, and the space is 32. ASCII is the foundation of nearly all modern text encodings.
Common ASCII codes
32: space · 33: ! · 48–57: digits 0–9 · 65–90: A–Z · 97–122: a–z · 10: newline · 13: carriage return · 9: tab. Characters above 127 fall outside standard ASCII and are part of Unicode (UTF-8).
Frequently asked questions
What is ASCII?
ASCII is a character encoding that assigns numbers 0-127 to letters, digits, punctuation and control characters. For example, the capital letter A is 65 in decimal, 41 in hexadecimal and 01000001 in binary.
What is the difference between ASCII and Unicode?
ASCII covers only 128 characters. Unicode extends this to over 100,000 characters from most writing systems; the first 128 Unicode code points match ASCII.
Why are some characters shown as numbers below 32?
Codes 0-31 are control characters, such as tab (9) and line feed (10), that do not display as visible symbols.