Text to Binary Converter
Turn text into binary, hex, decimal or octal bytes, or turn those codes back into text.
Features
- Binary, hex, decimal and octal
- Both directions
- Works with accents and emoji (UTF-8)
- Runs on your device
How to use Text to Binary Converter
- Choose the direction and the format.
- Type your text or paste your codes.
- Copy the result.
Frequently asked questions
How is text turned into binary?
Each character is stored as one or more bytes, and each byte is shown as eight zeros and ones. The letter A is 01000001.
What about accents and emoji?
The tool uses UTF-8, the standard on the web. Characters outside plain ASCII use two to four bytes, so one emoji gives several codes.
How do I decode binary, or convert binary to text?
Choose Code to text, pick Binary and paste the bytes separated by spaces. 01001000 01101001 becomes Hi. Each code must be a number from 0 to 255. Hex to text and decimal to text work the same way.
How do I convert text to hex or decimal?
Choose Text to code, then pick Hex or Decimal. The text Hi is 48 69 in hex and 72 105 in decimal.
What is the difference with Base64?
Binary, hex and decimal show every byte on its own. Base64 packs bytes into a shorter text. For that, use the Base64 tool.