Text to Binary
Convert text to binary code and decode it back.
Loading tool…
Turn text into binary or decode binary back into readable text. Type a message to see its 8-bit binary representation, or paste binary to convert it back. It supports full Unicode via UTF-8 and is great for learning, puzzles and fun. The conversion runs in your browser.
How text becomes numbers
Computers store only numbers, so every character has one assigned to it. The letter A is 65, a lowercase a is 97, and a space is 32. Write those numbers in base two and you get the binary that represents your text. That mapping is what a character encoding is, and understanding it demystifies a lot of things that otherwise look like magic.
Why eight bits at a time
Binary output is usually grouped into eight digits because a byte is eight bits, and the original ASCII set fitted every English character into one. Modern text uses UTF-8, which keeps those same values for English characters and uses two, three or four bytes for everything else. That is why an English letter produces eight digits while an Urdu or Arabic character produces considerably more.
What it is good for
- Learning how encoding works, which is the main reason people convert text to binary.
- Computer science homework and classroom exercises.
- Puzzles, escape rooms and hidden messages.
- It is not a security measure. Binary is trivially readable and hides nothing.
How to use Text to Binary
- 1
Enter text or binary code.
- 2
Choose the conversion direction.
- 3
Copy the result.
Frequently asked questions
Yes. Text is encoded as UTF-8, so emojis and any language convert correctly.