Text to Binary Converter (and Binary to Text)
Convert text to binary code and binary back to text instantly. Each character is encoded into its UTF-8 bytes and each byte into 8 bits, so it works just as well with plain English text as with accented letters, symbols or emojis. Choose whether to separate the bytes with a space or keep them together, and switch direction with a single click. Everything happens in your browser: nothing is ever uploaded to a server.
How to convert text to binary
- Choose the direction: “Text → Binary” or “Binary → Text”.
- Type or paste your text (or your binary) into the box on the left.
- The result appears instantly on the right; in text-to-binary mode you can choose whether to separate the bytes with a space.
- Copy the result with “Copy” or download it with “Download”.
Frequently asked questions
How is text converted to binary?
Each character is first encoded into bytes using UTF-8 (the web standard), and each byte is represented with 8 bits (zeros and ones). For example, the letter “A” is byte 65, which in 8-bit binary is 01000001. Characters outside basic ASCII (accents, emojis) take up several bytes.
Is my text uploaded to a server?
No. The conversion happens entirely in your browser using JavaScript; your text never leaves your device, and the tool works offline once it has loaded.
Does it support accents, symbols and emojis?
Yes. The tool uses UTF-8, so any Unicode character (accented letters, ñ, symbols, emojis, non-Latin alphabets) converts correctly and is rebuilt exactly the same way when turned back into text. An emoji, for example, takes up four bytes, that is, 32 bits.
Which separator should I use?
It is mostly a matter of taste, and of what the person reading the binary expects. Separating each byte with a space (01001000 01101001) is usually more readable; with no separator (0100100001101001) it is more compact. When converting binary to text, spaces and line breaks are ignored, so both formats are accepted.
Why does my binary give an error when converting it to text?
Binary can only contain the digits 0 and 1 (spaces and line breaks are ignored), and its length, not counting spaces, must be a multiple of 8, because each character is made up of groups of 8 bits (one byte). If a bit is missing or extra, check that none was lost when it was copied.
Is this the same as the binary number system?
Not quite. This tool converts text into the binary representation of its bytes. If what you want is to convert a number between binary, decimal and hexadecimal, use the number base converter.