About Binary ↔ Text
Convert text to UTF-8 binary representation (8 bits per byte) and back. Configurable group separator (none, space, hyphen, custom) for readable output. Handles the full Unicode range — emoji, CJK, Cyrillic — by encoding as UTF-8 first then converting bytes to binary.
Why convert text to binary
- Educational — understanding how computers represent text
- Puzzle / cipher — escape rooms, ARGs, capture-the-flag
- Embedded systems — debugging serial output where bytes appear as bits
- Curiosity — see what UTF-8 looks like for emoji and CJK
For data-volume use cases (storing or transmitting binary files), Base64 or Hex are dramatically more compact and standard.
What you’ll see
Hi (ASCII): 01001000 01101001 — 16 bits, 2 bytes.
Hi 😀: 01001000 01101001 00100000 11110000 10011111 10011000 10000000 — 56 bits, 7 bytes (emoji is 4 bytes in UTF-8).
漢 (Han): 11100110 10111100 10100010 — 24 bits, 3 bytes.
Common workflows
Demo binary representation. Type a name, watch the binary appear. Educational moment for students.
Decode a binary message. Paste 0s and 1s separated by spaces, get the text. Common in CTF challenges.
Inspect non-ASCII. Type emoji or a non-Latin word, see how UTF-8 represents it. Memorable.
Why this is its own tool
Binary↔text is a one-liner in any language, but having it in a tab is faster than opening a Python REPL. Offered alongside the other escape/encode tools so you can mix techniques (ROT13 → binary → Base64) when building a multi-stage cipher.
Frequently asked questions
Why UTF-8 instead of ASCII?
How is emoji encoded?
F0 9F 98 80, or 32 binary digits.What separator should I pick?
Why is my decode returning gibberish?
Big-endian or little-endian?
Related tools
Last updated: 2025-01-15