OpenReplay Logo
12k
12k

Text to binary converter

Convert text to binary in ASCII or UTF-8 — with 8-bit grouping and your choice of separator. Live and private, in your browser.

Encoding
Separator
Processed locally

About this tool

Text-to-binary encoding turns each character into the bits a computer stores for it. Using a character encoding, every character maps to a numeric code which is then written in base-2 — the letter A (code 65) becomes 01000001.

Type or paste text and the binary updates as you type. Choose UTF-8 to encode any character as one or more bytes, or ASCII for the basic set; pick a separator (space or none) and keep the standard 8-bit grouping. Copy the result with one click, or jump to the reverse converter to decode binary back to text.

Encoding happens locally — the text you paste never leaves your browser.

Frequently asked questions

Why is each character eight bits?

A byte is eight bits, and ASCII plus single-byte UTF-8 characters fit in one byte, so each is shown as eight 0s and 1s. UTF-8 characters outside that range use several bytes, each shown as its own 8-bit group.

What does the separator option do?

It controls what goes between bytes in the output — a space for readability, or nothing for a continuous stream. It doesn't change the bits themselves.

Can I decode binary back to text?

Yes — the binary to text converter reverses the process and tolerates spaces, grouping and stray whitespace.