Encoding
Convert text to binary
Binary Encode writes your text as bytes in base two, eight digits per byte, separated by single spaces: hi becomes 01101000 01101001. Students translating words into binary and developers checking the byte values behind a string use it to see what the text is made of. The text is converted to UTF-8 first, so ASCII text matches any standard binary code table, and a character outside ASCII becomes two to four groups.
How to use Binary Encode
- Open Binary Encode in the Toolbox101 app.
- Type or paste the text you want translated into the
Inputbox;hiis a quick test. - Read the result in the
Outputbox: one 8-digit group per byte, such as01101000, separated by spaces. - Click
Copyto put the whole binary string on your clipboard.
Worked example
Binary Encode returns the output below for this input.
Input
hiOutput
01101000 01101001Check it yourself: open Binary Encode and enter the same input.
Frequently asked questions
What binary code does each letter get?
Each character maps to its numeric code, written in base two and padded to eight digits. 'A' is code 65, which is 01000001; 'h' is code 104, or 01101000. Letters you type come out as the same bytes any ASCII binary table prints.
Why are the groups always eight digits long?
Eight bits make one byte, the unit one ASCII character occupies, and the 8-digit form is what ASCII tables and textbooks print. Fixed-width groups keep the output readable and let the Binary Decode tool read it back unambiguously.
Does it handle Unicode, accents, or emoji?
Yes. The text is converted to UTF-8 first, so a character outside ASCII becomes two to four bytes, each shown as its own 8-digit group: é is 11000011 10101001 and an emoji takes four groups. That matches other UTF-8 binary translators, and Binary Decode reads it back.
How is binary encoding different from hex or Base64?
All three represent the same bytes differently. Binary writes every bit, so output is long; hex is compact base-16; Base64 packs six bits per character for short printable strings. Reach for hex when you need brevity, Base64 when you need to transport data, and binary when you need to see the bits.
Use Binary Encode now
Runs in your browser. Nothing you type is uploaded.