Text to binary converter
Convert text to binary or hex and back, Hindi and emoji included.
About the Text to Binary Converter tool
This converter turns text into binary code, 8 bits (0s and 1s) per byte, and can also convert text to hexadecimal and decode binary or hex back to text. It uses UTF-8, so English letters take 1 byte, Hindi letters 3 bytes and most emoji 4 bytes. For example, "भारत" is 4 Unicode characters, so it becomes 12 bytes, or 96 bits. Conversion happens as you type, on your device, and the result can be fed straight back in to check it.
At a glance
- Encoding
- UTF-8: 1 byte per English letter, 3 per Hindi letter, 4 for most emoji
- Output
- 8 binary digits per byte, with or without spaces
- Modes
- Text → Binary, Binary → Text, Text → Hex, Hex → Text
- Price
- Free, no sign-up
- Works in
- Your browser, on phone or computer. Works offline after the first visit.
- Privacy
- What you type never leaves your device.
How to convert text to binary
- Choose Text → Binary (or another conversion).
- Type or paste your text.
- Copy the binary, or press "Use as input" to convert it back.
Private
Your text stays in your browser and is never sent to a server.
Instant
Results update as you type, with nothing to install.
Free
No sign-up, no limits and no ads inside your writing space.
Text to Binary Converter: frequently asked questions
How do I convert text to binary?
Type your text with Text → Binary selected and copy the result. Each character becomes its UTF-8 byte value written in base 2: "Hi" is H = 72 = 01001000 and i = 105 = 01101001, so "01001000 01101001".
Why does one Hindi letter become 24 bits?
UTF-8 stores each Hindi letter in 3 bytes, and 3 × 8 = 24 bits. For example, "न" is e0 a4 a8 in hex, or 11100000 10100100 10101000 in binary.
Is text to binary the same as ASCII to binary?
Yes for English letters, digits and punctuation, because UTF-8 uses the same codes as ASCII for them: "A" is 01000001 either way. Only characters outside ASCII, such as Hindi or emoji, take more bytes.
What is the difference between binary and hex?
Both write the same bytes; binary uses 8 digits (0–1) per byte and hex uses 2 digits (0–9, A–F). "Hi" is 01001000 01101001 in binary and 48 69 in hex.
Is my text sent anywhere?
No. Everything runs in your browser and your text never leaves your device. Nothing is stored on any server.



