How to use the text to binary converter
- Type or paste text into the Input box, or press Sample.
- Choose Binary, Hex, Decimal or Octal. Each byte is converted as you type.
- To go back, paste the codes and choose → Text. Spaces, commas and 0b/0x prefixes are all understood.
ASCII letters in binary
| Char | Decimal | Hex | Binary | Char | Decimal | Hex | Binary |
|---|---|---|---|---|---|---|---|
| A | 65 | 41 | 01000001 | a | 97 | 61 | 01100001 |
| B | 66 | 42 | 01000010 | b | 98 | 62 | 01100010 |
| C | 67 | 43 | 01000011 | c | 99 | 63 | 01100011 |
| D | 68 | 44 | 01000100 | d | 100 | 64 | 01100100 |
| E | 69 | 45 | 01000101 | e | 101 | 65 | 01100101 |
| F | 70 | 46 | 01000110 | f | 102 | 66 | 01100110 |
| G | 71 | 47 | 01000111 | g | 103 | 67 | 01100111 |
| H | 72 | 48 | 01001000 | h | 104 | 68 | 01101000 |
| I | 73 | 49 | 01001001 | i | 105 | 69 | 01101001 |
| J | 74 | 4A | 01001010 | j | 106 | 6A | 01101010 |
| K | 75 | 4B | 01001011 | k | 107 | 6B | 01101011 |
| L | 76 | 4C | 01001100 | l | 108 | 6C | 01101100 |
| M | 77 | 4D | 01001101 | m | 109 | 6D | 01101101 |
| N | 78 | 4E | 01001110 | n | 110 | 6E | 01101110 |
| O | 79 | 4F | 01001111 | o | 111 | 6F | 01101111 |
| P | 80 | 50 | 01010000 | p | 112 | 70 | 01110000 |
| Q | 81 | 51 | 01010001 | q | 113 | 71 | 01110001 |
| R | 82 | 52 | 01010010 | r | 114 | 72 | 01110010 |
| S | 83 | 53 | 01010011 | s | 115 | 73 | 01110011 |
| T | 84 | 54 | 01010100 | t | 116 | 74 | 01110100 |
| U | 85 | 55 | 01010101 | u | 117 | 75 | 01110101 |
| V | 86 | 56 | 01010110 | v | 118 | 76 | 01110110 |
| W | 87 | 57 | 01010111 | w | 119 | 77 | 01110111 |
| X | 88 | 58 | 01011000 | x | 120 | 78 | 01111000 |
| Y | 89 | 59 | 01011001 | y | 121 | 79 | 01111001 |
| Z | 90 | 5A | 01011010 | z | 122 | 7A | 01111010 |
Digits 0–9 are codes 48–57 (00110000–00111001) and a space is 32 (00100000). See every code in the ASCII table, or convert single numbers between bases with the number base converter.
Frequently asked questions
Each character is turned into its character code, and each code is written in base 2 as an 8-bit byte. “H” is 72 in ASCII, which is 01001000 in binary, and “i” is 105, or 01101001. So “Hi” is 01001000 01101001.
Split the binary into 8-bit groups, convert each group to a number and look up the character. Paste your binary, choose “Binary / hex / decimal → Text”, and the converter works out whether it's binary, hex or decimal codes automatically.
They don't fit in a single byte, so the converter uses UTF-8, the encoding used by almost every website. “é” becomes two bytes (11000011 10101001) and most emoji become four. Plain English letters, digits and punctuation are one byte each, identical to ASCII.
They're different ways of writing the same byte values. The letter “A” is 01000001 in binary (base 2), 41 in hexadecimal (base 16) and 65 in decimal (base 10). Hex is popular with programmers because each byte is exactly two digits.