Binary Translator

Free binary translator: convert text to binary or binary to text, UTF-8 (emoji and accented letters both work correctly), with hex and decimal byte values shown too.

6 characters, 6 UTF-8 bytes.

BinaryHexDecimal
010010004872
0110010165101
011011006c108
011011006c108
011011116f111
001000012133

Runs entirely in your browser — nothing you type is uploaded. Only the separator option is saved locally.

How binary text encoding works

Computers store text as bytes, and this tool uses UTF-8, the encoding used by virtually all modern software and the web. Each byte is 8 bits, so every character becomes one or more groups of 8 zeros and ones. Plain ASCII characters (English letters, digits, basic punctuation) are always exactly 1 byte; accented letters, most non-Latin scripts and emoji take 2-4 bytes.

Binary code for "hello"

CharacterBinaryHexDecimal
h0110100068104
e0110010165101
l011011006c108
l011011006c108
o011011116f111

Joined together: 01101000 01100101 01101100 01101100 01101111

Emoji and accented letters: why one byte isn't enough

UTF-8 uses more than 1 byte for any code point above 127, which includes every emoji and most accented/non-English letters. 😀 (U+1F600) is 4 bytes: f0 9f 98 80 in hex. A translator built around "1 character = 1 byte" would either fail on these or silently corrupt them -- this tool's engine is byte-based throughout, so it doesn't.

Binary alphabet: A–Z, a–z, 0–9

The ASCII/UTF-8 byte value of every letter and digit, in binary, hex and decimal:

CharacterBinaryHexDecimal
A010000014165
B010000104266
C010000114367
D010001004468
E010001014569
F010001104670
G010001114771
H010010004872
I010010014973
J010010104a74
K010010114b75
L010011004c76
M010011014d77
N010011104e78
O010011114f79
P010100005080
Q010100015181
R010100105282
S010100115383
T010101005484
U010101015585
V010101105686
W010101115787
X010110005888
Y010110015989
Z010110105a90
a011000016197
b011000106298
c011000116399
d0110010064100
e0110010165101
f0110011066102
g0110011167103
h0110100068104
i0110100169105
j011010106a106
k011010116b107
l011011006c108
m011011016d109
n011011106e110
o011011116f111
p0111000070112
q0111000171113
r0111001072114
s0111001173115
t0111010074116
u0111010175117
v0111011076118
w0111011177119
x0111100078120
y0111100179121
z011110107a122
0001100003048
1001100013149
2001100103250
3001100113351
4001101003452
5001101013553
6001101103654
7001101113755
8001110003856
9001110013957

Number-base converters (binary as a number, not text)

This page translates human-readable text to and from binary bytes. To convert a plain number between bases instead (binary, decimal, hexadecimal), see binary to decimal, decimal to binary, hex to decimal and decimal to hex.

Frequently asked questions

How does text-to-binary translation work?

Every character in a text file is stored as one or more bytes using an encoding -- this tool uses UTF-8, the standard for the modern web and virtually all software. Each byte is 8 bits, so it's written as 8 digits of 0s and 1s. "h" is byte 104, which in binary is 01101000; "hello" is five bytes: 01101000 01100101 01101100 01101100 01101111.

What is the binary code for "hello"?

01101000 01100101 01101100 01101100 01101111 -- each group of 8 bits is one letter's byte value: h=104, e=101, l=108, l=108, o=111 (decimal), or 68 65 6c 6c 6f in hex. Try it above with any word.

Do emoji and accented letters work?

Yes. This tool encodes UTF-8 bytes, not one byte per visible character, so anything outside plain ASCII (0-127) becomes more than one byte: an emoji like 😀 is 4 bytes (f0 9f 98 80 in hex), and an accented letter like é is 2 bytes. A translator that only handles one byte per character would corrupt these.

Why does my binary not convert back to the right text?

Two common causes: (1) the bit count isn't a multiple of 8 -- every byte needs exactly 8 bits, so a stray extra or missing digit throws everything off after that point; (2) the bytes don't form valid UTF-8 -- if you hand-typed or edited binary, a wrong bit can produce a byte sequence that no valid UTF-8 character uses, which this tool flags rather than silently showing garbled or replacement characters.

Can I paste binary with spaces, line breaks, commas or "0b" prefixes?

Yes -- "Binary → Text" mode strips whitespace (including line breaks), commas, and a "0b"/"0B" prefix before each byte automatically. 0b01001000 0b01001001 and 0100100001001001 both decode to the same text.

What is a "binary code translator"?

Another name for the same tool: something that converts human-readable text into its binary (base-2) representation and back. "Binary translator", "binary code translator" and "text to binary converter" all refer to the same operation -- turning each character's byte value into 0s and 1s (or the reverse).

What is the "binary alphabet"?

Not a separate alphabet -- it's the standard ASCII/UTF-8 byte value of each letter and digit, written in binary instead of decimal. A-Z are decimal 65-90 (binary 01000001 through 01011010), a-z are 97-122, and 0-9 are 48-57 -- the full table is below.

How is this different from a number-base binary converter?

This page converts human-readable TEXT to and from its byte-level binary representation (one or more 8-bit bytes per character, per UTF-8). If you instead want to convert a plain NUMBER between binary, decimal and hexadecimal (e.g. binary 1010 = decimal 10), use the dedicated converters: hex to decimal, decimal to hex, binary to decimal, and decimal to binary.

Is my text or binary uploaded anywhere?

No -- everything runs in your browser using the built-in TextEncoder/TextDecoder APIs. Nothing you type is sent to a server, logged, or saved; only your separator display preference is kept in your browser's local storage.

This calculator gives estimates for your own records. It is not legal, tax or payroll advice. Spotted a wrong result? Tell us. Last reviewed .