Text to Hex and Binary Converter

Convert text to UTF-8 hex or 8-bit binary and back. Handles non-English characters. Runs in your browser.

About Text to Hex and Binary Converter

Convert text to hexadecimal or 8-bit binary and back. The conversion uses UTF-8 bytes, so a single letter may take more than one byte, for example an emoji or an accented character. Use it to inspect byte values, debug encodings, or write test data.

Hex output is space-separated byte pairs. Binary output is one group of 8 bits per byte. When decoding, spaces are ignored, and 0x prefixes are accepted for hex.

How to use it

  1. Choose the conversion direction.
  2. Paste text, hex pairs or binary groups.
  3. Copy the result.

Questions

Is my text uploaded?

No. Everything runs in your browser; nothing you type or generate is sent to a server.

Why is one character more than one byte?

UTF-8 stores characters outside basic ASCII in two to four bytes. Plain English letters are one byte each.

Why does binary decoding fail?

Binary input must be groups of exactly eight 0 and 1 digits, and the total length must be a multiple of 8.

More Data & Converters tools

Home · All Tools · Blog