Every character you type is stored as a number, and every number is stored as bits. This converter shows that process: each character becomes one or more bytes in UTF-8, and each byte is written as eight binary digits. It also works in reverse, which is handy for puzzles and computer-science homework.
Uses
- Learning: understand bits, bytes and character encoding with real examples.
- Puzzles and geek gifts: hide a message in binary for a card, T-shirt or escape room.
- Debugging: check the exact bytes of a string that’s causing problems.
To see the same bytes in hexadecimal or decimal, use the Text to Hex Converter.
How to use the Text to Binary Converter
- Type text in the left box to see its binary code on the right, eight bits per byte.
- Choose how bytes are separated: spaces, nothing, or one byte per line.
- To decode, choose Binary → text (or click Swap) and paste groups of eight 0s and 1s.
Features
- UTF-8 encoding: plain letters use one byte, accented letters two, and emoji four.
- Decoder accepts bytes separated by spaces, commas or new lines, or one long unbroken string.
- Clear error messages that point to the exact byte that isn’t valid binary.
- Works offline once the page has loaded.
Frequently asked questions
What is “Hello” in binary?
01001000 01100101 01101100 01101100 01101111. Each letter is one byte: H is 72, which is 01001000 in binary.
Why does an emoji turn into 32 digits?
UTF-8 stores most emoji in four bytes, and each byte is eight bits, so one emoji becomes 32 ones and zeros. Accented letters like é take two bytes (16 bits).
Is binary the same as ASCII?
ASCII is a table that assigns numbers to 128 characters; binary is just one way to write those numbers. For basic English text, UTF-8 and ASCII give the same bytes. UTF-8 extends it to every language and symbol.
Written by Dewan Razib