Text to ASCII Converter

Turn text into ASCII (decimal) character codes, or convert a list of codes back into text.

✔ 100% Free✔ No Signup✔ No Watermark✔ Unlimited Use

Updated 2026-07-05 · Built and maintained by the MakeToolz team.

Convert Text to ASCII Codes and Back

This free text to ASCII converter turns each character of your text into its ASCII (decimal) code, and can turn a list of codes back into readable text. So "Hi" becomes 72 105, and 72 105 becomes "Hi" again. It is handy for learning how computers store characters, debugging, and puzzles.

It uses the character's Unicode code point, which matches ASCII for standard English letters, numbers and symbols, and extends cleanly to other characters. Everything runs in your browser.

How to Use the Text to ASCII Converter

  1. 1
    Type text to encode, or paste ASCII codes (numbers separated by spaces) to decode.
  2. 2
    Click Text → ASCII or ASCII → Text.
  3. 3
    Copy the result, or use it as input to convert back.

Why Use MakeToolz's Text to ASCII Converter?

Both directions

Encode text to ASCII codes, or decode codes back to text.

Decimal codes

Outputs the standard decimal character codes, space separated.

Forgiving decoder

Pasted codes with extra spacing or punctuation still decode.

Chainable

Use the result as input to check a round trip.

Private

Runs in your browser; nothing is uploaded.

Free

No signup, no limits.

What ASCII Codes Are and Where They Come From

ASCII stands for the American Standard Code for Information Interchange. It is a table, first published in the 1960s, that gives every basic character a number. Capital A is 65, lowercase a is 97, the digit 0 is 48, and a plain space is 32. Because the whole computing world agreed on this table, a file typed on one machine reads the same on another. This tool shows you the decimal ASCII code behind each character in your text, and turns a list of codes back into words.

The original ASCII set has 128 values, numbered 0 to 127. The first 32 are control codes that are not printed, such as the newline and the tab. The rest are the printable letters, digits, and symbols you can see. Modern encodings like UTF-8 keep these same 128 values and add room for accents, emoji, and every world script, which is why this converter can also handle characters far beyond plain English.

Who Uses Character Codes and When

Programmers use ASCII codes constantly. Sorting text, checking whether a character is a letter or a digit, and cleaning up input all rely on comparing code values. Students meet ASCII when they first learn how computers store text, because seeing "Hi" become 72 105 makes the idea concrete. People debugging data use it to spot hidden or invisible characters, such as a stray tab or a non-standard space that a normal view will not reveal.

Common Code Reference Chart

Here are a few ranges worth knowing. Once you see the pattern, you can often read short codes at a glance.

Character(s)Decimal RangeNotes
space32the first printable code
0 to 948 to 57digits in order
A to Z65 to 90capital letters
a to z97 to 122lowercase letters
tab, newline9, 10invisible control codes

Benefits, Limits, and Common Mistakes

The benefit of decimal codes is that they are easy to read and compare. You can tell that a capital letter is exactly 32 less than its lowercase form, which is a trick programmers use to change case. The main limit is that raw codes lose their formatting: spacing and line breaks become numbers, so you must keep track of them yourself. Plain ASCII also cannot show emoji or accented letters, which is why this tool uses full Unicode code points to cover them.

The most common mistake when decoding is joining numbers without clear separators, so "72105" is unreadable while "72 105" decodes cleanly to "Hi." Another slip is confusing the code for the digit character with the value it represents: the character "5" is code 53, not 5. People also forget that a space is a real character with code 32, so it counts when you translate. A good tip is to always separate your codes with single spaces and to test a round trip by feeding the result back in. To go further, convert the same text into base-2 with our binary code translator, or spell it aloud using the NATO phonetic alphabet.

People Also Ask

What is the ASCII code for the letter A?

Capital A is 65, and lowercase a is 97. The gap of 32 between them is the same for every letter, which is how case conversion works at the code level. This tool shows the exact code for any character you type.

What is the difference between ASCII and Unicode?

ASCII covers 128 basic characters used in English, while Unicode is a much larger standard that covers every writing system plus emoji. Unicode keeps ASCII's values for the first 128 characters, so the two agree on English letters and add far more on top.

Are ASCII codes decimal or hexadecimal?

They can be written either way, since a decimal number and its hexadecimal form are the same value. This converter uses decimal, so A appears as 65. In hexadecimal that same value is written as 41.

What are control characters in ASCII?

Control characters are codes 0 through 31 that give instructions rather than print a symbol. Examples include the newline (10) and the tab (9). They shape how text is laid out even though you cannot see them directly.

How do I convert numbers back into text?

Paste your codes with spaces between them and switch to decode mode. Each number is looked up in the character table and replaced by its character. As long as the numbers are valid code points, the original text comes back.

Why does a space have an ASCII code?

A space is a real character, not just empty gap, so it needs its own value, which is 32. That lets computers store and compare spaces the same way they handle letters. When you encode text, every space becomes a 32.

Can ASCII represent emoji?

No, plain ASCII stops at 127 and has no emoji. To handle emoji, you need Unicode code points, which this tool uses. That is why an emoji here produces a much larger number than a normal letter.

Frequently Asked Questions

What is an ASCII code?
It is the number a computer uses for a character. Capital A is 65, lowercase a is 97, and a space is 32. This tool shows the code for every character in your text.
How do I convert text to ASCII?
Type your text and click Text to ASCII. Each character is replaced by its decimal code, separated by spaces, which you can copy.
Can it decode ASCII back to text?
Yes. Paste the numbers, separated by spaces, and click ASCII to Text. Each number is turned back into its character.
Does it handle emoji and accents?
Yes. It uses Unicode code points, so it works for standard ASCII plus emoji and accented characters, which have larger code numbers.

Related Free Tools

More Translators

Browse all text & utility tools →