Binary Translator
Local only — nothing is uploaded unless you save or share it.
A binary translator both ways — binary to text, text to binary, hex and decimal too.
- Paste text, or paste binary, hex or decimal bytes.
- Read whichever form you needed — all of them are shown together.
- Copy the one you want.
Save this tool
Keep Binary Translator handy
Use your browser's Share menu, then “Add to Home Screen”.
About this tool
A binary converter that shows every form at once. Paste 00110 and you get its value in every base beside it; paste a run like 01001000 01101001 and you get the words back. Paste text and you get the binary, hex, decimal and octal below it; paste any of those and you get the text back. There is no direction to choose, because there is no direction — they are all the same bytes written differently, and a pair of dropdowns only gives you something to set wrongly. It works out what you pasted from what it looks like. Ones and zeros in whole bytes are binary; anything with an 0x or a letter from a to f is hex; several small numbers are decimal. Where two readings are genuinely possible it says which one it took, so you can see the guess rather than discover it later — and octal is never guessed at all, because 17 is a valid octal number and a valid decimal one, and picking wrong silently turns 17 into 15. The part most binary translators get wrong is anything that is not English. A character is not a number any more: A is one byte, é is two, an emoji is four. This converts through UTF-8 bytes, which is what a file actually contains, so é comes back as C3 A9 rather than as a single number that no program would agree with. Everything runs in your browser. Nothing is uploaded, and it works offline once the page has loaded.
Frequently asked questions
How do I convert binary to text?
Paste the ones and zeros and the text appears. Groups of eight are read as bytes, with or without spaces between them, so both 01001000 01101001 and 0100100001101001 give you “Hi”. If the bits do not divide into whole bytes it is treated as text instead, because a stray digit means the paste went wrong rather than that the last byte should be padded.
How do I convert text to binary?
Type the text. The binary is the row underneath, in eight-bit groups separated by spaces — which is how it is read by a person, even though the spaces are not part of the data. Hex, decimal and octal are there at the same time, so text to binary and text to hex are the same single action.
How does it tell hex from decimal?
By what only one of them can look like. An 0x prefix or any digit from a to f is unambiguously hex. Failing that, several groups of exactly two zero-padded digits is the shape every hex dump has, so “48 69” is read as hex — while “72 105” has a three-digit group, which no hex dump would, so it is decimal. It tells you which it chose.
Why is é two bytes?
Because that is what it is in UTF-8, the encoding almost everything uses. C3 A9 is the pair, and neither byte means anything on its own. Older binary translators assume one byte per character, which works for English and produces nonsense for everything else — an emoji is four bytes, and treating it as one number gives an answer no program would agree with.
Why does it not detect octal?
Because it cannot, safely. Every octal number is also a plausible decimal one — 17 is seventeen in decimal and fifteen in octal — so guessing would silently change the answer with nothing on screen to say so. Octal is shown as an output always, and read as an input only when you ask for it.
Is my text sent anywhere?
No. The conversion happens in the page, which matters more here than it sounds: the things people paste into a binary converter are often fragments of a file, a protocol capture or a key they are debugging.
Help improve this tool
Found a bug, want a change, or need a tool we don't have?
You have an unsent draft.
Thanks — that's with us. You'll find the reply in your inbox.Go to my messages