My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

Text to HEX

Encode text as hexadecimal UTF-8 byte pairs.

Text conversions use UTF-8 bytes. For decoding, enter complete byte values.

How to use this tool

Enter text and process it to see two hex digits for each UTF-8 byte.

Important to know

Encode text as hexadecimal UTF-8 byte pairs.

This encodes bytes rather than Unicode code points. Up to 10,000 input bytes are supported.

Formula and methodology

Encode the text as UTF-8; express each byte as two base-16 digits from 00 to FF.

Example

The word Hi becomes 48 69.

Frequently asked questions

Why can one character have multiple hex pairs?

Characters outside ASCII often require two to four UTF-8 bytes.