Text to Binary Converter
Convert text to binary, hexadecimal, or decimal byte codes, and decode codes back into text. Free, private, and fully client-side.
Text to Binary Converter turns any text into binary, hexadecimal, or decimal byte codes, and converts codes back into readable text, directly in your browser. Full UTF-8 support handles accented letters, non-Latin scripts, and emoji correctly. No upload, no account. Made by FreeToolHub.
Text
Code output
Code
Decoded text
Convert between text and binary, hex, or decimal codes instantly in your browser.
Frequently Asked Questions
How does text to binary conversion work?
Each character in your text is converted to its UTF-8 byte value, and each byte is written out as an 8-bit binary number (00000000-11111111). Characters that need more than one byte, like accented letters or emoji, show up as multiple binary groups.
Is my text uploaded anywhere?
No. All conversion happens locally in your browser using JavaScript. Your text is never sent to any server, so you can safely convert private notes or messages.
Can I convert to hexadecimal or decimal instead of binary?
Yes. Choose Hexadecimal or Decimal from the format selector before converting. Hexadecimal shows each byte as two hex digits (00-FF); decimal shows each byte as a number from 0 to 255.
Why does decoding fail with an invalid input error?
The Binary/Hex/Decimal to Text tab expects one code per byte, separated by spaces, matching the selected format (for example 01001000 for binary, 48 for hex, or 72 for decimal). Extra characters, the wrong digit count, or a mismatched format selection trigger a validation error naming the exact code that failed.
Does this support emoji and non-English characters?
Yes. Text is encoded as UTF-8, the same encoding used across the web, so accented letters, Cyrillic, Chinese, Japanese, Korean, and emoji all convert correctly. They simply use more than one byte per character.
Is this tool free to use?
Yes, this text to binary converter is 100% free with no limits, no sign-up, and no ads.