How to convert text to binary
- Type or paste your text in the "Text" field.
- See the code in "Binary (8 bits per character)", highlighted.
- To go back to text, paste the bits into that same field.
- Tap Copy to take the result with you.
How it works
Each character is stored as one or more bytes, and each byte is written with 8 bits. For example, the letter H is the number 72, which in binary is 01001000; "Hi" is 01001000 01101001.
UTF-8 encoding is used, so accented letters and emojis take more than one byte. The table below shows the code for letters and numbers.
Text to binary and hex
| Text | Decimal (base 10) | Binary (base 2) | Hexadecimal (base 16) |
|---|---|---|---|
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 8 | 56 | 00111000 | 38 |
| 9 | 57 | 00111001 | 39 |
Good to know
- To convert binary to text, the bits must come in complete groups of 8.
- Accented letters and emojis produce more than 8 bits because they take several bytes.
- The text is not sent to any server or saved.
Frequently asked questions
How do you write "Hello" in binary?
01001000 01100101 01101100 01101100 01101111: each letter is 8 bits.
Can I translate binary to text?
Yes: paste the bits into the binary field and you will see the text.
Why does an accented letter take more bits?
Because in UTF-8 non-English characters use 2 or more bytes.
Is my text sent to a server?
No. Everything happens in your browser.