How to use this tool
- Choose Text → Binary or Binary → Text.
- Type or paste into the top box. The translation appears below straight away.
- Copy the result, or tap Swap to translate it back the other way.
Binary alphabet (capital and small letters)
| Letter | Binary | Letter | Binary |
|---|---|---|---|
| A | 01000001 | a | 01100001 |
| B | 01000010 | b | 01100010 |
| C | 01000011 | c | 01100011 |
| D | 01000100 | d | 01100100 |
| E | 01000101 | e | 01100101 |
| H | 01001000 | h | 01101000 |
| I | 01001001 | i | 01101001 |
| L | 01001100 | l | 01101100 |
| O | 01001111 | o | 01101111 |
| Space | 00100000 | ! | 00100001 |
Capital and small letters differ by one bit: A is 01000001 and a is 01100001. The digits 0 to 9 run from 00110000 to 00111001.
Worked example: "Hi"
H has character code 72. In binary, 72 is 64 + 8, so the bits for 64 and 8 are on: 01001000. The letter i is 105, which is 64 + 32 + 8 + 1, or 01101001. Put together, "Hi" in binary is 01001000 01101001.
Emoji and other languages
Plain English letters fit in one byte (8 bits). Letters such as é, Urdu or Hindi characters and emoji need two to four bytes in UTF-8, the encoding used across the web, so 😀 becomes four groups of 8 bits. Older "ASCII-only" translators get these wrong; this one handles them.
Translating numbers instead of text
To turn the number 10 into binary 1010 (rather than the characters "1" and "0"), use the binary number converter, which also does hexadecimal and octal.
Frequently asked questions
How do you write A in binary?
Capital A is 01000001. Small a is 01100001.
How do I convert binary to text?
Split the binary into groups of 8 digits, convert each group to a number, and look up that character. Paste the binary into this translator to do it instantly.
What does 01001000 01101001 mean?
It spells "Hi" in binary.
Why is each letter 8 digits?
Computers store text in bytes of 8 bits. An 8-bit group can hold 256 values, enough for all the basic English letters, numbers and symbols.
Is binary the same as ASCII?
ASCII is the table that gives each character a number; binary is how that number is written in 0s and 1s.
Sources and references
- The Unicode Standard: UTF-8 encoding form
- RFC 3629: UTF-8, a transformation format of ISO 10646
- ASCII table (ANSI X3.4), via Wikipedia