Text to hex bytes and hex back to text, in five output styles
Text to Binary Converter
Write a message in ones and zeros, or decode a binary string from a puzzle, a lesson or a T-shirt.
Loading tool…
How to use text to binary converter
Choose Text to binary or Binary to text.
Type the text, or paste the zeros and ones.
Pick spaced groups, one long run or commas.
Copy or download the result.
What this tool does
- Writes each UTF-8 byte as a padded 8-bit group.
- Reads binary with spaces, commas or none; a long run is split into bytes of 8.
- Emoji and non-Latin scripts work in both directions.
How the result is verified
The binary output is parsed back into bytes and decoded; it must match your text exactly.
Frequently asked questions
How do I read 01000001 by hand?
Each position is a power of two, from 128 on the left to 1 on the right. 01000001 is 64 + 1 = 65, which is the code for A.
Why are there 32 bits for one emoji?
Emoji live above code 65535, and UTF-8 stores those characters in four bytes, so you see four groups of 8.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Characters to decimal codes and codes back to text
Text to octal bytes or \ooo escapes and back
Text to Morse and back, with playback and WAV download