Text to Binary Converter

Text to binary, hex, octal and decimal, and back.

Text to Binary Converter encodes text into binary, hexadecimal, octal or decimal byte values and decodes them back, with a choice of UTF-8, UTF-16 or ASCII encoding and configurable grouping. It shows exactly how many bytes each character takes, which makes UTF-8 visible. Conversion runs in your browser; nothing is uploaded.

Loading Text to Binary Converter…

Runs entirely on your device. No file or text you enter here is uploaded. How to verify it.

How to use Text to Binary Converter

  1. Type text, or paste binary/hex values.
  2. Choose the encoding and grouping.
  3. Copy the converted output.

Questions about Text to Binary Converter

Why does one emoji become four bytes?
UTF-8 is variable width: ASCII characters take one byte, most European accented letters two, most CJK three, and emoji four. The per-character breakdown shows this, which is why a 280-character limit is not a 280-byte limit.
What is the difference between UTF-8 and UTF-16 here?
The byte sequence. UTF-16 encodes most characters in two bytes and emoji in four as a surrogate pair, and it has a byte order to worry about. The tool shows both endiannesses when you pick it.
Can it decode binary with any separator?
Yes, spaces, commas, newlines or nothing at all. For unseparated input it assumes eight bits per byte, which is what you want unless the source is unusual.
Why does my decoded text come out as nonsense?
Usually the wrong encoding. Bytes written as UTF-8 but read as ASCII lose everything above 127, and UTF-16 read as UTF-8 shows null characters between the letters. Switch the encoding and the same input decodes cleanly.
Is there a limit on how much text I can convert?
No fixed limit. Conversion is a pass over the characters, so a few megabytes is fine — the slow part is drawing a very long result on screen rather than producing it.
Is Text to Binary Converter really free, with no limits?
Yes. There is no account, no daily cap, no file-size tier and no watermark, because there is no server cost to recover. The site is funded by clearly disclosed partner recommendations on the Partners page, never by metering the tools.
Are my files or text uploaded when I use Text to Binary Converter?
No. Everything is processed by JavaScript running in your browser, on your device. You can verify it: open your browser's developer tools, switch to the Network tab, and use the tool. You will see no request carrying your data — because there is nowhere for it to go.