Text to Binary Converter
Convert text to binary code and binary back to text instantly. Also shows hexadecimal and decimal representations. Works entirely in your browser.
Binary Reference Chart
| Character | Binary | Hexadecimal | Decimal |
|---|---|---|---|
| A | 01000001 | 41 | 65 |
| B | 01000010 | 42 | 66 |
| C | 01000011 | 43 | 67 |
| a | 01100001 | 61 | 97 |
| b | 01100010 | 62 | 98 |
| c | 01100011 | 63 | 99 |
| 0 | 00110000 | 30 | 48 |
| 1 | 00110001 | 31 | 49 |
| SPACE | 00100000 | 20 | 32 |
| ! | 00100001 | 21 | 33 |
| @ | 01000000 | 40 | 64 |
| # | 00100011 | 23 | 35 |
Common Use Cases
Computer Science Learning
Understand how computers store and process text at the lowest level — every character is just a sequence of 0s and 1s.
Data Encoding
Encode messages in binary for puzzles, CTF challenges, steganography, or simple obfuscation in projects.
Debugging & Inspection
Inspect the exact binary, hex, and decimal representation of any character to debug encoding issues in code.
How It Works
Every character on your keyboard has a numeric code (ASCII or Unicode code point). Binary representation converts that number into base-2 — a sequence of 0s and 1s padded to 8 bits.
Text → Binary:
- Each character is looked up by its Unicode code point
- The code point is converted to base-2 and padded to 8 bits
- Groups are joined with your chosen separator (space, dash, newline, or none)
Binary → Text:
- The binary string is split on spaces, dashes, or every 8 characters
- Each 8-bit chunk is parsed back to a decimal number
- That number is converted back to the corresponding character
Bidirectional
Convert text to binary or decode binary back to readable text. Switch modes with one click — output becomes input automatically.
Multi-Format Output
Alongside binary you also get hexadecimal and decimal (ASCII/Unicode) representations of every character in your text.
100% Private
All conversions happen directly in your browser. Nothing is sent to any server — your data never leaves your device.