Text to Binary Converter
Convert text to binary and decode binary back to text, with UTF-8, ASCII and UTF-16 support.
Text → Binary
- Groups
- 0
- Bits
- 0
- Characters
- 0
Binary alphabet chart (8-bit ASCII)
- A 01000001
- B 01000010
- C 01000011
- D 01000100
- E 01000101
- F 01000110
- G 01000111
- H 01001000
- I 01001001
- J 01001010
- K 01001011
- L 01001100
- M 01001101
- N 01001110
- O 01001111
- P 01010000
- Q 01010001
- R 01010010
- S 01010011
- T 01010100
- U 01010101
- V 01010110
- W 01010111
- X 01011000
- Y 01011001
- Z 01011010
- 0 00110000
- 1 00110001
- 2 00110010
- 3 00110011
- 4 00110100
- 5 00110101
- 6 00110110
- 7 00110111
- 8 00111000
- 9 00111001
Lower-case letters sit 32 higher: A is 01000001 (65) and
a is 01100001 (97). A space is 00100000 (32).
How it works
Type anything on the left and the converter turns each character into its binary code
on the right, live. By default text is encoded as UTF-8 bytes, so every
group is 8 bits: Hi becomes 01001000 01101001 (72 and 105 in
decimal, 48 and 69 in hex). Accented letters and emoji become several bytes — é
is 11000011 10101001 — which is exactly how they travel over the web. Switch
to 7-bit ASCII if you need the classic teletype form, or UTF-16 code units if you are
matching what JavaScript stores in a string.
Paste ones and zeros instead and the tool auto-detects the direction and decodes binary back to text. Spaces, commas, dots, line breaks and vertical bars are all accepted as group separators — they are stripped before decoding, so a solid run of bits works too, as long as the total is a whole number of groups. If the bit count does not divide evenly, or the bytes are not valid UTF-8, you get a plain-English message instead of mojibake. Everything is computed in your browser with JavaScript; nothing you paste is uploaded, stored or logged.
Frequently asked questions
How do I convert text to binary?
Type or paste your text in the left box and the converter writes each character as its binary code on the right, updating as you type. By default characters are encoded as UTF-8 bytes, so every group is 8 bits: "Hi" becomes 01001000 01101001, which is 72 and 105 in decimal. Copy the result or download it as a .txt file in one click.
What is 01001000 01101001 in text?
It is "Hi". 01001000 is 72, the ASCII code for a capital H, and 01101001 is 105, the code for a lower-case i. Paste any run of ones and zeros into the tool and it auto-detects the direction and decodes it back to text — spaces, commas, dots, bars and line breaks are all accepted as group separators.
Why do accented letters and emoji become more than 8 bits?
Because they are not ASCII. UTF-8 encodes characters above 127 as two to four bytes, so é becomes 11000011 10101001 (0xC3 0xA9) and an emoji becomes four bytes — that is genuinely how the character travels over the web. Choose the 7-bit ASCII option if you only want plain ASCII, or UTF-16 code units if you are matching what a JavaScript string stores internally.