Binary Translator

This binary translator turns text into 8-bit binary and binary back into text, and everything is calculated inside your browser.

0 Bytes (UTF-8)
0 Characters

What Is a Binary Translator?

A binary translator converts readable text into binary code, the zeros and ones that computers store, and converts binary back into text. Type Hi into this binary translator and you get 01001000 01101001. Paste those two groups into the Binary → Text direction and you get Hi again.

Binary is a number system with only two digits. Each digit is one bit, and eight bits make one byte. A byte can hold 256 different values (0 to 255), and a character set is simply an agreed list of which number stands for which character.

How to Use This Binary Translator

The binary translator works in both directions and updates while you type.

  1. Choose Text → Binary to encode, or Binary → Text to decode.
  2. Type or paste into the top box. The result appears below as you type.
  3. Use Copy result to copy it, or Swap to feed the result back in the opposite direction.
DirectionRule
Text → BinaryText is encoded as UTF-8. Every byte is padded to 8 bits, and bytes are separated by one space.
Binary → Text, with spacesThe input is split at the spaces. A group shorter than 8 bits is padded with zeros on the left.
Binary → Text, no spacesThe input is cut into groups of 8 bits, so the total length must be a multiple of 8.
Commas and line breaksTreated as spaces when you decode binary.

How to Translate Text to Binary by Hand

You can check any result from this binary translator with a pencil. Take the letter H.

  1. Look up its code. In ASCII and UTF-8, H is 72.
  2. Write the eight place values: 128, 64, 32, 16, 8, 4, 2, 1.
  3. Subtract the largest place value that fits: 72 − 64 = 8, so the 64 place gets a 1. Then 8 − 8 = 0, so the 8 place gets a 1.
  4. Every other place gets a 0. Reading left to right gives 01001000.

To go the other way, add the place values that hold a 1: 64 + 8 = 72, which is H. For a whole word, repeat this per letter. Hello is 01001000 01100101 01101100 01101100 01101111.

ASCII vs UTF-8 in a Binary Translator

ASCII defines 128 characters (codes 0 to 127): English letters, digits, punctuation and control codes. UTF-8 is the encoding the web uses for all of Unicode. It stores each character in one to four bytes, and the first 128 characters use exactly the same single byte as ASCII, so plain English text gives identical output in both.

Beyond ASCII, a character needs more than one byte, which is why the text-to-binary output gets longer for accents, Chinese characters and emoji:

CharacterBytesBinary (UTF-8)
A101000001
é211000011 10101001
中311100100 10111000 10101101
😀411110000 10011111 10011000 10000000

Notice the pattern in the multi-byte rows: the first byte starts with 110, 1110 or 11110 to say how many bytes belong to the character, and each following byte starts with 10. The full definition is in RFC 3629.

Binary Translator Error Messages

When the binary is not valid, this binary translator shows no text at all rather than a garbled guess, and it tells you what is wrong and where. It never silently drops a character.

InputMessage
01001000 01101001 0102Group 3 "0102" contains characters other than 0 and 1.
01001000 010010001Group 2 has 9 bits; each byte needs 8 or fewer.
46 digits with no spaces46 bits is not a multiple of 8. Add spaces between bytes or check for a missing digit.
11111111These bytes are not valid UTF-8, so no text is shown. Check for a missing or extra digit.

A prefix such as 0b counts as a character other than 0 and 1, so remove it before decoding. Binary that decodes to a few strange symbols usually means the original was saved in a different encoding, or that one digit was lost on the way.

Binary Code Reference for A–Z and 0–9

Use these tables to check what the binary translator gives you. Every value is the UTF-8 byte of the character, which equals its ASCII code.

Show the binary code table for capital letters and digits
CharBinaryCharBinaryCharBinaryCharBinary
A01000001B01000010C01000011D01000100
E01000101F01000110G01000111H01001000
I01001001J01001010K01001011L01001100
M01001101N01001110O01001111P01010000
Q01010001R01010010S01010011T01010100
U01010101V01010110W01010111X01011000
Y01011001Z01011010
CharBinaryCharBinaryCharBinaryCharBinary
000110000100110001200110010300110011
400110100500110101600110110700110111
800111000900111001

Lowercase letters have the same pattern with the third bit set: a is 01100001, while A is 01000001.

Is This Binary Translator Private?

Yes. The conversion runs in JavaScript on your own device. Nothing you type is uploaded, stored or logged by the binary translator, so it is safe for notes, passwords you are testing, or homework answers.

Frequently Asked Questions

How do I translate binary to English?

Choose Binary → Text and paste your binary. Each group of 8 bits is one byte, the bytes are decoded as UTF-8, and English letters come out as ordinary characters. For example 01001000 01101001 becomes Hi.

How do I translate text to binary code?

Choose Text → Binary and type your text. Each character becomes one or more 8-bit bytes in UTF-8, separated by spaces. Hello becomes 01001000 01100101 01101100 01101100 01101111.

Why does a letter have 8 digits and not fewer?

A byte is 8 bits, and computers store text one byte at a time. A is 65, which only needs 7 bits (1000001), so a leading 0 is added to fill the byte: 01000001.

Can I decode binary without spaces?

Yes, as long as the total number of digits is a multiple of 8. The tool then reads the digits 8 at a time. If the length is off, it reports the exact bit count so you can look for a missing digit.

Why do é, 中 and emoji give more than 8 digits?

UTF-8 stores characters outside ASCII in two to four bytes. é takes 2 bytes, 中 takes 3 and 😀 takes 4, so you see 16, 24 or 32 digits for one character.

Is my text uploaded anywhere?

No. Your binary code and text are decoded locally by JavaScript on this page, so the bytes you paste never leave your device.

Summary

This binary translator encodes any text as UTF-8 binary and decodes binary back to text, with clear messages when the input is wrong. For another kind of text-to-number conversion, try letters to numbers, or count what you have typed with the character counter.

Last updated: December 1, 2026.