Text to ASCII Converter
Convert any text to its ASCII code values. Each character maps to a number 0-127 in the ASCII standard — enter any text to see the codes for every character.
Common Values
| Input | Ascii |
|---|---|
| Hello | 72, 101, 108, 108, 111 |
| World | 87, 111, 114, 108, 100 |
| ABC | 65, 66, 67 |
| hello world | 104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100 |
| 0123 | 48, 49, 50, 51 |
| ASCII | 65, 83, 67, 73, 73 |
How It Works
ASCII (American Standard Code for Information Interchange) assigns a unique number from 0 to 127 to each character. "Hello" becomes 72, 101, 108, 108, 111. Uppercase A is 65, lowercase a is 97, the digit 0 is 48, and space is 32. The relationship between uppercase and lowercase is always 32 apart.
Worked Examples
| Text | Ascii |
|---|---|
| A | 65 |
| a | 97 |
| 0 | 48 |
| Z | 90 |
| z | 122 |
| 32 | |
| ! | 33 |
| ~ | 126 |
Related Conversions
Frequently Asked Questions
- What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard that maps 128 characters — letters, digits, and symbols — to numbers 0-127.
- What is the ASCII code for space?
The ASCII code for space is 32.
- What is the difference between ASCII codes for A and a?
The ASCII code for uppercase A is 65 and lowercase a is 97. The difference is exactly 32 for every letter pair.
- What characters are in ASCII?
ASCII includes control characters (0-31), space (32), printable characters including digits (48-57), uppercase letters (65-90), lowercase letters (97-122), and common symbols.