Text to Binary Converter
Convert any text to its binary representation. Each character is encoded as UTF-8 bytes, and every byte is shown as 8 bits, so ASCII characters become familiar 8-bit codes and Unicode characters become two or more bytes.
Worked example
The input Hi converts to 01001000 01101001. Try editing the box
above to convert your own text.
ASCII / character reference table
Each character has a numeric code that can be written in decimal, binary or hexadecimal:
| Character | Decimal | Binary (8-bit) | Hex |
|---|---|---|---|
| A | 65 | 01000001 | 41 |
| a | 97 | 01100001 | 61 |
| Z | 90 | 01011010 | 5A |
| 0 | 48 | 00110000 | 30 |
| 9 | 57 | 00111001 | 39 |
| (space) | 32 | 00100000 | 20 |
| ! | 33 | 00100001 | 21 |
| ? | 63 | 00111111 | 3F |
Frequently asked questions
- How do I convert text to binary?
- Paste your input into the box above and the result appears instantly. For example, "Hi" becomes "01001000 01101001". Everything runs in your browser β nothing is uploaded.
- Is my text uploaded to a server?
- No. The conversion runs entirely in your browser with JavaScript, so your text never leaves your device.
- Does text-to-binary support emoji and non-English text?
- Yes. Text is encoded as UTF-8 first, so accented letters, non-Latin scripts and emoji all convert correctly β they simply use more than one byte (more than 8 bits) each.