Text to binary and binary to text · 14 styles: binary, hex, octal, decimal, Base64 & decoder · Copy and paste or download as PNG — free.
LingoFonts’ binary translator converts text to binary code and binary back to text. Type “Hi” and you get 01001000 01101001; paste 01001000 01101001 and the decoder returns Hi. Pick one of 14 output styles, including hexadecimal, octal, decimal, Unicode code points and Base64, then copy the result or save it as a PNG. It uses UTF-8, the encoding behind almost every web page, so emoji and accented letters translate correctly too.
Every example below converts the word “Hi”.
| Style | Example | What it does |
|---|---|---|
| Binary | 01001000 01101001 | 8-bit bytes separated by spaces (the standard) |
| Binary No Spaces | 0100100001101001 | One continuous string of bits |
| Binary Nibbles | 0100 1000 | 0110 1001 | Each byte split into two 4-bit halves |
| Binary Dots | ○●○○●○○○ ○●●○●○○● | Filled and empty circles for 1 and 0 |
| Binary Blocks | ░█░░█░░░ ░██░█░░█ | Solid and light blocks for 1 and 0 |
| Line per Letter | 01001000 ↵ 01101001 | Each character’s bytes on its own line |
| Hexadecimal | 48 69 | Base 16, two digits per byte |
| Octal | 110 151 | Base 8, three digits per byte |
| Decimal | 72 105 | Byte values from 0 to 255 |
| Unicode Code Points | U+0048 U+0069 | The U+ number of each character |
| Base64 | SGk= | Text-safe encoding used in email and data URLs |
| Binary to Text | (paste 01001000 01101001) → Hi | Decodes pasted binary back into letters |
| Hex to Text | (paste 48 69) → Hi | Decodes pasted hex bytes into letters |
| Letter by Letter | H = 01001000 ↵ i = 01101001 | Each character next to its binary, for learning |
| Text | Binary (UTF-8) |
|---|---|
| Hi | 01001000 01101001 |
| Hello | 01001000 01100101 01101100 01101100 01101111 |
| I love you | 01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101 |
| Yes | 01011001 01100101 01110011 |
| No | 01001110 01101111 |
| OK | 01001111 01001011 |
| LOL | 01001100 01001111 01001100 |
| Help | 01001000 01100101 01101100 01110000 |
For every letter from A to Z in upper and lower case, plus digits and a guide to reading binary by hand, see our binary alphabet chart.
Computers store every character as a number, and every number as bits. The translator follows three steps:
| Character | Code point | Bytes | Binary |
|---|---|---|---|
| A | U+0041 | 1 | 01000001 |
| é | U+00E9 | 2 | 11000011 10101001 |
| € | U+20AC | 3 | 11100010 10000010 10101100 |
| 😀 | U+1F600 | 4 | 11110000 10011111 10011000 10000000 |
Because the first 128 Unicode characters match ASCII, plain English text gives the same binary in ASCII and UTF-8. For background on encodings, see the Unicode Consortium’s UTF FAQ.
| System | Base | Digits | Per byte | “H” as |
|---|---|---|---|---|
| Binary | 2 | 0–1 | 8 digits | 01001000 |
| Octal | 8 | 0–7 | 3 digits | 110 |
| Decimal | 10 | 0–9 | 1–3 digits | 72 |
| Hexadecimal | 16 | 0–9, A–F | 2 digits | 48 |
Programmers often prefer hex because each hex digit maps to exactly four bits, so 0100 1000 reads as 4 and 8. The Binary Nibbles style shows that split.
Want another code? Try the Morse code translator, the upside down text generator or the fancy text generator.