Developer Tools

Binary to Text Converter

Convert binary to text and text to binary online for free: paste 0s and 1s or type any text and get the result live, with auto-detect direction, UTF-8 or 7-bit ASCII, a byte table in binary, hex and decimal, exact error positions, copy and .txt download. 100% in your browser, no signup.

Conversion options

Your result will appear here.

Why UTF-8 matters

ASCII covers only the first 128 characters, so an ASCII-only converter has no way to write an accented letter or an emoji and usually turns it into a question mark. UTF-8 writes those characters as two to four bytes each, which is how they are actually stored everywhere, so café, naïve and a waving hand decode back to exactly what you typed. The 7-bit mode is the classic textbook form, one group per character, and it refuses non-ASCII input with a named error instead of mangling it.

🔒 Privacy: encoding and decoding run locally in your browser with the built-in TextEncoder and TextDecoder. Nothing you type is uploaded, stored or seen by anyone else.

More developer tools

How this calculator works

Computers store every letter as a number, and binary is that number written with only two digits, 0 and 1. This converter translates both ways: type plain text and read its binary, or paste binary and read the text back, with the direction detected automatically from what you type. Type "Hi" and you get 01001000 01101001, one 8-bit group per byte; paste those groups back and "Hi" returns. Everything runs in your browser, so nothing you type is uploaded or stored.

The encoding is UTF-8, which is the detail that separates a correct converter from a broken one. ASCII-only converters treat every character as one byte, so an accented letter like é or an emoji quietly becomes garbage. UTF-8 gives those characters the two, three or four bytes they actually need, so café, naïve and a waving hand all survive the round trip exactly. A 7-bit ASCII mode is there for the classic textbook form, and it refuses non-ASCII characters with a named error instead of mangling them. Spaced, comma-separated, continuous and 0b-prefixed binary are all accepted, and a stray digit or a short final group is reported at its exact position instead of guessed.

The byte table under the converter shows how each character is stored: its Unicode code point plus every byte in binary, hex and decimal, so a homework problem or a debugging session can be checked one character at a time. Use the Base64 Encoder when the data must travel inside text, the URL Encoder when it belongs in a link, and the Hex to RGB Converter when the bytes are a color.

Frequently asked questions

How do I convert binary to text?
Paste binary code into the input box, with groups separated by spaces, commas or nothing at all, and the text appears live as you type. Each group must be 8 bits for UTF-8 mode or 7 bits for ASCII mode. 0b prefixes are fine, and the direction is detected automatically, so you never have to pick a mode first.
How do I convert text to binary?
Type or paste plain text and the binary appears live, one 8-bit group per UTF-8 byte, separated by spaces. Choose commas or no separator if you need a different layout, and switch to 7-bit ASCII mode for the classic textbook form. Copy the result or download it as a .txt file.
Why does my text with accents or emoji need UTF-8?
ASCII covers only the first 128 characters, so an ASCII-only converter has no way to write e or an emoji and usually turns them into question marks. UTF-8 writes those characters as two to four bytes each, which is how they are actually stored everywhere, so they decode back to exactly what you typed. This converter uses UTF-8 by default.
What is the difference between 8-bit and 7-bit binary?
8-bit groups are bytes, the unit computers actually store, and they cover every character through UTF-8. 7-bit groups are the older ASCII form, one group per character, and they only work for the 128 ASCII characters. Use 8-bit unless a textbook or assignment asks for 7-bit specifically.
What does "incomplete group" mean?
It means the last group of bits is shorter than the mode needs, for example 7 bits in 8-bit mode. Count the bits in the final group: a missing leading zero is the usual cause, so 1001000 in 8-bit mode should be 01001000. The error message names the exact position so you can fix it in seconds.
Is my text uploaded anywhere?
No. Encoding and decoding run locally in your browser with the built-in TextEncoder and TextDecoder. Nothing you type is uploaded, stored or seen by anyone else, which makes the tool safe for binary copied from logs or packet captures.
Disclaimer: Results are estimates for planning purposes only and are not financial advice. Actual loan terms, taxes and investment returns vary. Consult a qualified professional before making financial decisions.