An ASCII converter changes text into character codes and back again. Choose a direction, then type some text or a list of codes. For example, the word Hi is the codes 72 and 105, since H is 72 and i is 105 in ASCII.
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the ASCII Converter
- Choose a direction: text to codes, or codes to text.
- Type some text, or enter a list of codes.
- Read the result.
- See the hexadecimal codes or the character count.
Here is what each result means:
| Result | What it means |
|---|---|
| Result | The character codes, or the decoded text. |
| Hex / count | The codes in hexadecimal, or the number of characters. |
| Also | The character count, or the codes echoed back. |
What Is ASCII?
ASCII, the American Standard Code for Information Interchange, is a way of giving every basic text character a number so that computers can store and send it. The uppercase letter A is 65, a lowercase a is 97, the digit 0 is 48, and a space is 32. The original set covers the codes 0 to 127, which includes English letters, digits, punctuation and a few control characters.
Turning text into these codes is the foundation of how text is handled in computing. Every letter you type is stored as its number behind the scenes. Converting between text and codes is useful for programming, learning how character encoding works, or decoding a string of numbers back into a message.
Modern systems use Unicode, which extends this idea to every writing system in the world, with hundreds of thousands of characters. For the basic English characters, Unicode code points match ASCII exactly, so this converter shows the same familiar numbers while also handling characters beyond the original set.
How Does the ASCII Converter Work?
It reads each character's code, or turns each code back into a character.
- For text, each character's code point is read and listed in decimal and hexadecimal.
- For codes, each number is turned into the character at that code point.
- Codes may be separated by spaces or commas.
For the number side of codes, see the base converter and the number to words converter.
ASCII Example
Convert the text Hi.
Result: the codes are 72 105, since H is 72 and i is 105. In hexadecimal that is 48 69. Going the other way, the codes 65 66 67 spell ABC.
Some Common ASCII Codes
A few characters and their codes.
| Character | Decimal | Hex |
|---|---|---|
| Space | 32 | 20 |
| 0 | 48 | 30 |
| A | 65 | 41 |
| a | 97 | 61 |
| Z | 90 | 5A |
The digits 0 to 9 run from 48, the uppercase letters from 65, and the lowercase letters from 97. Uppercase and lowercase are exactly 32 apart, which is why flipping one bit changes the case of a letter.
Comparing ASCII and Unicode
ASCII is the historic core; Unicode is the modern superset.
| Feature | ASCII | Unicode |
|---|---|---|
| Codes | 0 to 127 | 0 to 1,114,111 |
| Covers | Basic English | Every writing system |
| Overlap | The first 128 codes are the same in both | |
Because the first 128 Unicode code points are identical to ASCII, English text has the same codes in either system. Unicode simply adds far more characters on top, from accented letters to emoji, which this converter also handles.
What Affects the Codes
The Characters
Each character has its own code, and uppercase differs from lowercase by 32.
Spaces and Punctuation
Spaces and symbols have codes too; a space is 32, not nothing.
Beyond ASCII
Accented letters and emoji have larger Unicode code points outside the 0 to 127 range.
When to Use an ASCII Converter
Programming
Look up the code of a character, or decode a list of codes.
Learning
See how text is stored as numbers under the hood.
Puzzles and Decoding
Turn a string of numbers back into a hidden message.
Common Mistakes
1. Ignoring Case
A and a are different codes, 65 and 97. Case matters when converting.
2. Forgetting Spaces
A space is a real character with code 32, so it appears in the codes.
3. Mixing Decimal and Hex
The main codes are decimal; the hex version is shown separately. Do not mix them.
4. Out-of-range Codes
Valid code points run from 0 up to 1,114,111. Larger numbers are not valid.
5. Expecting Only ASCII
This also handles Unicode, so accented letters and emoji give codes above 127.
Accuracy and Limitations
Conversions use Unicode code points, which match ASCII for the basic English characters.
What it calculates accurately
- Text to decimal and hex codes
- Codes back to text
- Characters beyond ASCII via Unicode
What it does not do
- Show control characters as symbols
- Convert to binary or other encodings directly
- Handle codes above the Unicode range
- Detect a specific legacy code page
How We Convert Text and Codes
Frequently Asked Questions
What is the ASCII code for A?
The uppercase letter A is 65 in ASCII. Lowercase a is 97, exactly 32 higher, which is the constant gap between the cases.
How do you convert text to ASCII?
Read each character's code: H is 72, i is 105, and so on. This converter lists the codes for any text you type, in decimal and hex.
How do you convert ASCII codes to text?
Turn each number into the character at that code point. The codes 72 105 give Hi, and 65 66 67 give ABC.
What is the ASCII code for a space?
A space is 32. It is a real character with its own code, so it appears whenever your text contains spaces.
What is the difference between ASCII and Unicode?
ASCII covers codes 0 to 127 for basic English. Unicode extends to over a million code points for every writing system, but the first 128 are the same as ASCII.
Why are uppercase and lowercase 32 apart?
It is by design. Making uppercase and lowercase differ by exactly 32 lets a computer switch case by changing a single bit in the code.
Can it handle emoji and accented letters?
Yes. Those have Unicode code points above 127, and the converter shows their codes and turns codes back into them.
Are the codes in decimal or hex?
The main codes are decimal. A hexadecimal version is shown alongside, since programmers often use hex for character codes.
Is my information saved?
No. The calculation runs in your browser and nothing you enter is stored or sent anywhere, unless you choose Save, which keeps the result only on this device.
Sources
- ASCII (Wikipedia).
- Unicode (Wikipedia).
- Code point (Wikipedia).
Related Calculators
Looking for more converters?
Explore all convertersThis converter changes text to its character codes and back. It uses the Unicode code point of each character, which matches ASCII for the basic English letters, digits and punctuation (codes 0 to 127). Codes are shown in decimal, with a hexadecimal version alongside. Codes to text accepts space or comma separated numbers. Spotted an error? Let us know.
Creator
Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.
Areas of Expertise: Editorial Leadership, Digital Publishing, Product Strategy, Online Calculators, Web Standards




