Convert text to binary, hexadecimal, decimal, or octal — and back again — in your browser. Common conversions include text to binary, binary to text, text to hex, and text to ASCII. Conversions are UTF-8 byte based, so emoji and accented characters round-trip correctly. Swap directions with one click.
How to use Text to Binary / Hex / ASCII
Pick a direction (Text → Code or Code → Text) and a base.
Enter your text or space-separated codes.
Copy the converted output, or Swap to go the other way.
Frequently asked questions
How do I convert text to binary?
Set the direction to Text → Code with the base set to Binary, type your text, and copy the space-separated binary output (one group per UTF-8 byte).
How do I convert binary to text?
Switch to Code → Text (or hit Swap), paste space-separated binary such as 01001000 01101001, and read the decoded text.
Is the conversion based on bytes or characters?
It encodes text to UTF-8 bytes first, so each group represents one byte. This handles emoji and non-ASCII characters correctly, where a single character may span multiple bytes.
What format should I paste for decoding?
Space-separated values in the chosen base — for example "01001000 01101001" for binary or "48 69" for hex. Commas are also tolerated.