Text to Binary Converter
Encodes text as binary, hexadecimal, decimal or Base64, live.
Runs in your browser. The file or text you give it is not uploaded. Free, no account.
How it works
You have text and you need the bytes behind it. Type it and the encoding updates live, in binary, hexadecimal, decimal or Base64. Pick how the bytes are separated; encoding uses UTF-8, so accented letters and emoji become the correct bytes.
- 1
Type text and pick an output. Encoding uses UTF-8, so accented letters and emoji become the correct bytes.
- 2
Choose how the bytes are separated.
What it does not do
Binary of text is its byte values, not encryption. Anyone can turn it back.
When a source is busy or a site does not answer, this tool says so. It never fills the gap with a guess.
Questions
Is binary a way to hide or encrypt text?
No. Binary is the same text written as its byte values, one group per byte. Nothing is scrambled and there is no key. Anyone who knows the encoding can turn the bits back into the original text, by hand or with any converter. Use it to inspect bytes, not to keep something secret.
Why does my accented letter turn into two groups of bits?
Because UTF-8 does not give every character one byte. Letters from the Latin alphabet with accents, such as e with an acute, take two bytes: a lead byte and a continuation byte. Most emoji take four. So a short string can produce more groups of bits than it has characters. The grouping matches the bytes the text really uses.
Should the bytes be separated with spaces?
It depends where the output goes. Spaces make the groups readable when you check the result yourself. Some systems expect one continuous run of bits with no separator, and some split on the byte instead. Set the separator to match the format the receiving side reads, then copy the output.