← All tools/Utilities/Text/Text to Binary Converter
Text to Binary Converter
Turn text into binary, or binary back into readable text.
Type or paste text. The result updates as you type, in your browser.
Result
How it works
Each character → its UTF-8 byte value → 8 binary digits ‘H’ = 72 = 01001000 ‘i’ = 105 = 01101001 Decoding reverses the process, 8 bits at a time
Worked example: “Hi” is 2 characters and 2 bytes. H is 72 in decimal, 01001000 in binary, and i is 105, 01101001 — so “Hi” becomes 01001000 01101001.
Frequently asked questions
What is binary code?
A way of writing data using only 0s and 1s. Each character becomes 8 binary digits, one for each bit of its UTF-8 byte value.
Can it handle emoji and accented letters?
Yes. Characters outside basic ASCII use two or more UTF-8 bytes, so an emoji becomes several groups of 8 bits, and the byte count shows the true size.
How do I decode binary back to text?
Switch the direction to “Binary to text”, paste groups of 8 bits, and the tool reads each group as one byte. Spaces between groups are fine, and stray characters are ignored.
Why are there spaces between the groups?
Each group of 8 bits is one byte, and the spaces make the output easier to read. Remove them if you need one continuous string.
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.