What Binary Encoding Is
Every character, emoji, and byte in a computer is stored as a sequence of 0s and 1s. Binary encoding converts text to that binary representation — the raw form a CPU actually processes:
"Hi" → 01001000 01101001 "H" → 01001000 (ASCII 72, hex 0x48) "i" → 01101001 (ASCII 105, hex 0x69)
Binary is 100% reversible — every 8 binary digits represent exactly one byte. Anyone who knows the mapping can decode it. It is a format, not a protection.
How UTF-8 Works in Binary
Text is encoded as UTF-8 before converting to binary. This means:
| Character | UTF-8 Bytes | Binary (8-bit each) |
|---|---|---|
A | 1 byte: 0x41 | 01000001 |
é | 2 bytes: 0xC3 0xA9 | 11000011 10101001 |
€ | 3 bytes: 0xE2 0x82 0xAC | 11100010 10000010 10101100 |
😀 | 4 bytes: 0xF0 0x9F 0x98 0x80 | 11110000 10011111 10011000 10000000 |
Emoji and accented characters take more bytes because UTF-8 is a variable-length encoding. The tool preserves this exactly.
Binary Is Not Encryption
The Five Output Modes
| Mode | Example Output | Use Case |
|---|---|---|
| 🔤 Basic | 01001000 01101001 | Standard spaced binary, easy to read |
| 📏 Continuous | 0100100001101001 | Compact format, no separators |
| 📊 Memory Dump | 0000: 01001000 01101001 | Offset-prefixed rows, debugger-style |
| 🎯 Hexdump + ASCII | 00000000: 48 69 |Hi| | Full dump: offset + hex + binary + ASCII |
| 🔐 XOR + Binary | XOR-mixed binary | Adds obfuscation layer with a key |
Mode 1: Basic Binary
Input: Hi Output: 01001000 01101001
Each 8-bit group is one byte. Spaces separate bytes for readability. Remove the spaces and you have continuous binary.
Mode 2: Continuous Binary
Input: Hi Output: 0100100001101001
Compact output without separators. Length is always a multiple of 8.
Mode 3: Memory Dump
0000: 01001000 01101001 0002: 00100001 00111111
Offset prefix in hexadecimal + binary bytes. Used in debuggers, disassemblers, and low-level analysis. Offset is the byte position in hex.
Mode 4: Hexdump + ASCII
00000000: 48 69 21 3F 00 01 02 03 |Hi!?....| 00000008: 04 05 06 07 08 09 0A 0B |........|
Full hexdump: offset + hex bytes + ASCII rendering. Non-printable bytes (control chars, high-bit values) shown as .. This is the standard format used by xxd, hexdump, and hex editors.
Note: Binary values are still represented as hex bytes for readability in the ASCII column. The full binary value is in the hex column. If you need raw binary with ASCII, use Mode 3.
Mode 5: XOR + Binary
Input: Hi Key: k Step 1: XOR bytes: H^k, i^k Step 2: Convert to binary
XOR scrambles the bytes before binary conversion. It is reversible only if you know the key. This is obfuscation, not encryption — anyone with the key (or any plaintext) can reverse the XOR.
Where Binary Is Used
- Low-level debugging — see raw byte values
- Protocol analysis — inspect packet structure
- Educational — understand how text is stored
- Bitwise operations — plan masks and shifts
- Firmware / embedded — define bit patterns
- Cryptography — analyze key material at the bit level
What Binary Encoding Cannot Do
- It cannot encrypt. Binary is a representation, not a cipher.
- It cannot hide anything from anyone. Every 8-digit group is a byte; decoding is trivial.
- It cannot protect secrets. API keys in binary are just as exposed as API keys in plain text.
- It cannot compress data. Binary actually increases size by 8× (each byte becomes 8 characters).
- It cannot replace Base64 for transmission. Binary uses only 2 chars (0, 1) vs Base64's 64 chars — so binary is far less efficient for transport.
Binary vs Base64 vs Hex
| Aspect | Binary | Hex | Base64 |
|---|---|---|---|
| Characters used | 2 (0,1) | 16 (0-9,a-f) | 64 (A-Za-z0-9+/=) |
| Size increase | 8× | 2× | ~1.33× |
| Readability | Hard | Medium | Low |
| Reversible | Yes | Yes | Yes |
| Standard for transport | No | No | Yes |
| Standard for debugging | Yes | Yes | No |
When You Actually Need Encryption
- AES-256-GCM — authenticated symmetric encryption
- ChaCha20-Poly1305 — modern authenticated encryption
- GPG or age — file encryption
- HTTPS/TLS — encryption in transit
- bcrypt / Argon2 — password hashing
- Secrets managers — AWS Secrets Manager, HashiCorp Vault
Binary, hex, Base64, and XOR are not substitutes for any of these.
Frequently Asked Questions
Is binary encoding encryption?
Why does my text become so much larger?
Does the tool decode binary?
Does it handle Unicode and emoji?
What is the difference between Basic and Continuous?
What is memory dump mode used for?
Why does hexdump show hex instead of binary in the ASCII column?
Is XOR + binary secure?
Can I use this to hide data from antivirus?
Is my text uploaded to your server?
What is the maximum input length?
Can I decode binary manually?
What is the difference between memory dump and hexdump modes?
Does it support binary files?
xxd.