gizmobench

Binary to Text

A binary translator that converts binary to text and text to binary, and does the same for octal and hex. The direction is detected from what you paste, so there is no mode to choose first and no wrong guess to undo.

Output

Converted output appears here.

Direction detectedBinary, octal, hexNothing uploadedWorks offline
Base

Common questions

Do I need to pick a direction?
No. If what you paste looks like grouped digits in the selected base it is decoded to text; otherwise your text is encoded. The direction in use is always shown so you can see what happened.
Does it handle emoji and accented characters?
Yes. Text is encoded as UTF-8, so multi-byte characters like é, 日本語 and emoji convert and convert back exactly.
What if my binary is invalid?
You get told what is wrong rather than a blank result, each group has to be a value from 0 to 255, so a stray digit or a missing space is called out.
Which bases are supported?
Binary (base 2, padded to 8 digits), octal (base 8) and hexadecimal (base 16), in both directions.
Is my data sent anywhere?
No. The conversion runs entirely in your browser, so nothing leaves your machine and there is no size limit.
Does it work with emoji?
Yes, and this is where simpler converters fail. Text is encoded as UTF-8 first, so a character that occupies several bytes (an emoji, a Chinese character, an accented letter) round-trips exactly. A converter that assumes one byte per character corrupts all of them.

Exact and fully reversible, including for emoji and any other multi-byte character. Text is encoded as UTF-8 before conversion rather than assuming one byte per character.