Convert text to binary, hexadecimal, decimal, or octal — and back again — in your browser. 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
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.