Text to Binary, Octal & Hex
Convert text to binary, octal, decimal and hexadecimal — and back again. Every field is live and editable, with delimiter, padding and uppercase options.
Edit any field below — the others update instantly. Everything runs on your device over UTF-8; nothing is uploaded.
About Text to Binary, Octal & Hex
This tool converts text to binary, octal, decimal and hexadecimal — and converts any of those number systems back to readable text. All five fields are live and editable: type in one and the other four update instantly, character by character.
Under the hood each character is encoded as UTF-8 bytes, and each byte is shown in the base you choose. The letter “H”, for example, is 01001000 in binary, 110 in octal, 72 in decimal and 48 in hex. Options control the separator between values, zero-padding to a fixed width, and uppercase or lowercase hex digits.
It is handy for programming exercises, debugging encodings, reading binary messages or preparing data for low-level protocols. Everything runs on your device — nothing you type is uploaded.
How to use Text to Binary, Octal & Hex
- Type or paste your text into the Text field — the binary, octal, decimal and hex fields fill in live.
- Or paste values into any base field (for example binary) to decode them back into text.
- Choose a separator — space, comma, new line or none — for the number output.
- Toggle zero-padding for fixed-width values (e.g. 01001000) and uppercase hex if you prefer FF over ff.
- Click Copy next to any field, or use Load sample and Clear to experiment.