Text to Hex Converter

Convert words, symbols, and emoji into UTF-8 hexadecimal bytes.

Hexadecimal
UTF-8 Space separated

Ready

How to convert text to hex

Example EncodeLab 45 6e 63 6f 64 65 4c 61 62
  1. Text is encoded into UTF-8 bytes by your browser.
  2. Each byte becomes two hexadecimal digits from 00 through FF.
  3. Spaces keep each byte visually separate without changing its value.

Hexadecimal bytes and text

Each pair of hex digits represents one byte. For example, A is 41 in ASCII and UTF-8, while the word Hi is 48 69. UTF-8 symbols and emoji may need multiple byte pairs.

Spaces and 0x notation

This tool displays byte pairs with spaces for readability. The bytes keep the same value without spaces; when sharing individual values, 0x41 is another common way to write hex 41.

Text to hex versus a hex number converter

Text to Hex Converter writes one or more UTF-8 bytes for each character. Hex to Decimal works with one whole number, so FF means 255 there; it does not mean the text character FF.

Related tools

Frequently asked questions

What encoding is used?

This converter uses UTF-8.

Is my input uploaded?

No. EncodeLab performs this conversion locally in your browser. Your input is not sent to an EncodeLab server or stored by us.

Is hexadecimal the same as ASCII?

No. Hexadecimal is a number notation; ASCII is a character encoding. This tool displays UTF-8 bytes in hex.

Can I copy hex without spaces?

The displayed result uses spaces for readability; you can remove them without changing the underlying bytes.