Binary Code Translator

Convert text and byte sequences live between binary, hexadecimal, decimal, and octal. The conversion runs directly in your browser.

Binary Code Translator

What this tool does

The Binary Code Translator converts text and byte sequences between binary, hexadecimal, decimal, and octal.

For text data, it supports UTF-8, ASCII, and UTF-16 in little-endian or big-endian byte order.

How to use the tool

  1. Choose the character encoding and the source and target formats.
  2. Enter text or byte values in the left field; the output updates while you type.
  3. Use the swap button to convert a result back in the opposite direction.

Useful applications

  • Check binary byte sequences from technical documentation as readable text.
  • Compare binary, hexadecimal, decimal, or octal values while testing or troubleshooting.
  • Transfer known ASCII or UTF-8 test data into a different byte representation.

Notes and limitations

  • Binary, hexadecimal, decimal, and octal input is interpreted as individual bytes. Decimal and octal values must be separated with spaces or commas.
  • ASCII accepts values from 0 to 127 only. UTF-16 byte order is not detected automatically, so choose little endian or big endian to match the source.

Frequently asked questions

Why is my binary input rejected?

The input must contain only 0 and 1 and must make up a whole number of bytes. Each byte has eight binary digits.

Can every byte sequence be read as text?

No. The selected character encoding must match the byte sequence. Invalid UTF-8 or UTF-16 sequences are therefore not displayed as text.