Free online tools

Binary translator01

Text to binary and back, live. UTF-8 with emoji and accents, plus hex, decimal and octal output.

Auto reads binary when the box holds mostly 0s and 1s.

Examples
Format: Binary · UTF-8 · Space
Show byte breakdown

    ResultAuto
    0Type text or paste binary to start

    Runs in your browser. Your text never leaves your device.

    Featured

    Try these next

    All text tools →

    How to use the binary translator

    1. Type or paste text in the top box to see its binary as you type. Emoji and accents are encoded as UTF-8 bytes.
    2. Paste binary such as 01001000 01101001 and the text appears in the output. Auto mode picks the direction for you.
    3. Choose the output format (binary, hex, decimal or octal) and the separator between bytes.
    4. Press Swap to move the result into the input with the direction flipped, to check a round trip.
    5. Use Copy, download the result as a .txt file, or Copy link, which keeps your text in the link after the # and is never sent to a server.

    Text to binary: how encoding works

    A binary translator turns each character into one or more bytes, and each byte into eight digits of 0 and 1. A byte is eight bits, so it holds 256 values (byte on Wikipedia). This tool uses UTF-8, the encoding defined in RFC 3629 and used by most of the web (UTF-8 on Wikipedia). The letter A takes one byte: 65 in decimal, 41 in hex and 01000001 in binary. Characters outside ASCII take two to four bytes in UTF-8. Turn on ASCII (strict) to see which characters fall outside the 128 ASCII codes, defined in RFC 20. They are skipped and listed under the result.

    Binary to text: how decoding works

    The decoder reads the digits in groups, and every group of eight digits is one byte. A short group is padded with zeros on the left, so 1000001 is read as 01000001. A group of 9 to 15 digits is flagged, because it cannot be whole bytes. The bytes are then read as UTF-8 (RFC 3629): a byte that starts with 0 is one character, and one that starts with 110, 1110 or 11110 starts a two-, three- or four-byte character. A byte that does not form a valid character shows as the replacement symbol and is counted under errors, with its group number, so the rest of the message still comes through.

    Binary code translator: what 01001000 01101001 means

    The binary code 01001000 01101001 is two bytes. 01001000 is 72, the ASCII code for H, and 01101001 is 105, the code for i, so it spells Hi. Paste any binary code like it into the top box and the text appears as you type.

    Worked example: “Hi” in binary

    H is 72 and i is 105. In binary that is 01001000 01101001. Paste it into the translator, or type Hi above, to check the answer. The waving-hand emoji 👋 has the code point U+1F44B (Unicode emoji list) and takes four bytes in UTF-8: 11110000 10011111 10010001 10001011.

    Byte breakdown: the tape inspector

    Open Show byte breakdown to see one row per character: the character, a cell for each bit of each byte, its Unicode code point and its bytes in hex. Tap a row to mark it for your own reference. Errors are shown in red in the same list, so you can find the group that broke a message.

    Binary code reference table

    The table lists the ASCII codes for letters, digits and the space. Decimal, hex and binary are the same number written in three bases. Codes 0 to 31 and 127 are control characters; for example 10 is a new line.

    ASCII table: letters, digits and space
    CharacterDecimalHexBinary
    A654101000001
    B664201000010
    C674301000011
    D684401000100
    E694501000101
    F704601000110
    G714701000111
    H724801001000
    I734901001001
    J744A01001010
    K754B01001011
    L764C01001100
    M774D01001101
    N784E01001110
    O794F01001111
    P805001010000
    Q815101010001
    R825201010010
    S835301010011
    T845401010100
    U855501010101
    V865601010110
    W875701010111
    X885801011000
    Y895901011001
    Z905A01011010
    a976101100001
    b986201100010
    c996301100011
    d1006401100100
    e1016501100101
    f1026601100110
    g1036701100111
    h1046801101000
    i1056901101001
    j1066A01101010
    k1076B01101011
    l1086C01101100
    m1096D01101101
    n1106E01101110
    o1116F01101111
    p1127001110000
    q1137101110001
    r1147201110010
    s1157301110011
    t1167401110100
    u1177501110101
    v1187601110110
    w1197701110111
    x1207801111000
    y1217901111001
    z1227A01111010
    0483000110000
    1493100110001
    2503200110010
    3513300110011
    4523400110100
    5533500110101
    6543600110110
    7553700110111
    8563800111000
    9573900111001
    space322000100000

    Hex, decimal and octal output

    Binary is base 2, octal is base 8, decimal is base 10 and hex is base 16 (radix on Wikipedia). One byte has four spellings: 72 in decimal, 48 in hex, 110 in octal and 01001000 in binary. Developers read hex dumps all day, so the Hex option matches what debuggers and network traces show. Decimal and octal are handy for classroom exercises and puzzles.

    Why UTF-8 matters for binary code

    Older binary converters only handle 8-bit ASCII, and they break on accents and emoji. UTF-8 keeps every ASCII character at one byte and uses two to four bytes for everything else (RFC 3629). That is why “café” is five bytes and “Hello 👋” is ten. Switch to ASCII (strict) when a message has to stay within 7-bit characters, for example in a plain-text test or a classroom exercise.

    Tips for reading binary

    Binary translator FAQ

    How do I translate binary to text?

    Paste binary into the top box, or leave Auto on. Each group of eight 0s and 1s is one byte. The bytes are read as UTF-8, and the text appears in the output box as you type. Spaces, commas and new lines between groups are optional.

    How do you convert text to binary?

    Type or paste text in the top box. Each character becomes its UTF-8 bytes, and each byte becomes eight digits of 0 and 1. Choose the separator between bytes: space, none or new line.

    What does 01001000 01101001 mean?

    It spells Hi. Each group of eight digits is one byte: 01001000 is 72, the ASCII code for H, and 01101001 is 105, the code for i. Paste the digits in the top box to see the text.

    Why are there 8 digits in each group?

    A byte is 8 bits, so one byte holds 256 values, from 0 to 255. ASCII letters, digits and punctuation fit in one byte. Characters outside ASCII use two to four bytes in UTF-8.

    Why doesn't my binary decode correctly?

    Check that every group has eight digits. Shorter groups are padded with zeros on the left. A group of 9 to 15 digits cannot be whole bytes, so it is skipped and listed under errors. A byte that does not form valid UTF-8 shows as a replacement symbol and is counted with its group number.

    Can binary represent emoji and non-English characters?

    Yes, with UTF-8. The waving-hand emoji 👋 takes four bytes: 11110000 10011111 10010001 10001011. Choose ASCII (strict) to see which characters fall outside the 128 ASCII codes; those are skipped and listed.

    What is the difference between binary and ASCII?

    ASCII is a code: 128 characters, each given a number from 0 to 127. Binary is just how a number is written, in base 2. The capital A is 65 in ASCII, which is 01000001 in binary. UTF-8 is a wider encoding that keeps ASCII characters as they are.

    Can I convert to hexadecimal or decimal instead of 0s and 1s?

    Yes. Pick Hex, Decimal or Octal in the output format. Each byte is shown in that base: H is 48 in hex, 72 in decimal and 110 in octal.

    Is this free and private? Is my text uploaded?

    Yes, it is free, with no sign-up. Conversion runs in your browser, so your text never leaves your device. Copy link puts the text after the # in the URL, and browsers do not send that part to a server. Once the page has loaded, conversion needs no network connection.

    Missing something in the binary translator?Suggest an idea. It takes 20 seconds and we read every one.Suggest an idea

    Sends only what you type here, never the text you work with. Your email is used only to reply about this idea.

    Free online tools