How to Convert Text to Binary, Hex, Octal and Decimal (and Back)
Turn words into binary, hexadecimal, octal or decimal codes and decode them again. Works with UTF-8, so symbols and Bangla letters are supported.

Computers store every character as numbers. Students learning how that works, puzzle makers and developers debugging encodings often need to see those numbers. The Binary to Text Converter shows them in four systems and decodes them back.
Quick answer
Type text to get its binary, hex, octal or decimal values, one byte at a time. To decode, paste the values separated by spaces and choose the matching base.
How the conversion works
Each character is first turned into bytes using UTF-8. The letter A is one byte with the value 65, which is 01000001 in binary, 41 in hexadecimal, 101 in octal and 65 in decimal.
Letters outside plain English use several bytes. A Bangla letter such as অ takes three bytes in UTF-8, so you will see three groups for it.
Step by step
- Choose Text to code and select binary, hex, octal or decimal.
- Type or paste your text.
- Copy the output.
- To decode, choose Code to text, paste values separated by a space, and read the text.
Examples
Hi→ binary01001000 01101001Hi→ hex48 69Hi→ decimal72 105
Common mistakes
- Missing spaces between bytes when decoding. Always separate each byte.
- Mixing bases. A value like
10means different things in decimal and binary. - Expecting one byte per character for non-English text.
Where it is useful
Teaching, capture-the-flag puzzles, checking an encoded value in a log, and understanding why a text file looks wrong after being opened with the wrong encoding.
Everything runs in your browser; your text is not uploaded.



