Text to Binary / Hex / Octal
How to use Text to Binary / Hex / Octal
Select a conversion mode (e.g. Text → Binary). Type or paste input. The output updates in real-time. For reverse conversions, paste space-separated binary, hex, or octal values. Use Copy to copy the result.
Features
- Six conversion modes
- UTF-8 encoding support
- Real-time bidirectional conversion
- Space-separated readable output
- Copy and clear buttons
Frequently Asked Questions
What encoding is used for text?
The tool uses UTF-8 encoding via the TextEncoder/TextDecoder APIs. This correctly handles ASCII and multi-byte Unicode characters.
How is the output formatted?
Binary output is space-separated 8-bit groups, hex is space-separated 2-digit pairs, and octal is space-separated 3-digit groups.
Can I convert binary back to text?
Yes. Switch to the Binary → Text, Hex → Text, or Octal → Text mode and paste space-separated values. The text appears in real-time.