Convert Text to Binary
Paste text and get binary 0s and 1s back instantly.
Options
Binary output
How to convert text to binary
Paste your text into Your text, or press Load example. The binary
0s and 1s appear next to it and update as you type. Copy the result or download it as a
.txt file. Everything runs in your browser, so nothing you paste is uploaded.
Examples
| Input | Output |
|---|---|
| Hi! | 01001000 01101001 00100001 |
| A | 01000001 |
| é | 11000011 10101001 |
Limits and edge cases
| Mode | Bits per unit | Example |
|---|---|---|
| UTF-8 (default) | 8 bits per byte | A → 01000001 |
| ASCII 7-bit | 7 bits per character | A → 1000001 |
- Separator escapes: type
\nfor a new line,\tfor a tab,\\for a backslash, or leave the field empty to join all bits together. - Accented characters need several UTF-8 bytes:
ébecomes two groups,11000011 10101001. - Emoji are multi-byte too: most emoji encode to 4 UTF-8 bytes, so one emoji produces 4 binary groups.
Frequently asked questions
How do I convert text to binary?
Paste your text into the input box and the binary 0s and 1s appear instantly in the result box. Copy the result or download it as a .txt file.
What encoding is used?
By default each character is encoded as UTF-8 bytes, shown as 8-bit groups separated by spaces. For example A becomes 01000001.
What is the 7-bit ASCII mode?
ASCII mode keeps only the lowest 7 bits of each character, so A becomes 1000001. It matches classic 7-bit ASCII tables but drops accents and non-Latin characters become different values.
Why does one character sometimes produce many binary groups?
Characters outside basic ASCII need several UTF-8 bytes. For example e with an accent needs 2 bytes, and most emoji need 4 bytes, so you get 2 or 4 binary groups.
Can I change the separator between bytes?
Yes. Type any separator into the separator field. You can use \n for a new line, \t for a tab, or leave it empty to join all bits together.
Is my text uploaded anywhere?
No. Conversion runs in your browser with JavaScript and nothing is sent to a server. Inputs under 200 KB are kept in your browser's local storage so they are still there when you come back.