Binary Translator

Text to binary and binary to text · 14 styles: binary, hex, octal, decimal, Base64 & decoder · Copy and paste or download as PNG — free.

SIZE 52px COLOR BG
Presets:
Type your text below...
0/300
Popular binary code to copyClick to copy

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.

How to Use the Binary Translator

  1. Text to binary: type or paste up to 300 characters. Every style card updates as you type.
  2. Binary to text: paste 0s and 1s in groups of eight (spaces optional) and read the Binary to Text card. The tool detects binary automatically.
  3. Hex to text: paste hex bytes such as 48 69 and open the Hex to Text card.
  4. Convert between formats: paste binary and click any card, such as Hexadecimal or Decimal. The tool decodes it first, then re-encodes it.
  5. Copy or save: press Copy, or Save PNG for an image with your own colors.

The 14 Binary Translator Styles

Every example below converts the word “Hi”.

StyleExampleWhat it does
Binary01001000 011010018-bit bytes separated by spaces (the standard)
Binary No Spaces0100100001101001One continuous string of bits
Binary Nibbles0100 1000 | 0110 1001Each 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 Letter01001000 ↵ 01101001Each character’s bytes on its own line
Hexadecimal48 69Base 16, two digits per byte
Octal110 151Base 8, three digits per byte
Decimal72 105Byte values from 0 to 255
Unicode Code PointsU+0048 U+0069The U+ number of each character
Base64SGk=Text-safe encoding used in email and data URLs
Binary to Text(paste 01001000 01101001) → HiDecodes pasted binary back into letters
Hex to Text(paste 48 69) → HiDecodes pasted hex bytes into letters
Letter by LetterH = 01001000 ↵ i = 01101001Each character next to its binary, for learning

Common Words in Binary

TextBinary (UTF-8)
Hi01001000 01101001
Hello01001000 01100101 01101100 01101100 01101111
I love you01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101
Yes01011001 01100101 01110011
No01001110 01101111
OK01001111 01001011
LOL01001100 01001111 01001100
Help01001000 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.

How Text Becomes Binary

Computers store every character as a number, and every number as bits. The translator follows three steps:

  1. Character to code point. Unicode assigns each character a number. Capital H is U+0048, which is 72 in decimal.
  2. Code point to bytes. UTF-8 turns that number into 1 to 4 bytes. English letters, digits and basic punctuation take 1 byte, accented letters such as é take 2, and most emoji take 4. The rules are defined in RFC 3629.
  3. Bytes to bits. Each byte is written as 8 binary digits. 72 becomes 01001000.
CharacterCode pointBytesBinary
AU+0041101000001
éU+00E9211000011 10101001
€U+20AC311100010 10000010 10101100
😀U+1F600411110000 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.

Binary, Hex, Octal and Decimal Compared

SystemBaseDigitsPer byte“H” as
Binary20–18 digits01001000
Octal80–73 digits110
Decimal100–91–3 digits72
Hexadecimal160–9, A–F2 digits48

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.

Tips and Limits

Want another code? Try the Morse code translator, the upside down text generator or the fancy text generator.

Guides for This Tool

Frequently Asked Questions

How do I translate text to binary?

Type your text into the binary translator. Each character is encoded as UTF-8 bytes and every byte is shown as 8 binary digits, separated by spaces.

How do I convert binary to text?

Paste the binary in groups of 8 bits, with or without spaces, and read the Binary to Text card.

What is “hello” in binary?

Hello is 01001000 01100101 01101100 01101100 01101111 in 8-bit ASCII or UTF-8.

Is this ASCII or UTF-8?

UTF-8. For English letters, digits and basic punctuation the result is identical to ASCII. Other characters use 2 to 4 bytes.

Why does my binary decode to strange symbols?

The input is probably missing or has extra bits, so the bytes are misaligned. Check that the total number of bits is a multiple of 8.

Can I convert binary to hex or decimal?

Yes. Paste binary into the box and the Hexadecimal, Octal and Decimal cards show the same bytes in those bases.