Skip to content
Tejo Tools
Menu
Text toolsProcessed on your device

Binary translator

Turn text into binary bytes, or binary back into text, as you type. Your text is processed on your device.

0 characters · 0 lines
Mode

For encoding.

Result

Your result will appear here.

0 characters · 0 lines

What it does

The binary translator shows the bytes your text is stored as, written in binary, or reads binary back as text:

How to use it

  1. Choose Text to binary or Binary to text, then type or paste into “Your text”. Select “Try a sample” to see an example.
  2. The result appears next to your text and updates as you type.
  3. Select Swap to move the result into “Your text” and switch the mode, for example to check that your binary reads back as your text.
  4. Select Copy to put the result on your clipboard.

Options

Good to know

Limits

Your text can be up to 100,000 characters long.

Privacy

Your text is processed on your device: the translating runs in your browser, and nothing you type or paste is uploaded. Only your choices for the mode and Space between bytes are kept in your browser for next time.

Advertisements

Frequently asked questions

What are bits and bytes?

A bit is a single binary digit, 0 or 1. A byte is 8 bits, which can hold 256 different values, from 00000000 to 11111111. Computers store text as bytes, and this tool shows each byte as its 8 bits.

Why does an emoji take 4 bytes?

The text is stored as UTF-8, which uses 1 byte for the letters, digits and punctuation of plain English, 2 bytes for most accented letters such as é, 3 bytes for most other scripts, and 4 bytes for emoji. So 👋 becomes 32 digits.

What is UTF-8?

The way almost every web page and app stores text as bytes. Each character has a number, and UTF-8 writes that number in 1 to 4 bytes. Reading binary back as UTF-8 gives the same characters, in any language.

Do I need spaces between the bytes?

No. When you read binary, spaces and line breaks are optional: a group of up to 8 digits is one byte, and a longer group whose length is a multiple of 8 is read 8 digits at a time. Turn off Space between bytes to write the digits without spaces.

Is my text uploaded?

No. Your text is processed on your device by your browser and is never sent to a server. Only the mode and the spacing you chose are remembered for your next visit.

Advertisements