Convert text to binary, hex, or decimal and decode it back in your browser. Your text stays on your device.
Text to Binary Converter
Convert text to binary, hex, or decimal and decode it back in your browser. Your text stays on your device.
The Text to Binary Converter runs entirely in your browser. The text and bytes you convert never leave your device and nothing is uploaded to ArrayKit.
The Text to Binary Converter turns any text into 8-bit binary, hex, or decimal bytes, then decodes those numbers back to readable text. It is UTF-8 aware, so it walks the actual bytes of a string — an accented letter or an emoji becomes several bytes, and each shows up as its own group. Switch directions to paste binary, hex, or decimal and recover the original characters; the decoder auto-detects the base or you can force one. It handles both spaced groups (01001000 01101001) and continuous streams, and flags any group that is not a clean byte. Useful when you are studying character encoding, debugging a wire format, building a lesson, or checking what bytes a string really contains. Every conversion runs on your device — the text you type never leaves your browser.
Features
Convert text to 8-bit, space-separated binary bytes in one click
Also emit hex or decimal bytes from the same input with a base toggle
Decode binary, hex, or decimal back to text, with auto base detection
UTF-8 aware: emoji and accented letters expand to their real byte groups
Accepts spaced groups or a continuous unspaced stream when decoding
Clear errors for malformed groups, wrong bit-width, or out-of-range bytes
Copy the binary, hex, decimal, or decoded text with one button
Runs entirely in your browser with nothing sent anywhere
How to use the Text to Binary Converter
Keep the Text → Binary direction selected
Type or paste your text and pick Bin, Hex, or Dec output
Copy the resulting bytes from the output pane
Switch to Binary → Text and paste bytes to decode them back
Leave the base on Auto, or force Bin, Hex, or Dec if detection is ambiguous
Example
Input
Hi
Output
01001000 01101001
"H" is byte 72 (01001000) and "i" is byte 105 (01101001).
Common errors & troubleshooting
Decoding says a binary group is the wrong length. — Each binary byte must be exactly 8 bits. Separate groups with spaces, or paste a continuous stream whose length is a multiple of 8.
Decimal decode reports a value greater than 255. — Each decimal group is a single byte (0–255). A number like 256 is not one byte — split multi-byte characters into their individual byte values.
Hex decode fails on an odd number of digits. — Hex bytes come in pairs. Add a leading zero to a short byte or space the pairs so every group has two hex digits.
Auto-detect picks the wrong base for ambiguous digits. — Digits like 10 or 1000 are valid in several bases. Use the Bin, Hex, or Dec toggle to tell the decoder exactly how to read them.
Frequently asked questions
How does this converter turn text into binary?
It encodes your text as UTF-8 bytes, then writes each byte as an 8-bit binary group. "A" is byte 65, which is 01000001. Multi-byte characters like emoji become several groups, one per byte.
Why does one emoji produce several binary groups?
Binary here represents UTF-8 bytes, not characters. A basic ASCII letter is one byte, but an emoji or CJK character takes two to four bytes, so it shows up as two to four 8-bit groups.
Can I decode binary, hex, and decimal, not just encode?
Yes. Switch to Binary → Text and paste 8-bit binary, hex pairs, or decimal bytes. Leave the base on Auto to detect it, or force Bin, Hex, or Dec when the digits are ambiguous.
Does the binary input need spaces between the bytes?
No. The decoder accepts space-separated 8-bit groups and a continuous unspaced bit stream, which it chunks into bytes. Hex works the same way with two-digit pairs or a continuous run.
What happens if a binary group is not 8 bits?
The tool flags it as an error instead of guessing. Binary groups must be exactly 8 bits and each decimal group must be 0–255, so malformed input is reported rather than silently mangled.
Is the text I convert uploaded anywhere?
No. The Text to Binary Converter runs entirely in your browser. The text and bytes you type or paste never leave your device and are not sent to ArrayKit.
Related tools
Base32 Encoder / Decoder — Encode text to Base32 and decode Base32 back to text (RFC 4648), in your browser.