TTKTheTextKit

Text to Binary Translator

Type any text to see it as binary, hexadecimal, decimal, or octal, or paste values to decode them back into readable text. The translator works on UTF-8 bytes, so it handles plain ASCII, accented letters, and emoji, and it explains what is wrong when a value cannot be decoded.

"Hi" in binary is 01001000 01101001.

Related Tools

[5 suggestions]

Guides for the Text to Binary Translator

About the Text to Binary Translator

The Text to Binary Translator converts text to numeric codes and back by working on its UTF-8 bytes. Each ASCII character is a single byte, so "Hello" becomes 01001000 01100101 01101100 01101100 01101111 in binary, 48 65 6C 6C 6F in hexadecimal, 72 101 108 108 111 in decimal, and 110 145 154 154 157 in octal. Binary is padded to eight bits per byte, hexadecimal to two digits, and octal to three. Characters outside ASCII use several bytes, for example the letter e with an acute accent is two bytes (C3 A9 in hexadecimal) and a typical emoji is four, while emoji built from several parts take more. To decode, paste values separated by spaces or commas. Hexadecimal values may include a 0x prefix, and unspaced binary or hexadecimal is read in groups of eight bits or two digits. If a value is not valid for the chosen number system or is larger than one byte, the tool names the offending value instead of guessing. The conversion happens entirely in your browser and your text is never sent anywhere.

What is "Hello" in binary?▾

Hello in binary is 01001000 01100101 01101100 01101100 01101111. Each letter is one byte written as eight binary digits.

Why does one character sometimes produce several bytes?▾

The tool uses UTF-8, where plain English letters take one byte and accented letters take two. Symbols like the euro sign take three, many emoji take four, and emoji made of several parts take even more.

Can I convert binary back to text?▾

Yes. Switch the direction, choose the number system, and paste your values separated by spaces or commas. Unspaced binary is read in groups of eight bits.