Text to Binary Converter
Type text to see it as binary (UTF-8 bytes), or switch direction to decode 0s and 1s back into text.
Text Tools
Type text to see it as binary (UTF-8 bytes), or switch direction to decode 0s and 1s back into text.
Computers store text as numbers, and numbers as bits. Converting text to binary takes two steps: each character is turned into one or more bytes using a character encoding, and each byte is written as eight binary digits. This converter uses UTF-8, the encoding used by about 98% of websites, so the output matches what is actually stored in files and sent over the network.
| Character | UTF-8 bytes | Binary |
|---|---|---|
| A | 1 | 01000001 |
| a | 1 | 01100001 |
| space | 1 | 00100000 |
| é | 2 | 11000011 10101001 |
| € | 3 | 11100010 10000010 10101100 |
| 👋 | 4 | 11110000 10011111 10010001 10001011 |
Basic English letters, digits and punctuation take one byte each and match the old 7-bit ASCII codes, which is why "A" is 65 (01000001) in both. Everything else uses two to four bytes. Many simple converters get this wrong and output 16 bits or garbage for an emoji; this one encodes it correctly.
Switch the direction to Binary → Text and paste the bits. Spaces, line breaks and any other characters between the digits are ignored, so you can paste 01001000 01101001 or 0100100001101001. The total number of bits must be a multiple of eight, and the bytes must form valid UTF-8, otherwise the tool tells you what is wrong instead of producing random symbols.
Text to Hex, Base64 Encode/Decode, Hash Generator, URL Encode/Decode.