ASCII Converter
Look up the ASCII (and Unicode) code of every character in your text, or turn a list of codes back into text.
How to use the ASCII Converter
- Choose text → codes or codes → text.
- Enter your text, or codes separated by spaces (decimal like 72 or hex like 0x48).
- Read the decimal, hex and binary values.
How it works
ASCII (American Standard Code for Information Interchange, 1963) assigns numbers 0–127 to English letters, digits, punctuation and control characters: 65–90 are A–Z, 97–122 are a–z and 48–57 are the digits 0–9. Unicode keeps these same numbers for its first 128 code points and extends them to more than a million characters for every writing system.
Printable ASCII ranges
| Characters | Decimal | Hex |
|---|---|---|
| Space | 32 | 20 |
| 0–9 | 48–57 | 30–39 |
| A–Z | 65–90 | 41–5A |
| a–z | 97–122 | 61–7A |
| ! " # $ % | 33–37 | 21–25 |
| ~ | 126 | 7E |
Frequently asked questions
What is the ASCII code for A?
65 (hex 41).
What is ASCII 32?
The space character.
What is the difference between ASCII and Unicode?
ASCII has 128 characters; Unicode includes ASCII and adds characters for all languages and emojis.
How do I type an ASCII character on Windows?
Hold Alt and type the decimal code on the numeric keypad.
What is extended ASCII?
Codes 128–255 used by older 8-bit character sets such as Windows-1252; they differ between systems, which is why UTF-8 Unicode replaced them.