Text to Binary Converter

Translate text into binary (or hex or decimal) and decode it back. Emoji and accents are supported using UTF-8.

Free · Runs in your browser · Your text is never uploaded

The letter A converted to its binary code 01000001

How text becomes binary

Computers store text as numbers. Each character is first mapped to a code (Unicode), then written as one or more bytes in UTF-8. Every byte is eight binary digits (bits). For example “H” is 72, which is 01001000, and “i” is 105, which is 01101001, so “Hi” is 01001000 01101001.

Plain English letters take one byte each, accented letters take two (é is 11000011 10101001), and most emoji take four. When converting back, bytes can be separated by spaces or commas, or pasted as one long unbroken string of bits (multiples of eight digits). Hex input can include 0x prefixes.

Popular text to binary converter presets

Frequently asked questions

How do I convert text to binary?

Type your text with “Text to binary” selected. Each character becomes one or more 8-digit groups.

How do I convert binary back to text?

Select “Binary to text” and paste the groups of 0s and 1s. They can be separated by spaces or run together.

Why do some characters produce more than 8 bits?

Characters outside basic ASCII use several bytes in UTF-8, each shown as an 8-bit group.

What is the difference between binary and hex?

Hex writes the same bytes more compactly: two hex digits per byte instead of eight binary digits.