# Text to Binary

> Convert text to binary, hex, octal or decimal bytes and back, UTF-8 safe. Runs entirely in your browser, so nothing is uploaded.

Source: https://toffeekit.com/tools/text-to-binary

**Category:** [Text](https://toffeekit.com/category/text) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/text-to-binary

**Also useful for:** text to binary, binary to text, binary translator, binary code, text to hex, ascii to binary, binary converter, 01 code

## What you can do

- **Text to binary** — Each character as 8-bit bytes, emoji included. ([open with this preset](https://toffeekit.com/tools/text-to-binary?preset=binary))
- **Binary to text** — Paste 0s and 1s, with or without spaces, and read the message. ([open with this preset](https://toffeekit.com/tools/text-to-binary?preset=decode))
- **Text to hex** — UTF-8 bytes as two-digit hexadecimal values. ([open with this preset](https://toffeekit.com/tools/text-to-binary?preset=hex))

## How it works

1. Choose Text → code to encode or Code → text to decode under Direction.
2. Pick Binary, Hex, Octal or Decimal under Base.
3. Type or paste into Input. When encoding, choose Space, None, Comma or New line under Between bytes.
4. Copy or Save the result, or click Swap to convert it back.

## FAQ

### How do you convert text to binary?

Each character is turned into bytes using UTF-8, then each byte is written as 8 binary digits. For example, H is 72, which is 01001000 in binary.

### How do I translate binary to text?

Paste the 0s and 1s and choose Code → text with Binary. Groups can be separated by spaces, commas or new lines, or run together in multiples of 8 digits.

### Why does an emoji become 32 bits?

UTF-8 uses one byte for basic Latin letters and two to four bytes for other characters. Most emoji need four bytes, so they become four groups of 8 bits.

### Is this ASCII or UTF-8?

UTF-8. For plain English letters, digits and punctuation the bytes are the same as ASCII, so the results match any ASCII binary table.

### Can it read 7-bit binary like 1001000?

Yes. Groups separated by spaces are read as numbers, so 1001000 is still read as H. Only long runs without spaces are split into 8-digit bytes.

### Is Text to Binary free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Text to Binary runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Word Counter](https://toffeekit.com/tools/word-counter) — Words, characters, sentences and reading time, live.
- [Case Converter](https://toffeekit.com/tools/case-converter) — UPPER, lower, Title, camelCase, snake_case and more.
- [Remove Duplicate Lines](https://toffeekit.com/tools/remove-duplicate-lines) — Keep only unique lines, in order.
- [Sort Lines](https://toffeekit.com/tools/sort-lines) — Sort A–Z, naturally, by length, or shuffle.
- [Text Cleaner](https://toffeekit.com/tools/text-cleaner) — Fix spaces, quotes, empty lines and stray HTML.
- [Find and Replace](https://toffeekit.com/tools/find-and-replace) — Replace words or regex patterns in bulk.

