Text to Binary / Hex / Octal Converter
Convert plain text into binary, hexadecimal, or octal byte values, or decode a space-separated list of those values back to text.
Frequently asked questions
Is this the same as ASCII encoding?+
For standard English text, yes, the byte values match ASCII. It actually encodes via UTF-8, so non-ASCII characters (accented letters, emoji) convert correctly too, just using more than one byte per character.
Why does each character in the binary output show as 8 digits?+
Each group represents one byte, and a byte is 8 bits, so it's padded with leading zeros to a consistent 8-digit width for readability, even for characters whose numeric value is small.
Can I decode hex or octal values that came from a different tool?+
Yes, as long as they're byte values (0-255 each) separated by spaces, this decodes them back to text regardless of which tool originally produced them.