Skip to main content

    Binary ↔ Text Converter

    Convert text to binary and binary to text. Supports ASCII encoding with space-separated bytes.

    No signup. 100% private. Processed in your browser.

    Text

    Binary

    Binary: The Language Computers Actually Speak

    Everything on your computer — every file, every image, every message — is stored as sequences of 0s and 1s. That's it. When you type the letter "A", your computer stores 01000001. When you type "Hello", it stores five bytes: 01001000 01100101 01101100 01101100 01101111. Binary is the foundation of all digital data.

    This converter translates between human-readable text and its binary representation using ASCII encoding. Each character becomes 8 binary digits (one byte). It's the same encoding your computer uses internally — you're just seeing the raw data format that's normally hidden behind fonts and rendering engines.

    Everything runs in your browser. Type text, see binary. Paste binary, see text. Instant, private, and offline-capable.

    ASCII Character Reference

    CharacterBinaryDecimalHex
    A010000016541
    Z01011010905A
    a011000019761
    z011110101227A
    0001100004830
    9001110015739
    Space001000003220
    !001000013321

    What this means for you: Notice that uppercase 'A' (65) and lowercase 'a' (97) differ by exactly 32. That's not a coincidence — it's a deliberate design decision in ASCII that makes case conversion a single bit flip (bit 5). The entire ASCII table was designed with these binary tricks in mind.

    Understanding Binary Encoding

    ASCII (7-bit, 128 characters)

    The original character encoding. Covers English letters, digits, and basic punctuation. Every ASCII character fits in one byte. Still the foundation of UTF-8 — all ASCII text is valid UTF-8.

    UTF-8 (variable width, 1-4 bytes)

    The web's standard encoding. ASCII characters use 1 byte, European accented characters use 2, Asian characters use 3, and emojis use 4. This tool handles ASCII; for full Unicode, you'd need a UTF-8 aware converter.

    Bits vs bytes

    1 bit = one 0 or 1. 1 byte = 8 bits = one ASCII character. Network speeds are measured in bits per second (Mbps), file sizes in bytes (MB). A "100 Mbps" connection transfers ~12.5 MB per second — the 8:1 ratio trips people up constantly.

    Why 8 bits per byte?

    8 bits gives you 256 possible values (2^8). That's enough for all ASCII characters (128) plus extended characters. It's also evenly divisible by 2 and 4, making hardware design simpler. The 8-bit byte became standard with the IBM System/360 in the 1960s.

    Powers of 2 Cheat Sheet

    BinaryDecimalSignificance
    11Smallest unit — 1 bit
    1004One hex digit (nibble)
    10000000128ASCII character set size
    1000000002561 byte — RGB channel max +1
    100000000001,0241 KB (kibibyte)
    100000000000000000000001,048,5761 MB (mebibyte)

    Related Tools

    How to use this tool

    1

    Choose the conversion direction: Text to Binary or Binary to Text

    2

    Type or paste your input in the left panel

    3

    See the instant conversion in the right panel and copy

    Common uses

    • Learning how computers represent text data
    • Converting text for CTF challenges and puzzles
    • Understanding ASCII encoding for programming courses
    • Debugging binary data in network protocols

    Share this tool

    Frequently Asked Questions