ASCII to Text Converter
This ASCII to text converter reads character codes separated by spaces as text: 72 101 108 108 111 is Hello. Switch direction to turn text into its codes.
Runs in your browser. Your text is not sent to a server. Sources: RFC 20 Updated
How the ASCII to text converter reads codes
Every character has a number, its code. The tool splits your input at spaces and commas, reads each piece as a number and looks up the character with that code. In the other direction it writes the code of each character.
72 β H 101 β e 108 β l 108 β l 111 β o
The same codes can be written in other bases. Text to hex writes them in base 16 and text to binary in base 2. If your numbers only run from 1 to 26, they are probably the A1Z26 code; read them with the letters to numbers converter.
How to convert ASCII codes to text: a worked example
The codes 87 101 108 99 111 109 101:
- 87 is in the range 65 to 90, the capitals. 87 β 64 = 23, and the 23rd letter is W.
- 101, 108, 99, 111, 109 and 101 are in the range 97 to 122, the small letters. Subtracting 96 gives 5, 12, 3, 15, 13, 5: e, l, c, o, m, e.
- Result: Welcome
Going the other way, Hello World is 72 101 108 108 111 32 87 111 114 108 100. The 32 in the middle is the space.
Printable ASCII table: codes 32 to 126
Codes 0 to 31 and 127 are control codes with no visible character, for example 9 (tab), 10 (line feed) and 13 (carriage return). The printable characters are 32 to 126:
| Dec | Hex | Char | Dec | Hex | Char | Dec | Hex | Char |
|---|---|---|---|---|---|---|---|---|
| 32 | 20 | space | 64 | 40 | @ | 96 | 60 | ` |
| 33 | 21 | ! | 65 | 41 | A | 97 | 61 | a |
| 34 | 22 | " | 66 | 42 | B | 98 | 62 | b |
| 35 | 23 | # | 67 | 43 | C | 99 | 63 | c |
| 36 | 24 | $ | 68 | 44 | D | 100 | 64 | d |
| 37 | 25 | % | 69 | 45 | E | 101 | 65 | e |
| 38 | 26 | & | 70 | 46 | F | 102 | 66 | f |
| 39 | 27 | ' | 71 | 47 | G | 103 | 67 | g |
| 40 | 28 | ( | 72 | 48 | H | 104 | 68 | h |
| 41 | 29 | ) | 73 | 49 | I | 105 | 69 | i |
| 42 | 2a | * | 74 | 4a | J | 106 | 6a | j |
| 43 | 2b | + | 75 | 4b | K | 107 | 6b | k |
| 44 | 2c | , | 76 | 4c | L | 108 | 6c | l |
| 45 | 2d | - | 77 | 4d | M | 109 | 6d | m |
| 46 | 2e | . | 78 | 4e | N | 110 | 6e | n |
| 47 | 2f | / | 79 | 4f | O | 111 | 6f | o |
| 48 | 30 | 0 | 80 | 50 | P | 112 | 70 | p |
| 49 | 31 | 1 | 81 | 51 | Q | 113 | 71 | q |
| 50 | 32 | 2 | 82 | 52 | R | 114 | 72 | r |
| 51 | 33 | 3 | 83 | 53 | S | 115 | 73 | s |
| 52 | 34 | 4 | 84 | 54 | T | 116 | 74 | t |
| 53 | 35 | 5 | 85 | 55 | U | 117 | 75 | u |
| 54 | 36 | 6 | 86 | 56 | V | 118 | 76 | v |
| 55 | 37 | 7 | 87 | 57 | W | 119 | 77 | w |
| 56 | 38 | 8 | 88 | 58 | X | 120 | 78 | x |
| 57 | 39 | 9 | 89 | 59 | Y | 121 | 79 | y |
| 58 | 3a | : | 90 | 5a | Z | 122 | 7a | z |
| 59 | 3b | ; | 91 | 5b | [ | 123 | 7b | { |
| 60 | 3c | < | 92 | 5c | \ | 124 | 7c | | |
| 61 | 3d | = | 93 | 5d | ] | 125 | 7d | } |
| 62 | 3e | > | 94 | 5e | ^ | 126 | 7e | ~ |
| 63 | 3f | ? | 95 | 5f | _ |
ASCII to Text Converter: FAQ
What is ASCII?
What is the ASCII code for A?
How should I separate the codes?
What happens with a code above 127?
Can I enter the codes in hex or binary?
48 65 6c 6c 6f is Hello.