Binary Translator
Convert text to binary or hex, and binary or hex back to text.
Runs in your browser — nothing is uploaded
Detected: text → binary
Binary (UTF-8)
01001000 01100101 01101100 01101100 01101111 00100000 11110000 10011111 10010001 10001011
How to use Binary Translator
- 1
Choose Binary or Hex.
- 2
Type text to encode it, or paste binary or hex to decode it. Auto-detect picks the direction, and the hint under the box says which one it chose.
- 3
Pick a direction yourself with Text → binary or Binary → text if auto-detect guesses wrong.
- 4
Select Copy to copy the result.
About this tool
Computers store text as bytes, and this tool shows those bytes. Each character is first encoded as UTF-8, the encoding used by almost every website. Plain English letters take one byte each, so “A” becomes 01000001 in binary or 41 in hex. Accented letters take two bytes, most other scripts take two or three, and emoji take four, which is why “👋” becomes four groups of eight bits.
To decode, the tool strips spaces, checks that the binary comes in whole bytes of eight bits (or the hex in pairs of digits), and reads the bytes back as UTF-8. If the bytes are not valid UTF-8, usually because a digit is missing or extra, it tells you instead of showing garbled text. Hex input may include 0x prefixes, colons or dashes between bytes.
Auto-detect treats input made only of 0s, 1s and spaces in multiples of eight as binary. For hex it needs byte pairs separated by spaces, or a run of hex that contains at least one digit, so a word like “cafe” is still read as text. Everything runs locally in your browser.
Questions people ask
How do you write “hello” in binary?
In UTF-8 (and ASCII) it is 01101000 01100101 01101100 01101100 01101111, one 8-bit byte per letter.
Why does an emoji turn into 32 bits?
UTF-8 stores emoji in four bytes, and each byte is eight bits, so one emoji needs 32 binary digits.
What is the difference between binary and hex?
They show the same bytes. Binary writes each byte as eight 0s and 1s; hexadecimal writes it as two digits from 0–9 and A–F, which is shorter to read.
Is this ASCII or UTF-8?
UTF-8. For plain English letters, digits and punctuation the result is identical to ASCII.
Related tools
- Base64 Encode & DecodeEncode and decode Base64 text, or turn any file into a data URL.
- URL Encode & DecodePercent-encode text for a URL, or decode an encoded URL back to text.
- Fancy Text GeneratorType once and copy your text in over twenty Unicode styles.
- Word CounterCount words, characters, sentences and reading time as you type.
- Character CounterCount characters as you type and see how much room is left under a limit.
- Case ConverterChange text to upper, lower, title, sentence or programming case in one click.