Text to Binary
Every character you see on screen is, at the bottom of the stack, a run of ones and zeros. This converter flips between those two representations using 8-bit ASCII: each character becomes one byte (eight binary digits) separated by spaces. It is the format you see in CS101 exercises, capture-the-flag challenges, geocache puzzles and the occasional bot-vs-human gag.
How to encode and decode
-
1
Pick a mode
Encode to go text -> binary. Decode to go binary -> text.
-
2
Paste your input
For decoding, separate each byte with a space: `01001000 01101001`.
-
3
Run the conversion
Each character is mapped to its 8-bit representation, left-padded with zeros.
-
4
Copy the result
Decoded text is assembled in order; any byte outside 0 - 255 is silently skipped.
ASCII byte quick reference
| Character | Decimal | Binary |
|---|---|---|
| space | 32 | 00100000 |
0 |
48 | 00110000 |
A |
65 | 01000001 |
a |
97 | 01100001 |
! |
33 | 00100001 |
? |
63 | 00111111 |
| newline | 10 | 00001010 |
A few things worth knowing
- Standard ASCII only covers 0 - 127. Values 128 - 255 are “extended ASCII” and vary by code page; we treat them as single bytes which is usually what you want for Latin-1 text.
- Unicode characters beyond U+00FF get encoded as multiple bytes in UTF-8 before the conversion runs, so
ébecomes two bytes and an emoji can be four. - Decoders are picky about spaces. Each group of 8 must be separated from the next. Groups shorter than 8 are treated as invalid and skipped.
- Leading zeros matter.
1000001is seven digits and ambiguous;01000001is eight and decodes cleanly toA.
Typical uses
- CS exercises (“write the binary for your first name”).
- Puzzle hunts and geocaches, where a binary string is the final clue.
- Sanity-checking a serial protocol or a hex dump by eye.
- Pranks in a team chat.
Frequently Asked Questions
Emojis and most non-ASCII characters are multi-byte in UTF-8. The converter encodes each underlying byte as 8 bits, so a 4-byte emoji becomes 32 bits of binary.
It is skipped. Decoding only accepts groups of 1s and 0s that represent a single byte.
Same numbers, different base. Binary uses base 2 with 8 digits per byte; hex uses base 16 with 2 digits per byte. A is 01000001 in binary and 41 in hex.
The decoder splits on any whitespace, so spaces, tabs and line breaks all work. Commas must be removed first.
No. Every conversion happens locally in your browser tab.
Related Tools
Meme Text Generator
Add classic meme captions to a template or your own image. Set top and bottom text, tune font, color and stroke, then download or copy a PNG.
Word Counter
Count words, characters, sentences and paragraphs with reading time, speaking time, keyword density and a Flesch readability score for essays, posts, captions and meta descriptions.
Password Generator
Generate strong random passwords with adjustable length, symbols, numbers and mixed case using cryptographic randomness.
Emoji Kitchen
Try verified Google Emoji Kitchen sticker pairs, download PNGs, and get supported suggestions when a pair is not in the curated set.
Glitch Text Generator
Create Zalgo-style glitch text with Unicode combining marks. Choose intensity, preview variants and copy corrupted text for profiles, memes or horror posts.
Wingdings Translator
Turn Latin letters and digits into Wingdings-style Unicode symbols for puzzles, jokes and retro Windows notes.
Tool available in other languages
- Tekst na binarny [PL]
- Text in Binär [DE]
- テキストをバイナリに変換 [JA]
- Chuyển văn bản thành nhị phân [VI]
- Texto a Binario [ES]
- Tekst naar Binair [NL]
- 텍스트를 2진수로 [KO]
- Teks ke Biner [ID]
- Text till binärt [SV]
- تحويل النص إلى بيانات ثنائية [AR]
- แปลงข้อความเป็นฐานสอง [TH]
- Texto para Binário [PT]
- Texte en binaire [FR]
- Testo in Binario [IT]
- Текст в двоичный код [RU]
- Metinden İkiliye [TR]
- 文本转二进制 [ZH]