Home » Binary Converter Tools » Text to ASCII Converter
Convert text to ASCII codes and ASCII codes back to text in one tool, with a direction switch and a code for every character.
Everything runs in your browser, so your value never leaves your device. Whole numbers only for number base conversions.
A text to ASCII converter turns ordinary text into ASCII codes, and this page also rebuilds text from ASCII codes. ASCII is the classic code table for English text, where every letter, digit and punctuation mark has a number from 0 to 127. It is still the basis for how computers store plain text.
For example, H is 72 and i is 105, so the word Hi becomes 72 105. This tool converts a full word or sentence to its codes, separated by spaces, and it can also take codes separated by spaces and turn them back into text.
Everything runs in your browser, so your text never leaves your device. The tool works with plain English characters, and it gives a plain error for codes outside 0 to 127 or for text that is not a number, instead of a wrong answer.
Find the code for each character: H is 72, and i is 105.
Write the codes in order, separated by spaces: 72 105. So Hi in text is 72 105 in ASCII.
To decode, split the codes by spaces: 72 and 105.
Read the character for each code: 72 is H, and 105 is i, giving Hi again.
| Input | Output |
|---|---|
| A in text | 65 in ASCII |
| Hi in text | 72 105 in ASCII |
| Hello in text | 72 101 108 108 111 in ASCII |
| 123 in text | 49 50 51 in ASCII |
| a in text | 97 in ASCII |
If you need a different direction, try the Text to Binary Converter, Text to Hex Converter, Decimal to Binary Converter and Binary to Decimal Converter. Each one works the same way, in your browser, with the steps shown so you can check the answer.
Yes, it is completely free with no sign up.
Yes. Switch the direction to ASCII codes to text and enter codes separated by spaces, each from 0 to 127.
Those characters are outside the ASCII table, so this tool gives a plain message instead of a made up code.
No. All conversion happens in your browser on your own device, so your text never leaves your computer.