Binary (8-bit)
Each byte is shown as eight binary digits.
Convert text to binary, hexadecimal, decimal or octal codes, and convert codes back into readable text. UTF-8 aware, so accents, symbols and emoji work too.
See exactly which bytes make up your text. Everything is converted in your browser.
Computers store every character as numbers. Text is first turned into bytes using an encoding — today almost always UTF-8 — and each byte can be written in binary (base 2), hexadecimal (base 16), decimal or octal.
The letter A, for example, is the byte 65: 01000001 in binary, 41 in hexadecimal. This converter shows the byte values for any text, and turns byte values back into text.
Each byte is shown as eight binary digits.
Hex output with an optional 0x prefix.
Show byte values in base 10 or base 8.
Accents, symbols and emoji are converted using their real UTF-8 bytes.
Convert codes back into text, with clear errors for invalid values.
Conversion happens in your browser.
Text to code, or code to text.
Binary, hex, decimal or octal, and a separator.
The result appears as you type.
Copy it or swap input and output.
Quick answers about using the MoSanKit Text to Binary Converter.
Characters outside basic ASCII use more than one byte in UTF-8. An emoji usually takes four bytes, which is why it shows as four groups.
UTF-8. For plain English letters and digits the two are identical.
Switch to Code to Text, pick Binary and paste your bits. Groups can be separated by spaces or run together in 8-bit blocks.
Yes. Prefixes like 0x48 and separators such as spaces or commas are understood.
Each value must be a valid number in the chosen base and no larger than 255, and together they must form valid UTF-8 text.
No. Conversion happens in your browser.
Explore more free text tools from MoSanKit.