Text to binary

    Convert text to its binary or hexadecimal ASCII representation and back.

    Loading tool…

    About the text to binary

    Converts text to its byte values in binary, octal, decimal or hexadecimal, and converts those numbers back to readable text. Encoding is UTF-8, so multi-byte characters expand to the correct number of bytes rather than being mangled.

    Frequently asked questions

    Why does one emoji produce four bytes?

    UTF-8 is variable width. ASCII takes one byte, most accented and Greek characters take two, most CJK characters take three, and emoji take four. The byte count reflects real storage size.

    Can I paste binary with no separators?

    Split it into groups first. Without separators there is no way to tell where one byte ends and the next begins, so this tool expects space or comma separated values.

    Often used alongside