Binary Code Translator

Character Count: 0 Word Count: 0 Line Count: 0
Settings
Type or paste binary on the left to convert...
Remove ads Buy me a
Bc

Binary Code Translator

This binary translator converts text to binary code and binary code back to readable text. Type or paste content in the left panel and the translation appears instantly on the right. By default each character is encoded as UTF-8 bytes, then each byte is shown as 8 binary digits. ASCII characters like the letter A become a single byte (01000001), while accented letters and emoji produce multiple bytes. The Encoding setting switches to 7-bit ASCII or 16-bit UTF-16, and the Separator setting writes the binary with or without spaces. Choose Binary to Text or Text to Binary above the panels to pick the direction. Copy the result with one click for use in programming projects, educational materials, or anywhere else you need to convert between text and binary.

How to Translate Between Text and Binary

  1. Choose Binary to Text or Text to Binary above the panels.
  2. Paste your binary code or text into the input field.
  3. The converted result appears automatically.
  4. Copy the result to your clipboard.

How do I convert text to binary code?

Choose Text to Binary, then type or paste your text in the left panel and the binary code appears on the right automatically. Each character is represented as 8 binary digits (one byte), with bytes separated by spaces for readability. To convert binary back to text, choose Binary to Text, then paste your binary code in the left panel. When decoding, each group separated by a space is read as one byte, so leading zeros are optional and 7-bit ASCII such as 1001000 1101001 decodes to "Hi". Binary with no spaces is read 8 digits at a time. You can copy or download the output with one click.

For example, "Binary Code Translator" in binary is:

01000010 01101001 01101110 01100001 01110010 01111001 00100000 01000011 01101111 01100100 01100101 00100000 01010100 01110010 01100001 01101110 01110011 01101100 01100001 01110100 01101111 01110010

What is binary code and how does it work?

Binary code is a base-2 number system that represents data using only two digits: 0 and 1. Every character you type on a keyboard has a corresponding numeric value defined by the ASCII standard, and that number can be expressed as a sequence of eight binary digits (bits). For example, the uppercase letter A has an ASCII value of 65, which translates to 01000001 in binary. Computers process all information in binary at the hardware level because electronic circuits operate in two states: on and off. This translator automates the conversion between human-readable text and its binary representation so you do not have to calculate each value by hand.

How do I convert English to binary?

To convert text to binary, enter your text in the left panel of this binary translator. Each character is encoded as one or more UTF-8 bytes, and each byte is expressed as an 8-digit binary number. For example, the letter "H" has the byte value 72, which becomes 01001000 in binary. ASCII characters (letters, numbers, punctuation) produce one byte each. Accented characters like "e" produce two bytes, and emoji produce three or four bytes.

Can I use this as a binary code generator?

Yes. Choose Text to Binary and type any text on the left side, and the binary code is generated on the right. The output uses UTF-8 encoding with space-separated bytes by default, which is the standard encoding for text on the web. ASCII characters produce the same output as traditional 8-bit binary tools. Set Separator to None for one unbroken string of digits. Choose Binary to Text to decode binary back to text. Copy or download the result directly from the output panel.

How do you say hi in binary?

"Hi" in binary is 01001000 01101001, and lowercase "hi" is 01101000 01101001. Each letter is converted on its own in three steps:

  1. Look up the letter's character code. H is 72 and i is 105.
  2. Write the code in base 2 by splitting it into powers of two: 72 is 64 + 8, and 105 is 64 + 32 + 8 + 1.
  3. Put a 1 in each place used and a 0 in the rest, for 8 places from 128 down to 1. 72 becomes 01001000 and 105 becomes 01101001.
CharacterDecimalBinary
H7201001000
i10501101001

What does 01101000 01101001 translate to?

01101000 01101001 translates to "hi" in lowercase. To decode binary by hand, add up the place values of each 1 in a byte, reading from 128 on the left to 1 on the right. 01101000 is 64 + 32 + 8 = 104, the code for h, and 01101001 is 64 + 32 + 8 + 1 = 105, the code for i. Uppercase letters start with 010 and lowercase letters with 011, so changing that third digit is all that separates "Hi" from "hi". Paste any binary into the Binary to Text tab to decode it.

What is the difference between UTF-8, ASCII and UTF-16 binary?

They are different ways of storing the same characters as numbers. ASCII covers 128 characters (English letters, digits and punctuation) and needs 7 bits each, so "Hi" is 1001000 1101001. UTF-8, the encoding used on the web, writes those same characters as one 8-bit byte each with a leading 0, and uses two to four bytes for anything else, such as é or an emoji. UTF-16 writes most characters as one 16-bit unit, so "Hi" is 0000000001001000 0000000001101001, and emoji as two.

Pick the encoding under Settings. Binary must be decoded with the encoding it was written in. ASCII has no code for characters outside English, so in ASCII mode they are written as a question mark (0111111).

What is the binary code for each letter?

The tables below list the 8-bit binary code and decimal value for every letter, digit and common symbol, as UTF-8 and 8-bit ASCII write them. Uppercase A to Z run from 01000001 (65) to 01011010 (90) and lowercase a to z from 01100001 (97) to 01111010 (122). The digits 0 to 9 are 00110000 to 00111001, so the last four bits of each digit are its value. A space is 00100000. Click or tap a code in the tables to copy it.

What is the difference between binary and other code formats?

Binary (base-2) uses only 0 and 1, making it the most fundamental computer code format. Hexadecimal (base-16) uses digits 0-9 and letters A-F, representing each byte as two characters instead of eight. Base64 encodes binary data as printable ASCII text, commonly used for embedding data in web pages and emails. All of these are different ways to represent the same underlying data. To convert between other formats, try the hex to text converter or the Base64 encoder/decoder.

UppercaseDecimalBinary
A65
B66
C67
D68
E69
F70
G71
H72
I73
J74
K75
L76
M77
N78
O79
P80
Q81
R82
S83
T84
U85
V86
W87
X88
Y89
Z90
LowercaseDecimalBinary
a97
b98
c99
d100
e101
f102
g103
h104
i105
j106
k107
l108
m109
n110
o111
p112
q113
r114
s115
t116
u117
v118
w119
x120
y121
z122
NumberDecimalBinary
048
149
250
351
452
553
654
755
856
957
SymbolDecimalBinary
Space32
!33
"34
#35
$36
%37
&38
'39
(40
)41
*42
+43
,44
-45
.46
/47
:58
;59
?63
@64

Last reviewed: October 2026