Skip to content
  1. ConvertSoon
  2. Text tools
  3. Binary

Binary translator

This binary translator converts text to binary code and decodes binary back to text. It is free, supports every language and emoji, and runs in your browser.

Runs in your browser Updates as you type Free, no signup

How to use the binary translator

  1. Choose the direction

    Pick Text to binary or Binary to text above the boxes.

  2. Type or paste your text

    The result appears on the right as you type. Nothing is uploaded.

  3. Copy the result

    Press Copy result, or Save to download it as a .txt file.

Examples

Real results from this tool.

You typeYou get
Hi01001000 01101001
A01000001
01001000 01100101 01111001 (decode)Hey

Binary to text

Choose Binary to text and paste the zeros and ones. Groups of eight digits (bytes) can be separated by spaces or written together; the page reads them eight at a time. Anything that is not 0 or 1 is ignored, so you can paste binary straight from a puzzle, a worksheet or a T-shirt.

Text to binary

Choose Text to binary and type. Every character becomes one or more bytes: H is 01001000 and i is 01101001, so Hi becomes 01001000 01101001. The text is encoded as UTF-8, the standard used on the web, so accented letters, Japanese, Arabic and emoji work too; they simply take two to four bytes each.

Binary decoder: how decoding works

Binary is base 2: each digit is worth double the one to its right (128, 64, 32, 16, 8, 4, 2, 1). Add up the values where there is a 1 and you get a number; 01000001 is 64 + 1 = 65, which is A in ASCII and UTF-8. Decoding binary is doing that for every byte, then reading the bytes as UTF-8 text. If the result looks like nonsense, check that no digit is missing, because one lost digit shifts every byte after it.

Binary decoding for other codes

If your code uses digits 0 to 9 and A to F, it is hexadecimal: use the hex decoder. If it is made of letters, digits, + and / ending in =, try Base64 decode. Numbers such as 72 105 are character codes for the ASCII converter.

Binary code for each letter

Capital letters start at 01000001 (A, 65) and lowercase at 01100001 (a, 97), exactly 32 apart, so changing one bit switches the case. The digits 0 to 9 run from 00110000 to 00111001 and a space is 00100000. Use the examples above to check your own decoding by hand.

Text to binary for lessons and gifts

Teachers use binary to show how computers store letters; students can encode their name and decode a friend's. Binary also makes a geeky gift message for bracelets, cards or engraving. Check the result by decoding it again before anything is printed.

Read the guideStep by step, with tips and answers

Related tools

More codes and ciphers and similar tools, all free.

Questions about the binary translator

A basic English letter is one byte, which is 8 bits. Letters from other alphabets and emoji take 2 to 4 bytes in UTF-8.

Usually a digit is missing or extra, so the bytes are out of step. Count the digits: the total should be a multiple of 8.

Yes. It is free with no signup, and your text stays in your browser.

It is Hi: 01001000 is H (72) and 01101001 is i (105).

The text is encoded as UTF-8. Basic English letters need one byte, while accented letters, other scripts and emoji need two to four.

No. The conversion runs in your browser, so the text never leaves your device and works offline once the page has loaded.