Home / ASCII converter
ASCII converter
Updated December 3, 2026
Type text to see the ASCII code of every character, or paste codes to read them as text. Pick decimal, hexadecimal, octal or binary.
What ASCII covers
ASCII has 128 characters, numbered 0 to 127: 95 printable characters (letters, digits, punctuation and the space) and 33 control codes. Anything outside that range, such as é, € or an emoji, is not in ASCII, so this converter reports it. For those characters use the binary or hex translator, which work on UTF-8 bytes. The complete list is on the ASCII table page.
Example
H is 72, e is 101, l is 108 and o is 111, so “Hello” is 72 101 108 108 111 in decimal. In hexadecimal the same codes are 48 65 6C 6C 6F, because 72 = 4 × 16 + 8.
Reading codes back
Separate the codes with spaces, commas or line breaks. Hexadecimal may have a 0x prefix, octal an 0o prefix and binary a 0b prefix. A code above 127 is reported instead of being turned into a character. Control codes such as 10 (line feed) are turned into the control character itself.
Got a question?
What is the difference between ASCII and UTF-8?
UTF-8 stores every Unicode character in one to four bytes, and the first 128 codes are the same as ASCII. So any ASCII text is also valid UTF-8, but not the other way round.
Why does my accented letter give an error?
Accented letters are not in ASCII, which stops at 127. Use the binary or hex translator to see their UTF-8 bytes.
Is lowercase different from uppercase?
Yes, each has its own code: A is 65 and a is 97.