THE RIGHT TOOL FOR YOUR NEXT BYTE

Text to Binary Converter

See the bytes behind a message. Enter text, keep UTF-8 for a full range of writing systems, and copy the resulting binary into an exercise, test case, or note. Each displayed group represents one byte.

Runs locally
12 charactersText → bytes
Ready
12 bytesUTF-8
Tip: paste your input, choose an encoding, and hit convert.
Your data stays in your browser Free. No sign-up. Unicode & ASCII support
A CLOSER LOOK

The bits behind your text.

First 8 bytes
CHARACTERHellospacewo
BINARY0100100001100101011011000110110001101111001000000111011101101111
DECIMAL7210110810811132119111
HEX48656C6C6F20776F

Each column is one byte. UTF-8 characters outside ASCII can span several columns.

01 / EXPLAINED SIMPLY

Build a useful encoding example

Start with Hi to get 01001000 01101001. Then add a space, a punctuation mark, or an accented letter and compare the byte count. This gives you a small, controlled example for understanding exactly which part of the output changed.

Choose binary, hex, or decimal to display the encoded bytes. Save the encoding choice with any output you share, so the recipient knows how to decode it. Copying the binary text is different from creating a file containing those raw byte values.

02 / EXPLAINED SIMPLY

Predict the bytes, not just the characters

Plain ASCII characters take one byte in UTF-8. The letter é takes two, while 🙂 takes four. Some visible symbols consist of multiple code points, so a short message can occupy more bytes than its appearance suggests.

Use strict ASCII to check a format that permits only its 128 values. Unsupported characters produce an error. For number exercises, switch to number mode: encoding the text 42 gives 00110100 00110010, whereas converting the numeric value 42 to binary gives 101010.

GOOD QUESTIONS

Before you convert.

A few useful details for this tool.

Are spaces and line breaks included?

Yes. They are part of the text and produce bytes of their own. Remove unwanted whitespace from your input if it should not be part of the encoded message.

Can I decode the output back to the original text?

Yes, with the same encoding and complete, unchanged bytes. Use binary-to-text mode to check the result, especially after editing or copying a longer sequence.

Does this protect the message from being read?

No. Binary output is an encoding, not encryption. It is readable by anyone who decodes it. The conversion itself runs in your browser without uploading the message.