Free & private
Bytes

Text to binary and back

Turn text into the ones and zeros a computer actually stores, with eight bits per byte, and convert binary back into readable characters.

Reversible100% FreeNo upload
Binary
Bytes · reversible · UTF-8
try
Input0 chars · 0 bytes
Output0 chars · 0 bytes
UTF-8 · ready⌘⏎ copy⌘⇧S swap● local

What binary encoding means here

Everything in a computer is stored as bits — ones and zeros. A single byte holds eight of them and can represent a value from 0 to 255. This tool writes each byte of your text as its 8-bit binary pattern, so the capital A (byte value 65) becomes 01000001. It is the most literal view of your data there is.

How to use this tool

  1. Enter text and Encode to see the binary, grouped into 8-bit bytes.
  2. Paste binary and Decode to read it back; any characters that are not 0 or 1 are ignored, so spaces between bytes are fine.
  3. Use the Separator option to space the bytes out or run them together.

Reading binary by hand

Each position in a byte is a power of two, from 128 on the left down to 1 on the right. Add up the positions that hold a 1 and you get the byte value; look that value up in the ASCII table and you get the character. It is a useful exercise for understanding why a byte maxes out at 255 and why text and numbers are, underneath, the same thing.

UTF-8 and multi-byte characters

Text is converted to UTF-8 first, so plain English is one byte per character but accented letters and emoji span several bytes — each shown as its own 8-bit group. Decoding stitches those bytes back together into the original characters.

Examples

InputHi
Output01001000 01101001

Frequently asked questions

How do I convert text to binary?
Type your text and keep the mode on Encode. Each UTF-8 byte is shown as an 8-bit binary number, optionally separated by spaces.
Can I decode binary back to text?
Yes. Paste 8-bit binary (spaces are ignored) and switch to Decode. The total number of bits must be a multiple of eight.
Why does one emoji become several bytes of binary?
Emoji and many non-Latin characters are stored as multiple UTF-8 bytes, and each byte is eight bits, so they produce several binary groups.
Does this upload my text?
No, the conversion is entirely local to your browser.

Related tools

Every tool on encoder.website converts your text and hands the result straight back — it is never stored. Pick another tool from the sidebar any time.