How to convert text to binary (and back)
- Paste your text — or a binary string — into the top box.
- Choose Text → Binary to encode, or Binary → Text to decode.
- The result updates instantly. Click Copy result to grab it.
What binary actually is
Computers store everything as bits — tiny switches that are either 0 or 1. Eight of those bits form one byte, and a byte can hold 256 different values. When you type a letter, your computer looks up the number that stands for it and stores that number as a byte. This tool makes the hidden step visible: it takes each character, finds the bytes that represent it, and prints those bytes as their 8-bit binary form so you can see exactly how the text is stored.
UTF-8, not just ASCII
Many binary converters only handle plain ASCII, which covers the basic English letters and symbols. This one uses UTF-8, the encoding the modern web is built on. UTF-8 stores common characters in a single byte but uses two, three or four bytes for the rest — so emoji, accented letters and non-Latin scripts all convert correctly. Because encoding and decoding both use UTF-8, whatever you turn into binary decodes back to exactly the same text.
Common uses
Seeing text as bits is a great way to learn how computers store characters, and it is a frequent ask in computer-science homework. It is also useful when debugging encodings — if a character looks wrong somewhere, converting it to binary shows you the real bytes underneath, which often reveals a mismatch between UTF-8 and some other encoding.
Is it private and safe?
Yes. Toolyard converts between text and binary inside your browser on your own device. Your text is never uploaded anywhere, so it stays completely private.
Frequently asked questions
Is this ASCII or UTF-8?
UTF-8. Each character is encoded to its UTF-8 bytes, so it handles any character — English, emoji, Korean, Japanese and accents — not just basic ASCII.
How do I convert binary back to text?
Switch the mode to Binary → Text and paste the binary. Spaces, tabs and line breaks between bytes are ignored.
Why 8 bits per byte?
A byte is defined as 8 bits, and UTF-8 stores text one byte at a time, so each 8-bit group represents one byte of a character's encoding.
Does spacing matter when decoding?
No. All whitespace is ignored when decoding, so grouped and unbroken binary decode to the same text.
Is my text uploaded?
No. Everything runs on your device and nothing is sent anywhere.