Text to Binary Converter
Type or paste text to see its binary code, or switch to decode mode to turn binary back into text. Uses UTF-8, so letters, accents and emoji all work.
How to convert text to binary
- Type or paste your text into the box.
- Choose encode to get binary, or decode to read binary back as text.
- Copy the result, which updates as you type.
Examples
Encode a word
Hi
01001000 01101001
Decode binary
01000001 01000010
AB
Frequently asked questions
How does text become binary?
Each character is turned into its UTF-8 byte value, and each byte is written as an 8-digit binary number. The bytes are joined with spaces so the output is easy to read.
Why is every byte 8 bits long?
A byte is 8 bits, so values from 0 to 255 always fit in exactly eight digits. Padding with leading zeros keeps every byte the same width and makes decoding unambiguous.
What is the difference between ASCII and UTF-8?
ASCII covers basic English in a single byte per character. UTF-8 extends that to every language and emoji, using one byte for ASCII and two to four bytes for everything else. This tool uses UTF-8, which is fully compatible with ASCII.
How do I turn binary back into text?
Switch to decode mode and paste your binary. The tool splits it on spaces, reads each 8-bit group as a byte, and decodes the bytes as UTF-8 to recover the original text.
Do emoji and accented letters work?
Yes. They take more than one byte in UTF-8, so they produce several 8-bit groups, and they round-trip exactly when you decode them again.
Is my text uploaded anywhere?
No. Encoding and decoding run entirely in your browser, so nothing you type ever leaves your device.
Related tools
Binary to Decimal
Convert binary to decimal online. Paste any binary number, with or without spaces, and get the exact base-10 value instantly. Runs in your browser.
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Free and private.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
Bullet List Maker
Turn lines of text into a bullet or numbered list online. Pick dash, asterisk, dot, arrow or numbers, add indent, then copy. Free and private.
Caesar Cipher
Encode and decode text with the Caesar shift cipher. Pick any shift, see the result live, and brute force all 25 shifts. Runs entirely in your browser.
Character Counter
Count characters, words and lines as you type. See how your text fits Twitter, SMS and meta description limits. Free, instant and private.