Character codes made easy
Each character has a number: βAβ is 65, βaβ is 97, a space is 32. This converter lists those codes for any text, in decimal, hexadecimal, binary or octal, ready to copy into code, spreadsheets or homework.
ASCII covers the 128 basic English characters. For anything beyond β Γ©, βΉ, emoji, Hindi β the tool shows the character's Unicode code point, the modern extension of ASCII.
How to convert text to ASCII codes
- 1
Type your text
Any characters.
- 2
Choose a number format
Decimal, Hex, Binary or Octal.
- 3
Copy the codes
Space-separated and ready to use.
Key features
Four bases
Decimal, hex, binary and octal.
Unicode aware
Code points for emoji and other scripts.
Two-way
Swap direction to decode codes.
Instant
Updates as you type.
Common uses
- Programming: Get character codes for comparisons and escapes.
- Education: Learn how text is represented in computers.
- Data cleaning: Spot hidden or unusual characters in text.
Handy ASCII values
| Character | Decimal | Hex |
|---|---|---|
| Space | 32 | 20 |
| 0 | 48 | 30 |
| A | 65 | 41 |
| a | 97 | 61 |
| ~ | 126 | 7E |
Tips and good to know
- Uppercase and lowercase letters differ by exactly 32 in ASCII (A = 65, a = 97).
- For the actual bytes stored in a file, use Text to Binary, which shows UTF-8 bytes.
