Binary Code Translator

Paste any binary string — spaced, continuous or messy — and decode it instantly, or type text to convert it into binary.

  • Instant conversion
  • Works with emoji and Unicode
  • Private — processed in your browser
Result
Waiting for input — conversion happens instantly in your browser.
Advanced settings

Popular Binary Examples

One click loads the example into the binary code translator above, so you can see exactly how each message becomes binary code.

Binary Inspector

Convert something with the binary code translator above, then open the inspector and click any character of your result to see its code point, UTF-8 bytes, hex and binary form.

Example — the emoji 👋 inspected:

Character👋
UTF-8 bytes4
HexF0 9F 91 8B
Binary11110000 10011111 10010001 10001011

Common Binary Input Errors and How to Fix Them

Messy binary pasted from chats, code or logs usually fails for one of these reasons. The binary code translator’s Error Clinic detects each case, points at the exact group and offers a one-click fix.

Wrong bit count

01001000 01101001 1100001
                  └──────

This group has 7 bits. Text bytes normally contain 8 bits. Use Add leading zero to pad it, or Ignore incomplete group to drop it.

Illegal characters

Binary code only contains 0 and 1. A stray 2, letter or punctuation mark breaks the group it sits in — the Error Clinic highlights exactly which group and which character.

Binary number vs binary text

10101 is the number 21, not a character. Text needs complete 8-bit bytes, so the translator asks before interpreting ambiguous input instead of guessing.

Encoding confusion

Bytes above 127 are not ASCII — they are usually UTF-8 (Chinese, emoji, accented letters). If decoding fails, check the encoding under Advanced settings.

Interactive Binary Alphabet

Click any letter to see its binary code, decimal value and hex value (ASCII / UTF-8) — or browse the full alphabet in binary chart with all 62 characters.

Click a letter above — for example, A is 01000001 (decimal 65, hex 0x41).

Full Reference Table: A–Z, a–z, 0–9

Every letter and digit with its 8-bit binary code, decimal value and hex value (ASCII / UTF-8). Expand the table to browse it, or type a character or number to filter the rows.

Show the full table — A–Z, a–z and 0–9
CharacterBinaryDecimalHex
A01000001650x41
B01000010660x42
C01000011670x43
D01000100680x44
E01000101690x45
F01000110700x46
G01000111710x47
H01001000720x48
I01001001730x49
J01001010740x4A
K01001011750x4B
L01001100760x4C
M01001101770x4D
N01001110780x4E
O01001111790x4F
P01010000800x50
Q01010001810x51
R01010010820x52
S01010011830x53
T01010100840x54
U01010101850x55
V01010110860x56
W01010111870x57
X01011000880x58
Y01011001890x59
Z01011010900x5A
a01100001970x61
b01100010980x62
c01100011990x63
d011001001000x64
e011001011010x65
f011001101020x66
g011001111030x67
h011010001040x68
i011010011050x69
j011010101060x6A
k011010111070x6B
l011011001080x6C
m011011011090x6D
n011011101100x6E
o011011111110x6F
p011100001120x70
q011100011130x71
r011100101140x72
s011100111150x73
t011101001160x74
u011101011170x75
v011101101180x76
w011101111190x77
x011110001200x78
y011110011210x79
z011110101220x7A
000110000480x30
100110001490x31
200110010500x32
300110011510x33
400110100520x34
500110101530x35
600110110540x36
700110111550x37
800111000560x38
900111001570x39

How to Convert Binary to Text by Hand

Every byte is eight bits, each bit position is a power of two, and ASCII maps the resulting number to a character — that is all hand conversion takes. A binary translator does it instantly, but knowing the steps makes the output of the binary code translator above make sense: our four-step walkthrough decodes 01001000 01101001 with nothing but a pencil and a powers-of-two table.

Read the full tutorial: How to Convert Binary to Text by Hand

New to binary entirely? Start with our step-by-step guide: How to Read Binary Code — place values, bytes, and how to tell text from numbers.

We Tested the Messiest Binary We Could Find

We pasted binary into this binary code translator the way people really copy it — from chat threads, log files and source code — and six messy formats caused nearly every failure: missing spaces, commas, “0b” prefixes, 7-bit groups, the letter O typed as a zero, and UTF-8 data in ASCII mode. Each paste still works, because this binary code converter cleans, reports and pinpoints instead of guessing. And when the binary is trapped in a screenshot instead of a paste, our binary from image tool reads it with local OCR.

See all six real cases and how the Error Clinic handles them

How Binary Translation Works

  1. Every character has a Unicode code point

    The letter H is code point U+0048 (decimal 72), 你 is U+4F60, and 👋 is U+1F44B. This number is the character’s universal ID in the Unicode standard.

  2. The encoding turns code points into bytes

    UTF-8 stores basic English in 1 byte, Chinese in 3 bytes and most emoji in 4 bytes. That is why Hi becomes 2 bytes while 👋 becomes 4.

  3. Each byte is shown as 8 binary digits

    Every byte is a number from 0 to 255, written as eight 0s and 1s. Byte 72 is 01001000 — the binary code for H.

Which Encoding Does This Translator Use?

This binary code translator supports four encodings. UTF-8 covers almost everything pasted from chats and websites; the other three exist for homework, legacy systems and debugging. The same binary code translator engine also powers every focused converter on the Tools page, and the UTF-8-versus-ASCII trade-offs get a full side-by-side in UTF-8 vs ASCII compared.

UTF-8 — the default

UTF-8 handles English, Chinese, emoji and every other Unicode character. Unless you know you need something else, this is the right choice and matches what most apps and websites use.

ASCII — basic English

ASCII covers only English letters, digits and common symbols (code points 0–127). It is ideal for homework and classic ASCII tables, but it cannot represent Chinese or emoji.

UTF-16 — advanced

UTF-16 uses at least 2 bytes per character and appears mostly inside Windows, Java and JavaScript internals. It lives under Advanced settings because it is rarely what a pasted binary message uses.

Related Converters

The same engine, focused on one direction each.

View all tools from the binary code translator toolkit →

Recently Added to the Binary Code Translator

The binary code translator keeps growing — latest pages, newest first:

Frequently Asked Questions

How do I say “hi” in binary?

“Hi” in binary code is 01001000 01101001. The capital H is byte 01001000 (decimal 72) and the lowercase i is 01101001 (decimal 73) in both ASCII and UTF-8.

How do I say “I love you” in binary?

“I love you” in binary code is 01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101 — one 8-bit byte per character, including the spaces (00100000). See the full i love you in binary breakdown, with fun variants to send.

What does 10101 mean in binary code?

10101 is not a complete 8-bit text byte, so it does not translate to a character. Read as a binary number it equals decimal 21. If it was meant to be text, it is missing bits — a full byte would be 00010101. The full walkthrough is in what 10101 means in binary.

How can I decode binary code?

Paste the binary into the binary code translator above. It auto-detects the direction, cleans spaces, commas, line breaks and 0b prefixes, groups the bits into 8-bit bytes and shows the text instantly — all in your browser.

Can binary represent emojis?

Yes. With UTF-8 encoding every emoji becomes 2 to 4 bytes of binary. For example the waving hand 👋 is 4 bytes — hex F0 9F 91 8B — which is 11110000 10011111 10010001 10001011 in binary.

Why does my binary not convert to text?

The most common reasons: the bit count is not a multiple of 8 (a missing or extra bit), the input contains characters other than 0 and 1, or the data was encoded with a different encoding than the one selected. The Error Clinic above pinpoints the exact group that is broken and offers one-click fixes.

Is my input processed or stored online?

No. All conversion runs locally in your browser with JavaScript. Nothing you paste or type is uploaded to a server, logged or stored anywhere.

What is the difference between binary and hexadecimal?

Both are ways to write the same numbers. Binary is base 2 (digits 0 and 1); hexadecimal is base 16 (digits 0–9 and A–F). Because 16 is 2 to the power of 4, one hex digit always stands for exactly four bits — so the byte 01001000 is written 48 in hex. Computers store binary; programmers use hex as compact shorthand for it.

Why does my binary decode to gibberish?

The usual causes: the data was encoded with a different encoding than the one selected (UTF-16 instead of UTF-8), a bit was lost or flipped when the text was copied, or the input is not text at all — images and compressed files are binary too, but they never decode to readable characters. Check the encoding under Advanced settings, then let the Error Clinic highlight the broken group.

Can binary represent negative numbers?

Yes — for arithmetic, schemes like two’s complement reserve the leading bit as a sign. But that applies to numbers, not text: the bytes behind text are unsigned values from 0 to 255 that the encoding maps to characters. If your binary is meant to be a message, you never need to think about signs.

How do I translate binary to English?

Paste the 0s and 1s into the binary code translator above — it detects the direction and decodes the bytes into English text instantly. Translating binary to English is just decoding each 8-bit byte with ASCII/UTF-8 and reading the characters; for a dedicated page with the same engine, use the binary to text converter.

What does 01001 mean in binary code?

As a number, 01001 is 9 (8 + 1 — the leading zero changes nothing). As text it is not a complete byte: text needs 8-bit groups, so five bits cannot be a character. The longer cousin 10101 (21) gets the same answer — see what 10101 means in binary.

Privacy and Accuracy

Private by design. Every conversion in this binary code translator runs entirely in your browser. Your input is never sent over the network, never logged and never stored — you can disconnect from the internet and the translator keeps working.

Accurate by rule. The translator never guesses. Incomplete bytes are reported with their exact position instead of being silently turned into wrong characters, and ambiguous input such as 10101 is always confirmed with you first. The status line below the result states which encoding was used, so you always know why the result is trustworthy.