Skip to the calculator
Rule Calculator

Binary translator

“Hi” is 01001000 01101001 in binary — 72 and 105, one byte each. Anything outside ASCII takes more: an emoji is four bytes in UTF-8 and an accented letter two, which is why a character count and a byte count are different numbers and the page lists every byte underneath.

Type in either box. Text becomes binary, hex, octal or decimal, and any of those becomes text again. Every byte is listed underneath, so you can see that A is 01000001 rather than taking a result box on trust.

Accented letters and emoji come out as the bytes a file really holds: é is two bytes, 11000011 10101001, and 😀 is four. Most translators print one number for those and it is the code point, not the encoding — nothing on a disk stores é that way.

Encoding checked against RFC 3629 and the Unicode standard · How we check

13 bytes for 13 characters

Byte by byte

Byte by byte
CharBinaryDecHexOct
H010010007248110
e0110010110165145
l011011001086C154
l011011001086C154
o011011111116F157
,00101100442C054
space001000003220040
W010101118757127
o011011111116F157
r0111001011472162
l011011001086C154
d0110010010064144
!001000013321041

The bytes people look up most

The bytes people look up most
CharacterBinaryDecimalHex
A010000016541
B010000106642
C010000116743
a011000019761
b011000109862
c011000119963
0001100004830
1001100014931
space001000003220
!001000013321

A is 65 and a is 97: the gap is 32, one bit. Digits start at 48, so the character 0 is 00110000 and the number zero is 00000000 — the two are not the same byte, which is the single most common bug in code that reads numbers from text. The full ASCII table lists all 128.

Questions people actually ask

How do you convert text to binary?
Look up each character's number, then write that number in base two, padded to eight digits. A is 65, and 65 in binary is 1000001, which pads to 01000001. The padding matters: without a fixed width there is no way to tell where one character ends and the next begins.
Why is every byte eight digits?
Because a byte is eight bits, and eight bits hold 256 values — 0 to 255. Leading zeros are written so that a run of bytes can be split back apart. 01000001 01000010 is AB; 100000110000 10 is nothing at all.
Why does é give two bytes instead of one?
Because UTF-8 encodes anything above 127 in two to four bytes. é is code point 233, stored as C3 A9 — 11000011 10101001. Tools that answer 11101001 are printing the code point as if it were a byte, which is a number no file contains. The leading 110 and 10 patterns are how a decoder knows where a character starts.
What is the difference between ASCII and UTF-8?
ASCII defines 128 characters, one byte each, and stops. UTF-8 keeps those 128 identical and extends upwards, so every ASCII file is already valid UTF-8 while UTF-8 also covers accents, Cyrillic, Chinese and emoji. That backwards compatibility is why UTF-8 won: existing files needed no conversion.
Is binary the same as machine code?
No. Both are written in ones and zeros, which is where the confusion comes from. This translates characters to their stored bytes; machine code is the instruction set of a particular processor, where the same eight bits mean something different on ARM than on x86.
What does 01001000 01101001 say?
Hi. 01001000 is 72, which is H, and 01101001 is 105, which is i. Uppercase and lowercase differ by exactly one bit — bit six — so H is 01001000 and h is 01101000.

Cite this page

APA
Rule Calculator. (2026). Binary Translator. Rule Calculator. https://rulecalculators.com/binary-translator
MLA
"Binary Translator." Rule Calculator, August 16, 2026, https://rulecalculators.com/binary-translator.
Chicago
Rule Calculator. "Binary Translator." Rule Calculator. Last reviewed August 16, 2026. https://rulecalculators.com/binary-translator.

The date is when the figures on this page were last checked against their source, not the day you opened it. Add your own access date if your style needs one.

Sources

Related

Did this answer your question?