Text to binary converter

TX-12Text

Convert text to ones and zeros (UTF-8) and back, with a hex preview.

Direction
Hexadecimal
48 65 6C 6C 6F
Decimal
72 101 108 108 111
Bytes
5

Last updated: October 2026 · Report a calculation error

How to convert text to binary

Computers store every character as one or more bytes, and each byte is 8 bits — zeros and ones. The tool encodes text in UTF-8, the most common standard on the web, and shows each byte as 8 binary digits, plus hexadecimal and decimal.

Example: the letter A is 01000001 (65 in decimal). The word “Café” takes 5 bytes, because “é” needs two.

How many bytes a character takes in UTF-8

CharactersBytesExamples
Latin letters, digits, basic symbols1A, z, 7, @
Accented letters, Cyrillic, Greek2é, ł, ж, Ω
Most Asian characters, € sign3日, €
Emoji4😀

Decoding binary

In “Binary → text” mode, paste bytes separated by spaces (or a string of zeros and ones whose length is a multiple of 8). If the sequence isn’t valid UTF-8 — for example the second byte of an accented letter is missing — the tool will tell you.

Frequently asked questions

How do I turn a binary byte into a number?

Each position is a power of two from the right: 1, 2, 4, 8, 16, 32, 64, 128. 01000001 = 64 + 1 = 65. Convert any number with the number base converter.

What’s the difference between ASCII and UTF-8?

ASCII covers 128 characters (no accents) in 7 bits. UTF-8 is identical for those characters and stores everything else in Unicode with 2–4 bytes.

See alsoWhole category

  1. TX-01Character and word counterCount characters, words, sentences and paragraphs in any text.
  2. TX-02Lorem Ipsum generatorGenerate Lorem Ipsum placeholder text by paragraphs, sentences or words.
  3. TX-03Case converterConvert text to UPPERCASE, lowercase, Title Case or sentence case.
  4. TX-04Sort lines and remove duplicatesSort lines alphabetically, reverse their order or remove duplicate lines.