✍️ Text & Writing

Binary Translator

Turn words into 0s and 1s — and decode binary back into text.

  • UTF-8all languages & emoji
  • Hex + decimalviews
  • Both waystext ⇄ binary
  • Byte countshown
Hex—
Decimal bytes—
Bytes—

How to use the Binary Translator

  1. 1

    Type text

    In the left box.

  2. 2

    Read the binary

    8 bits per byte, separated by spaces.

  3. 3

    Or paste binary

    In the right box to decode it — spaces optional.

  4. 4

    Check hex and decimal

    Shown below with the byte count.

Features

Text to binary

Every byte as 8 bits.

Binary to text

Long strings are split into bytes automatically.

UTF-8

Hindi, symbols like ₹ and emoji are supported.

Hex and decimal

Extra views for programming.

Error warnings

Odd bit counts or invalid UTF-8 are flagged.

Private

Your text stays in your browser — nothing is uploaded or stored online.

Who uses it — and for what

Computer science

Homework on encoding.

Puzzles

Escape rooms and secret messages.

Developers

Debug byte-level data.

Gifts

Binary messages on cards or bracelets.

How text becomes binary

Computers store text as numbers. Each character is encoded in UTF-8: basic English letters, digits and punctuation take one byte (the same values as ASCII), while accented letters, Hindi, Chinese and emoji take two to four bytes. Each byte is written as 8 binary digits. For example “H” is 72, which is 01001000, and “i” is 105, or 01101001.

Decoding binary

Paste binary in the right-hand box with bytes separated by spaces, or as one long string — it is split into groups of 8 automatically. Invalid characters are ignored, and the status line warns you if the bits don’t divide evenly into bytes or the bytes are not valid UTF-8. The hex and decimal views help with programming, networking and computer-science homework. Binary messages are also a popular puzzle in escape rooms and geocaching.

Reading binary by hand

Each of the 8 positions in a byte has a value: 128, 64, 32, 16, 8, 4, 2, 1. Add the values where there is a 1. For 01001110: 64 + 8 + 4 + 2 = 78, the letter “N”. Capital letters run from 65 (A) to 90 (Z), and lowercase letters are exactly 32 higher — which is why only one bit differs between “A” and “a”.

Why a binary puzzle will not decode

  • 7-bit groups: older puzzles and some textbooks write ASCII with 7 bits, such as 1001000 1101001 for “Hi”. This tool expects 8 bits per byte, so it reads those 14 bits as one wrong byte plus 6 leftovers. Add a 0 to the front of each group (01001000 01101001) and it decodes.
  • A slipped bit: as in the example above, one missing or extra digit shifts every later byte. Check the length of each group — every group must be exactly 8 digits.
  • Letters instead of digits: anything that is not 0 or 1 is ignored, so a capital O typed instead of a zero simply disappears and shifts the bits. Look for O, o, l and I in hand-typed binary.
  • Bits written backwards: some puzzles put the lowest bit first. If the output is gibberish but the groups are all 8 digits long, try reversing each group with the Text Reverser.
  • It is a number, not text: 101010 might simply mean 42. For numbers, use the Number Base Converter.

The bit patterns inside UTF-8

In binary the structure of UTF-8 is easy to see, because the first few bits of every byte are a label:

PatternMeaningPayload bits
0xxxxxxxa complete one-byte character (ASCII)7
110xxxxxstart of a two-byte character5
1110xxxxstart of a three-byte character (₹, Hindi)4
11110xxxstart of a four-byte character (emoji)3
10xxxxxxcontinuation byte6

A run of bytes that all begin with 0 is plain English; a group starting 1110 followed by two 10 groups is one Indian-script letter or symbol. If the tool says the bytes are not valid UTF-8, look for a continuation byte with no starter, or a starter that is missing its continuations. The hex and decimal boxes show only the first 64 bytes, but the conversion itself covers the whole text.

Worked examples

“Namaste” in binary

01001110 01100001 01101101 01100001 01110011 01110100 01100101 — 7 bytes. Hex 4E 61 6D 61 73 74 65; decimal 78 97 109 97 115 116 101.

The rupee sign ₹

One symbol but 3 bytes in UTF-8: 11100010 10000010 10111001.

One missing bit garbles the rest

“Hi!N” is 01001000 01101001 00100001 01001110. Drop a single bit from the second group and paste 01001000 0110100 00100001 01001110: the tool removes the spaces, re-cuts the bits into groups of 8 and returns “HhB” with a warning that 7 extra bits were ignored. Only the first byte survives; everything after the slip is shifted by one place.

Decoding é by hand

“é” is 11000011 10101001. The first byte starts with 110, which means “a two-byte character”; the second starts with 10, meaning “continuation”. Strip those markers and join what is left: 00011 + 101001 = 233, which is U+00E9, é.

Pro tips

  • Look up character codes in the ASCII Table.
  • Convert single numbers between bases with the Number Base Converter.
  • Internet speeds are quoted in bits: divide megabits per second by 8 to get megabytes per second, so 100 Mbps is about 12.5 MB/s.
  • Binary for a gift card or bracelet? Keep it short — every letter costs 8 digits, so a 10-letter name is 80 digits plus spaces.

Glossary

Bit
A single 0 or 1.
Byte
8 bits — 256 possible values.
UTF-8
The encoding that stores every character in 1 to 4 bytes.
Most significant bit
The leftmost bit of a byte, worth 128.
Leading zero
A 0 at the front of a group that keeps it 8 digits long without changing its value.
Payload bits
The bits in a UTF-8 byte that carry the character’s number, after the label bits.

Frequently asked questions

What is “hello” in binary?

01101000 01100101 01101100 01101100 01101111.

Does it support emoji?

Yes. Emoji are encoded as 4 UTF-8 bytes each.

Is binary the same as ASCII?

For basic English characters UTF-8 and ASCII give the same bytes.

Why does one emoji make four bytes?

UTF-8 needs four bytes for characters outside the basic range.

Can I decode 7-bit ASCII binary?

Not directly. Add a 0 to the front of each 7-digit group so every byte is 8 bits, then paste it.

Why are the hex and decimal views cut off?

They show the first 64 bytes followed by an ellipsis to keep the page tidy. The text and binary boxes always contain everything.

Does it turn 1010 into the number 10?

No. It treats binary as text bytes. Use the Number Base Converter to convert numbers between binary and decimal.

Found it useful? Share the Binary Translator:

Last updated 2026-11-21 · Built by Vinayak Agarwal · Part of Text & Writing (36 tools)