ASCII Converter
Convert text to ASCII codes and back. Every letter, digit and symbol on your keyboard has an ASCII number: A is 65, a is 97, 0 is 48, and a space is 32. Type text and see its codes; or type codes (like 72 105) and read the text. Programmers use ASCII for encoding, debugging and working with old systems and hardware.
How to use this converter
Type text in the box and press “Text → ASCII” for decimal codes, or “Text → Hex” for hex codes. To go back, type codes separated by spaces or commas (for example 72 105) and press “ASCII → Text”.
Formula
Each character becomes its code: A = 65, B = 66, a = 97, 0 = 48, space = 32, ! = 33. “Hi” = 72 105. In hex, “Hi” = 48 69. To decode, turn each code back into its character: 72 101 108 108 111 = Hello.
ASCII covers 128 characters (0–127): the English letters, digits, punctuation and control characters like newline (10) and tab (9). It does not cover other languages — for Urdu, Arabic or emoji you need Unicode (UTF-8), which starts with the same 128 ASCII codes and adds more.
Common ASCII codes
| From | Equals |
|---|---|
| A | 65 (0x41) |
| a | 97 (0x61) |
| 0 | 48 (0x30) |
| Space | 32 (0x20) |
| ! | 33 (0x21) |
| Newline | 10 (0x0A) |
| Hi | 72 105 |
| Hello | 72 101 108 108 111 |
Frequently asked questions
What is ASCII?
The American Standard Code for Information Interchange — a table that gives every English letter, digit and symbol a number from 0 to 127. A is 65, a is 97, 0 is 48.
How many ASCII characters are there?
128 (0–127): 95 printable characters plus 33 control characters like newline (10), tab (9) and space (32).
What is the ASCII code for A?
65 (0x41 in hex). Lowercase a is 97 (0x61).
Does ASCII cover Urdu or emoji?
No — ASCII is English only. For Urdu, Arabic, Chinese or emoji you need Unicode (UTF-8), which starts with the same 128 ASCII codes and adds more.