Home/Tools/Developer Tools/Binary Translator

Binary Translator (text ↔ binary, hex, decimal)

Developer Tools
Input
Output
Common phrases in binary
hi01101000 01101001
hello01101000 01100101 01101100 01101100 01101111
I love you01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101
yes01111001 01100101 01110011
no01101110 01101111
thank you01110100 01101000 01100001 01101110 01101011 00100000 01111001 01101111 01110101
happy birthday01101000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001
A00001010
a00001010
000000000
Printable ASCII table (32–126): character, decimal, hex, binary
space322000100000
!332100100001
"342200100010
#352300100011
$362400100100
%372500100101
&382600100110
'392700100111
(402800101000
)412900101001
*422A00101010
+432B00101011
,442C00101100
-452D00101101
.462E00101110
/472F00101111
0483000110000
1493100110001
2503200110010
3513300110011
4523400110100
5533500110101
6543600110110
7553700110111
8563800111000
9573900111001
:583A00111010
;593B00111011
<603C00111100
=613D00111101
>623E00111110
?633F00111111
@644001000000
A654101000001
B664201000010
C674301000011
D684401000100
E694501000101
F704601000110
G714701000111
H724801001000
I734901001001
J744A01001010
K754B01001011
L764C01001100
M774D01001101
N784E01001110
O794F01001111
P805001010000
Q815101010001
R825201010010
S835301010011
T845401010100
U855501010101
V865601010110
W875701010111
X885801011000
Y895901011001
Z905A01011010
[915B01011011
\925C01011100
]935D01011101
^945E01011110
_955F01011111
`966001100000
a976101100001
b986201100010
c996301100011
d1006401100100
e1016501100101
f1026601100110
g1036701100111
h1046801101000
i1056901101001
j1066A01101010
k1076B01101011
l1086C01101100
m1096D01101101
n1106E01101110
o1116F01101111
p1127001110000
q1137101110001
r1147201110010
s1157301110011
t1167401110100
u1177501110101
v1187601110110
w1197701110111
x1207801111000
y1217901111001
z1227A01111010
{1237B01111011
|1247C01111100
}1257D01111101
~1267E01111110

Processed in your browser. A copy of each run is saved to your past runs so you can reopen it. Privacy

What the Binary Translator does

The Binary Translator converts text to binary code and binary back to readable text, byte by byte. It detects what you pasted (text, binary, hex, decimal or octal) and shows every other representation at once, so one input answers 'what is this in binary' and 'what is this in hex'. It is for students learning number systems, developers checking bytes, and anyone decoding a message. It does not run or compile code.

How to use it

  1. 1Type a word or sentence, or paste binary such as 01001000 01101001, into the Input panel.
  2. 2Leave 'Input is' on automatic detection, or choose Text, Binary, Hex, Decimal or Octal to override it.
  3. 3Press Translate (or Cmd/Ctrl+Enter). Text becomes binary; binary, hex, decimal or octal becomes text.
  4. 4Read the hex, decimal, octal and Base64 views of the same bytes below, each with its own Copy button.
  5. 5Use Swap to feed the result back in and translate the other way.

Options explained

Input is (auto / text / binary / hex / decimal / octal)
Automatic detection reads all-0-and-1 tokens as binary, numbers up to 255 as decimal and two-digit hex tokens as hex. Override it when a message such as '10 11' is meant as binary rather than decimal, or when a string of digits is literally text.
Delimiter
Separator between bytes in the binary, hex, decimal and octal outputs. Space is the common teaching format; None gives a continuous bit string for copying into code; Custom lets you use commas or any other separator a program expects.
8-bit padding
On, every byte is written with eight digits (01000001). Off, leading zeros are dropped (1000001), which is how a calculator shows binary. Keep it on when the result will be read back as bytes.
Encoding: UTF-8 or 7-bit ASCII
UTF-8 encodes accented letters, symbols and emoji as two to four bytes each. 7-bit ASCII replaces anything above code 127 with a question mark and tells you how many characters were affected. Use ASCII for homework that assumes one byte per character.

Common problems and limits

Input is limited to 1 MB of text. Bit strings without separators must be a multiple of 8 digits long, otherwise the tool explains where the count is off instead of guessing.

A byte is 0–255. A token such as 300 or 100000000 is rejected with the offending value named. Octal input only works with the manual override because short digit strings are read as decimal first.

Bytes that are not valid UTF-8 text (for example raw image data) are shown as the replacement character � with a warning; the hex and decimal views still show the exact bytes, so nothing is lost.

Text is translated to the bytes of its encoding, not to the Unicode code point. A letter outside ASCII therefore gives 16 or 24 bits in UTF-8 mode; that is correct, and it is what a computer stores.

Who uses it

  • Students: Convert a name to binary for a computer science assignment and check the hand calculation against the decimal and hex columns.
  • Developers: Inspect the exact bytes of a string before it goes into a protocol field, or decode a binary dump a colleague pasted into a ticket.
  • Puzzle and CTF players: Decode binary, hex or decimal clues to text in one step, with Base64 ready for the next layer.
  • Teachers: Use the printable ASCII table and the common phrases list below the tool as a classroom reference.
  • Ecommerce and data teams: Check what a barcode or EDI system received when a file arrives with mojibake, by comparing bytes in hex.

Frequently asked

How do I say "hi" in binary code?

"hi" in binary is 01101000 01101001: h is ASCII 104 (01101000) and i is 105 (01101001). Capital "Hi" is 01001000 01101001, because uppercase letters are 32 lower in ASCII.

How do you solve or read binary code?

Group the digits into bytes of eight. Each byte is a number: add 128, 64, 32, 16, 8, 4, 2 and 1 for every position that holds a 1. Look the number up in the ASCII table (65 is A, 97 is a, 32 is a space). The tool does this when you paste the bits.

How do you write "I love you" in binary code?

01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101. Each group is one character, including the two spaces (00100000). Type the phrase above to see it with hex and decimal.

What does 01101100 mean?

01101100 is decimal 108, which is the lowercase letter l in ASCII and UTF-8. In hex it is 6C.

How do I convert from binary to decimal?

Multiply each digit by its place value (1, 2, 4, 8, 16… from the right) and add them up: 1011 is 8 + 0 + 2 + 1 = 11. Paste a binary number here and read the Decimal view, or set 'Input is' to Binary for strings that are not whole bytes.

What is 01100110 in decimal?

01100110 equals 64 + 32 + 4 + 2 = 102. In ASCII, 102 is the lowercase letter f; in hex it is 66.

What is 0.1 in binary?

Decimal 0.1 has no exact binary form; it is the repeating fraction 0.0001100110011… That is why 0.1 + 0.2 is 0.30000000000000004 in most programming languages. This tool works on whole bytes and text, not fractions.

Is binary the same as ASCII?

No. Binary is the base-2 number system. ASCII is a table that assigns numbers 0–127 to letters, digits and symbols, and UTF-8 extends it to all of Unicode. 'Text to binary' means: look up each character's number, then write that number in base 2.

Automation: an MCP tool translate_binary(input, direction, encoding) → output and an n8n node are planned for this tool.