Binary Converter
Convert text to its 8-bit binary form and decode binary strings back to readable text.
Binary is the rawest view of your data - every byte as its eight bits, the same patterns a CPU actually reads. While it is rarely a practical storage format, seeing text as bits is invaluable for learning, for debugging byte-level protocols, and for translating the classic "01101000 01101001" puzzles into meaning. This tool converts text to binary and back.
The text-to-binary direction reads your input as UTF-8 bytes and prints each byte as eight bits, grouped for readability. The binary-to-text direction parses groups of eight bits back into bytes and decodes them into characters. The two directions are exact inverses, so no information is lost in either conversion.
Everything runs locally in your browser. Paste a message, a hash or a packet fragment, convert it, and see the exact bits - no upload, no server, no trace. It is the same conversion you can do by hand, done instantly and without mistakes.
Features
- Convert text to space-separated 8-bit binary, and binary back to text.
- UTF-8 aware, so the bit patterns match what real systems store.
- Strict validation: input must be groups of 8 binary digits.
- Ignores whitespace between groups for convenience.
- Grouped output that is easy to scan and count.
- Fully offline and private.
How to Use
- 1
Paste the input
Enter text to convert to bits, or a binary string to convert back to characters.
- 2
Choose a direction
Select To Binary for the 8-bit view, or From Binary to turn groups of bits into text.
- 3
Convert
Press the button and read the grouped bits or the recovered text.
- 4
Copy or download
Copy the result for a lesson or a debug note, or download it for longer values.
Example
Text to binary
hi↓
01101000 01101001Binary to text
11100101 10010001 10011111↓
中Common Problems
Using 7-bit ASCII tables
Classic ASCII only covers 0-127 and uses seven bits. Real text - accents, CJK, emoji - needs full 8-bit bytes in multi-byte UTF-8 sequences, so a 7-bit table corrupts it. This tool reads proper UTF-8 bytes.
Misaligning bit groups
Binary only means something in fixed-width groups. A stream that lost a digit or a space shifts every byte after the break. The tool validates the grouping and reports the problem.
Reading bits as decimal
01101000 is the byte 104, not "eleven million". Each group of eight bits is one byte; converting groups separately keeps the meaning intact.
Hand-translating large strings
The chance of a single flipped bit in a long hand translation is high, and one flipped bit changes the byte completely. Let the tool do the math.
Expecting binary to be compact
Binary is the opposite of compact - eight characters per byte. It is a view, not a transport format. For compact text encoding use hex or base64.
Confusing bit order
Groups are written most-significant-bit first, so the leftmost digit of 01101000 is worth 128. Some older formats reverse the order; if your source is little-endian, every group reads backwards and decodes to different text.
Technical Details
Each byte is written as eight bits, with the most significant bit on the left. The space between groups keeps the byte boundary visible, matching how binary data is conventionally printed.
Text is first encoded to UTF-8 bytes, then each byte is expanded to its bit pattern. This is why multi-byte characters produce several groups - the character 中 occupies three bytes.
Binary input may use spaces, tabs or newlines to separate groups; all whitespace is stripped before parsing, then the remaining string must be a whole number of 8-bit groups made only of zeros and ones.
The conversion is local and synchronous. Nothing is uploaded, and the tool keeps no record of the values you convert.
The one-to-one relationship between a byte and its eight bits makes the conversion exact and free of ambiguity: no padding, no options, no encoding guesses. Feed the tool any text and you always get the same groups of eight.
Because the mapping is fixed, the tool is a reliable teaching aid and a debugging reference - the bit pattern you see is precisely what the UTF-8 encoder handed to the network or the filesystem for that input.
Frequently Asked Questions
What does binary of text look like?
Each byte of the UTF-8 encoding printed as eight bits. "hi" becomes 01101000 01101001 because each letter is a single byte.
Why do some letters need more than one group?
UTF-8 uses one byte for ASCII letters and up to four for other scripts and emoji. A Chinese character, for example, occupies three bytes and therefore three groups of eight bits.
Can I convert binary with no spaces?
Yes. Whitespace is ignored, so a continuous run of bits is grouped into eights automatically as long as its length is a multiple of eight.
Does the tool upload the content?
No. Conversion runs entirely in your browser tab. The input is never transmitted, stored or logged.
Why would I ever need binary?
Mostly for learning and debugging - understanding bit patterns, teaching how encodings work, or inspecting what a protocol actually sends. Hex is usually more practical for real work, but binary shows the bits themselves.
What does 01000001 mean?
As a byte it is the number 65, which is the ASCII code for the capital letter A. The pattern decodes to whatever character the byte 65 represents in the target encoding - for ASCII and UTF-8 that is A.
Why are there eight bits per group?
Because a byte is eight bits, and bytes are the unit the UTF-8 encoding and most file formats are built on. Eight bits can represent any of 256 values, which is exactly one byte.
Is binary faster or smaller than hex?
Neither - they carry the same information in different notation. Hex is shorter to write and read, binary shows the individual bits. Choose the notation your audience can follow.
Can binary represent images and files?
Any file is bytes, so any file can be printed as binary - but the output is enormous and useless for real transfer. For binary-safe transport of arbitrary files, base64 is the practical format.
Data & Privacy
Your data stays in your browser. Nothing is uploaded.
- Processing
- Local
- Upload
- None
- Server Storage
- None
- Account
- Not required
Related Tools
Base64 Encode & Decode
Convert text to Base64 or decode it back, with an optional URL-safe mode - all in your browser.
Encoding & Conversion
URL Encoder / Decoder
Percent-encode text for safe use in URLs and query strings, or decode it back to readable form.
Encoding & Conversion
HTML Entity Encoder / Decoder
Convert HTML to its escaped entity form or decode entities back to readable markup.
Encoding & Conversion
Unicode Converter
Escape text as \uXXXX sequences or decode them back to readable characters, for JSON, JavaScript and Java.
Encoding & Conversion
Hex Converter
Convert text to hex bytes and back, revealing the UTF-8 representation of any string.
Encoding & Conversion
URL Parser
Break any URL into protocol, host, path, query parameters and fragment for easy inspection.
Encoding & Conversion