Word Mill · room 13

Text to Binary

Convert text to binary, hex or decimal bytes and back.

🔒 Processed in your browser · No upload · No sign-up

Convert text to binary, hex, decimal or octal

Each character is encoded as UTF-8 bytes, then every byte is written in the base you choose. ASCII letters take one byte (H = 01001000), while accented letters, Chinese characters and emoji take two to four bytes. Edit the right-hand box to decode bytes back into text.

What input does the decoder accept?

Bytes separated by spaces, commas or new lines, with or without 0b / 0x / 0o prefixes. Unseparated binary and hex also work (8 or 2 digits per byte).