Text to Binary Converter
Convert text and ASCII characters to binary code.
Decode binary code back to readable text or ASCII. Paste binary bytes separated by spaces and the tool outputs the corresponding characters instantly. Also supports text-to-binary in the same interface.
Decoding binary back into readable text reverses the encoding process. The important part is knowing where each character starts and ends, because a long run of ones and zeros carries no visible boundaries on its own.
01001000 01101001 = "Hi"
Each position in a byte has a fixed weight. From left to right those weights are 128, 64, 32, 16, 8, 4, 2, and 1. To decode a byte you add up the weights wherever the bit is set to 1 and ignore the positions holding 0.
Take 01001000. The 1 bits sit in the 64 and the 8 positions, so the value is 64 plus 8, which is 72. Character 72 in ASCII is the capital letter H. Every byte in a binary string decodes the same way.
ASCII is the original character encoding standard, finalised in 1963. It defines 128 characters: the English alphabet in both cases, the digits 0 to 9, common punctuation, and 33 non printing control codes such as tab, newline, and carriage return. Because 128 values fit in seven bits, every ASCII character fits comfortably inside a single byte.
ASCII covers English and almost nothing else, which is why Unicode exists. Unicode assigns a number, called a code point, to every character in every writing system, plus symbols and emoji. UTF-8 is the encoding that turns those code points into bytes, and it was designed so that the first 128 code points encode to exactly the same single bytes as ASCII. That backward compatibility is why plain English text looks identical in both.
The practical consequence for this tool: English letters, digits, and punctuation each produce one byte. Accented characters, Greek, Cyrillic, Arabic, and CJK characters produce two or three bytes each, and emoji usually produce four. The converter handles all of them correctly using UTF-8.
Every printable ASCII character with its decimal code, binary byte, and hexadecimal byte. Codes 0 to 31 are control characters and are not printable, so they are not listed here.
| Char | Dec | Binary | Hex |
|---|---|---|---|
| space | 32 | 00100000 | 20 |
| ! | 33 | 00100001 | 21 |
| " | 34 | 00100010 | 22 |
| # | 35 | 00100011 | 23 |
| $ | 36 | 00100100 | 24 |
| % | 37 | 00100101 | 25 |
| & | 38 | 00100110 | 26 |
| ' | 39 | 00100111 | 27 |
| ( | 40 | 00101000 | 28 |
| ) | 41 | 00101001 | 29 |
| * | 42 | 00101010 | 2A |
| + | 43 | 00101011 | 2B |
| , | 44 | 00101100 | 2C |
| - | 45 | 00101101 | 2D |
| . | 46 | 00101110 | 2E |
| / | 47 | 00101111 | 2F |
| 0 | 48 | 00110000 | 30 |
| 1 | 49 | 00110001 | 31 |
| 2 | 50 | 00110010 | 32 |
| 3 | 51 | 00110011 | 33 |
| 4 | 52 | 00110100 | 34 |
| 5 | 53 | 00110101 | 35 |
| 6 | 54 | 00110110 | 36 |
| 7 | 55 | 00110111 | 37 |
| Char | Dec | Binary | Hex |
|---|---|---|---|
| 8 | 56 | 00111000 | 38 |
| 9 | 57 | 00111001 | 39 |
| : | 58 | 00111010 | 3A |
| ; | 59 | 00111011 | 3B |
| < | 60 | 00111100 | 3C |
| = | 61 | 00111101 | 3D |
| > | 62 | 00111110 | 3E |
| ? | 63 | 00111111 | 3F |
| @ | 64 | 01000000 | 40 |
| A | 65 | 01000001 | 41 |
| B | 66 | 01000010 | 42 |
| C | 67 | 01000011 | 43 |
| D | 68 | 01000100 | 44 |
| E | 69 | 01000101 | 45 |
| F | 70 | 01000110 | 46 |
| G | 71 | 01000111 | 47 |
| H | 72 | 01001000 | 48 |
| I | 73 | 01001001 | 49 |
| J | 74 | 01001010 | 4A |
| K | 75 | 01001011 | 4B |
| L | 76 | 01001100 | 4C |
| M | 77 | 01001101 | 4D |
| N | 78 | 01001110 | 4E |
| O | 79 | 01001111 | 4F |
| Char | Dec | Binary | Hex |
|---|---|---|---|
| P | 80 | 01010000 | 50 |
| Q | 81 | 01010001 | 51 |
| R | 82 | 01010010 | 52 |
| S | 83 | 01010011 | 53 |
| T | 84 | 01010100 | 54 |
| U | 85 | 01010101 | 55 |
| V | 86 | 01010110 | 56 |
| W | 87 | 01010111 | 57 |
| X | 88 | 01011000 | 58 |
| Y | 89 | 01011001 | 59 |
| Z | 90 | 01011010 | 5A |
| [ | 91 | 01011011 | 5B |
| \ | 92 | 01011100 | 5C |
| ] | 93 | 01011101 | 5D |
| ^ | 94 | 01011110 | 5E |
| _ | 95 | 01011111 | 5F |
| ` | 96 | 01100000 | 60 |
| a | 97 | 01100001 | 61 |
| b | 98 | 01100010 | 62 |
| c | 99 | 01100011 | 63 |
| d | 100 | 01100100 | 64 |
| e | 101 | 01100101 | 65 |
| f | 102 | 01100110 | 66 |
| g | 103 | 01100111 | 67 |
| Char | Dec | Binary | Hex |
|---|---|---|---|
| h | 104 | 01101000 | 68 |
| i | 105 | 01101001 | 69 |
| j | 106 | 01101010 | 6A |
| k | 107 | 01101011 | 6B |
| l | 108 | 01101100 | 6C |
| m | 109 | 01101101 | 6D |
| n | 110 | 01101110 | 6E |
| o | 111 | 01101111 | 6F |
| p | 112 | 01110000 | 70 |
| q | 113 | 01110001 | 71 |
| r | 114 | 01110010 | 72 |
| s | 115 | 01110011 | 73 |
| t | 116 | 01110100 | 74 |
| u | 117 | 01110101 | 75 |
| v | 118 | 01110110 | 76 |
| w | 119 | 01110111 | 77 |
| x | 120 | 01111000 | 78 |
| y | 121 | 01111001 | 79 |
| z | 122 | 01111010 | 7A |
| { | 123 | 01111011 | 7B |
| | | 124 | 01111100 | 7C |
| } | 125 | 01111101 | 7D |
| ~ | 126 | 01111110 | 7E |
Looking for a different conversion? Browse every developer tool including binary, hex, octal, and Base64 converters.
Binary to text conversion (also called binary decoding) reverses the process of text encoding. Each group of 8 binary digits (one byte) represents a numeric code that maps to a character in the ASCII or Unicode table. For example, the byte 01001000 = 72 = 'H' and 01101001 = 105 = 'i', so the two bytes together decode to "Hi". This tool is useful for decoding binary data from protocol dumps, educational exercises, or puzzle challenges where text is encoded in binary form.