Text to Binary / Hex Converter
Convert text to binary, hex, octal, or decimal β and back again.
What is Text to Binary / Hex Conversion?
Computers store and process all data as numbers. Each character in a text string corresponds to a numeric code defined by an encoding standard such as ASCII or Unicode (UTF-8). This tool encodes text by converting each character's code point into alternative number bases: binary (base 2) uses only 0s and 1s, hexadecimal (base 16) uses digits 0β9 and AβF, octal (base 8) uses digits 0β7, and decimal (base 10) is the familiar everyday system. The tool also decodes these formats back to readable text.
These conversions are commonly needed in programming, computer science education, network debugging, and digital forensics. All processing happens entirely in your browser β nothing is sent to any server, and no data leaves your device.
How to Use
- Choose a direction: Text β Encoding to convert readable text, or Encoding β Text to decode.
- Type or paste your input into the text area.
- Select which output formats you want (binary, hex, octal, decimal).
- Click β¨ Convert to see the result. Use the copy buttons to grab individual outputs.