tool hub Tool Hub

Binary Converter

Binary Converter — runs in your browser. Inputs are not stored.

Runs in your browser No sign-up Free to use


Text ↔ Binary

Converts UTF-8 bytes to 8-bit binary strings. Input is not sent to the server.

How to use

  1. Put a normal sentence or space-separated bit string in Input.
  2. Text → binary emits each UTF-8 byte as 8 digits of 0/1, separated by spaces.
  3. Binary → text allows only 0 and 1 per token, up to 8 bits. Shorter tokens are read as values with leading zeros omitted.
  4. Other characters or tokens of 9+ bits produce a format-error notice.
  5. Reset clears the fields. Decode uses UTF-8 TextDecoder. Nothing is sent to a server.
  6. To view integer 255 in binary, use the number-base converter, not this screen. This is a text-byte dump. Keep a space between bytes.

Key concepts

Text ↔ binary turns letters into UTF-8 bytes, then shows each byte as an 8-bit 0/1 string. It fits computer-architecture classes, simple protocol notes, and homework dumps. An English letter is usually one 8-bit chunk; a Hangul syllable is three bytes, so three tokens. Output is always padded to 8 digits with leading zeros.

Decode splits on spaces, reads each token as a binary integer, builds a byte array, then restores UTF-8. Characters other than 0 and 1, or tokens of nine or more digits, are rejected. A continuous bit string with no spaces is one token and hits the length limit. Break between bytes. Input stays in the browser and is not uploaded.

Example

A is 01000001. Hi is 01001000 01101001. Binary → text on that bit string returns Hi. Hangul is three bytes, so 24 bits as three space-separated tokens. A 7-bit form like 1000001 still decodes, but matching 8 digits is less confusing for round trips. When pasting a class dump, spaces between bytes make or break success.

Related: text ↔ hex · number-base conversion · text → decimal

Frequently asked questions

How many bits when converting text to binary?

Output is 8 bits per byte. You get space-separated tokens for UTF-8 bytes, not character count. A Hangul syllable is usually three tokens.

Are binary tokens other than 8 bits allowed?

1–8 digits of 0/1 are allowed and parsed as integers. 9+ digits is an error. For round trips, pad to 8 digits.

Why does Hangul break in the binary converter?

Wrong bit boundaries or a non-UTF-8 dump can fail decode or show replacement characters. Check bytes first with the hex tool.

What if I paste without spaces?

It is treated as one token and rejected if it exceeds 8 bits. Put a space between bytes, as in class dumps.

Does it handle signed two’s-complement integers?

No. It only covers UTF-8 text-byte representation. For integer bases such as 255↔11111111, use the number-base converter.

Is binary conversion input sent to a server?

No. Encode and decode use only the browser TextEncoder/Decoder.

Binary Converter cover image
Your input is not sent to the server and disappears when you close the page.

Last reviewed: 2026-09-04