Text ⇄ Binary Converter
Convert text to binary, hexadecimal or decimal ASCII codes and back again. Handles full Unicode via UTF-8.
How to use it
- Type in the text box to encode, or paste codes into the output box to decode.
- Choose binary, hex or decimal, and the separator between bytes.
- Non-ASCII characters are encoded as UTF-8 byte sequences.
Examples
| Hi | 01001000 01101001 |
Every character in a piece of text corresponds to a numeric code (via UTF-8), and this converts text into that code shown as binary, hex or decimal — or decodes those codes back into readable text.
Text to binary
Each character becomes an 8-bit binary byte. 'Hi' encodes as 01001000 01101001 — 01001000 is the ASCII/UTF-8 value 72 ('H'), and 01101001 is 105 ('i'). This is the format used in low-level computing contexts, teaching materials on how computers represent text, and puzzle or steganography use.
Hex and decimal alternatives
The same bytes can be shown as hex (0x48 0x69) — more compact and the format most commonly seen in programming and debugging contexts — or as decimal ASCII codes (72 105), which is closer to how the ASCII table itself is usually read.
Unicode beyond plain ASCII
Characters outside basic ASCII — accented letters, emoji, non-Latin scripts — are encoded as UTF-8, which uses more than one byte per character for anything beyond the original 128 ASCII values. An emoji or an accented letter will correctly produce multiple bytes of output rather than failing or truncating.
Also searched for
People find this page looking for binary converter, translator for binary, translator binary, conversion binary, binary translate.
Last updated 17 August 2026