My Tool Studio
Text

Binary ↔ Text

Type a word, press Text → Binary, and watch it become the exact bits a computer stores. This text to binary tool converts each character to its numeric code and prints it as eight binary digits, so A becomes 01000001 and a space becomes 00100000. It's a two way binary translator: paste a run of 0s and 1s separated by spaces, press Binary → Text, and the original characters come back. Teachers use it to demonstrate character encoding, students check homework against it, and developers eyeball what a byte sequence spells. Because it doubles as a binary to text converter, you can round trip a message and confirm nothing was lost. Each byte is space separated, which keeps long output readable.

Always freeNo sign upRuns in your browser

How to use

01

Enter text or binary

Type into the input pane, or hit Try sample to load the word Toolora. The same box accepts either plain text or space separated groups of 0s and 1s.

02

Pick a direction

Press the Text → Binary button to encode, or Binary → Text to decode. The decoder validates every chunk and shows an error naming any group that isn't purely 0s and 1s.

03

Copy the result

Click the copy button above the output pane. The character count below tells you how large the encoded form is, roughly nine characters of output per letter of input.

Why Binary ↔ Text

Common questions

Why is the letter A 01000001 in binary?
Capital A is character code 65 in ASCII. Written in base 2, 65 is 1000001, and padding it to a full eight bits gives 01000001. Lowercase a is code 97, which encodes as 01100001, so case changes exactly one bit.
How many bits does each character get in the text to binary code output?
Eight, padded with leading zeros, for any character with a code up to 255. Characters beyond that range, like the euro sign or emoji, have larger code values and print with more than eight digits, since their number simply doesn't fit in one byte.
Can the binary to text converter read input without spaces?
Not reliably. The decoder splits on whitespace, so an unbroken string like 0100100001101001 is treated as one giant number instead of two bytes. Insert a space after every eighth digit and the decode comes out correctly.
What does the error message starting with Not binary mean?
One of the space separated chunks contains a character other than 0 or 1, and the error names the offending chunk. Common culprits are the letter O standing in for zero, or stray punctuation copied along with the bits.
Is this binary translator using ASCII or UTF-8?
It encodes each character's code unit value, which matches ASCII exactly for English letters, digits, and standard punctuation. It does not emit UTF-8 multi-byte sequences for characters outside that range, so accented and non-Latin characters round trip here but won't match a UTF-8 byte dump.
Does converting text to binary preserve spaces and punctuation?
Yes, every character gets encoded, including spaces. A space is code 32, or 00100000, and a period is code 46, or 00101110. That's why the output for a sentence is longer than you might expect.
How do I check my hand conversion of a binary worksheet?
Work the problem on paper first, then paste your bits here and press the decode button. If the text that comes back matches the original message, your padding and place values were right.

More Text tools

View all