Binary / Hex Converter

Convert text to binary, hex and octal representations and back.

How to use this tool

  • Type or paste text.
  • View live binary, hex and octal columns.
  • Paste codes into the right column to decode back.

How it works

TextEncoder produces UTF-8 bytes which format into base-2, base-16 and base-8 with consistent column separation.

Tips

  • Group hex pairs for byte-oriented debugging.
  • Binary columns are long — hex is usually the practical view.

Limitations

Decoding expects consistent byte separators; malformed input is rejected with feedback.

Frequently asked questions

How is text converted to binary?

Each UTF-8 byte becomes an 8-digit binary number; bytes separate by spaces.

Can I also get hex?

Yes — binary, hex and octal views generate simultaneously.

Will Unicode work?

Yes — UTF-8 byte encoding handles emoji and accented characters.