Text to ASCII Converter - The Codes Behind Your Characters
Every character on your screen is stored as a number: "A" is 65, "a" is 97, and a space is 32. Programmers, students and puzzle-makers need those numbers all the time. Type text below to see its codes, or paste codes to read the text hidden inside them.
How to use the Text to ASCII Converter
- Type or paste plain text and click "Text to ASCII codes" to see every character's decimal, hex, octal and binary value in a table.
- The decimal codes are also listed in the result box, ready to copy.
- To decode instead, paste space-separated decimal codes (like 72 101 108 108 111) and click "ASCII codes to text".
How it works
ASCII (American Standard Code for Information Interchange) gives every common character a number from 0 to 127: digits 0-9 are codes 48-57, capital letters run 65-90, small letters 97-122, and common symbols fill the gaps. Characters beyond plain ASCII - accented letters, Urdu script, emoji - use the wider Unicode standard, and this tool reports those code points too, labelled as Unicode where they pass 127. Decoding simply looks each number up and joins the characters back together.
Worked example
Type "Hi!" and the table shows H = 72 (hex 48, binary 1001000), i = 105 (hex 69), ! = 33 (hex 21). Paste "72 105 33" into the decoder and you get "Hi!" straight back.
Frequently Asked Questions
Is this ASCII converter free?
Yes - completely free, with no sign-up and no limit.
What is the difference between ASCII and Unicode?
ASCII covers 128 characters - English letters, digits and common symbols. Unicode covers every writing system and emoji; its first 128 code points are exactly the ASCII ones, so ASCII text is valid Unicode.
Which codes does the decoder accept?
Decimal numbers separated by spaces, commas or new lines, from 0 up to 1114111 (the full Unicode range).
Is my text uploaded anywhere?
No. The conversion happens 100% in your browser - your text never leaves your device.
Why do capital and small letters have different codes?
They are different characters in the table - "A" is 65 and "a" is 97, exactly 32 apart, a quirk programmers have used for decades to flip case.
Related Text Tools
Text to Binary
See text as the 0s and 1s computers store - and decode binary back.
Text to Hex Converter
Convert text to hexadecimal bytes and hex back to text, UTF-8 aware.
NATO Phonetic Alphabet Converter
Spell text in the Alfa-Bravo-Charlie alphabet, and decode it back.
Morse Code Translator
Text to Morse code and back - with real beep playback.