Free text to binary converter
Type binary followed by your text, then press Enter. The terminal converts it to UTF-8 binary: eight bits per byte. No account or download needed.
readme.txt — examples & how it works
How to convert text to binary
Enter binary hello at the prompt. Replace hello with your own words, numbers, punctuation, or emoji. Select the output to copy it. Each space-separated group contains eight bits and represents one byte.
The command uses UTF-8. Basic ASCII characters have the same values in UTF-8: A is decimal 65, or binary 01000001. Accented letters and emoji can require more than one byte.
Use quotation marks to preserve leading or trailing spaces: binary " hi ". The outside quotation marks are command syntax, so they are not included in the converted text.
Text to binary examples
binary A01000001
binary Hi01001000 01101001
binary café01100011 01100001 01100110 11000011 10101001
binary 👋11110000 10011111 10010001 10001011
Convert binary back to text
Type decode followed by the bits. For example, decode 01001000 01101001 returns Hi. You can paste byte groups with spaces or a continuous sequence of bits.
The total number of bits must be a multiple of eight, and the bytes must form valid UTF-8 text. Some binary data represents images, audio, or another text encoding, so it will not decode as UTF-8.
Is text to binary conversion free?
Yes. Both binary and decode are free to use without signing in. They run in your browser. This converter accepts up to 4,096 UTF-8 bytes per conversion; byte count can differ from character count.
Is binary the same as encryption?
No. Binary is a way to represent data using 0 and 1. Encoding text as UTF-8 does not keep it secret: someone using the same encoding can turn those bytes back into text.
Why do uppercase and lowercase letters give different binary?
They are different characters. Uppercase A is 01000001; lowercase a is 01100001. Spaces and punctuation also have their own encoded values.
Read more: MDN Encoding API. Practise number conversions, shifts, and bytes in the binary and hexadecimal quiz.
↑ ↓ recall commands · Tab autocomplete · Enter run
