Encoding & Extraction

Text to Hex

Text to Hex displays UTF-8 text bytes as hexadecimal pairs and can decode valid pairs.

Try text to hex

Paste or type text below. The result updates in your browser.

Example: text to hex

Input
A
Illustrative result
41

How to use this tool

  1. Choose text-to-hex or hex-to-text.
  2. Paste text or space-separated hex byte pairs.
  3. Check whether decoding reproduces your original text.

What a pair means

The encoder first obtains UTF-8 bytes and then writes each byte as two hexadecimal digits. The ASCII letter “A” is “41”; a non-ASCII character can need several pairs. This is a byte view, not a Unicode-code-point listing or a color-code generator.

Decoding a byte list

The reverse direction expects space-separated two-digit hexadecimal byte values and decodes the resulting bytes as UTF-8. Incorrect groups or invalid UTF-8 produce an error. The tool does not infer a different character encoding from the input.

Use the right view

Hex is concise for examining byte sequences and comparing a short encoded value. Text to Binary shows the same bytes with eight bits per group. Unicode Inspector lists U+ code points, which may be easier for comparing apparently identical characters or combining marks.

Questions people ask

Is one hex pair one character?

No; one pair is one byte, and a character may use several bytes.

Can it decode non-UTF-8 data?

No; decoded bytes must form valid UTF-8 text.

Is hex a secure cipher?

No; it is a readable byte notation.