Text to Hexadecimal Converter

Convert any plain text into its hexadecimal byte representation instantly.

Your hexadecimal output will appear here...
Characters: 0
Bytes: 0
Hex pairs: 0

How It Works

This converter takes each character in your input string, encodes it using UTF-8, and then converts every resulting byte into its two-digit hexadecimal equivalent (base-16). For ASCII characters, each maps directly to one byte (e.g., "A" → 65 decimal → 41 hex). Multi-byte characters like emojis or accented letters produce multiple hex pairs (e.g., "é" → c3 a9). The final output concatenates all hex pairs with your chosen separator, giving you a complete hexadecimal representation of the original text.

Frequently Asked Questions

What is hexadecimal representation of text?
Hexadecimal representation of text is the encoding of each character as a two-digit hex number (00-FF) based on its ASCII or UTF-8 byte value. For example, the letter 'A' becomes 41 in hex.
How do I convert text to hexadecimal?
Enter your text into the input field and click Convert. Each character is converted to its corresponding hex byte value using UTF-8 encoding, and the results are displayed as a continuous hex string.
Can I convert Unicode or emoji to hex?
Yes. Since the converter uses UTF-8 encoding, any Unicode character including emojis, accented letters, and symbols from any language can be converted to their multi-byte hexadecimal representation.

Related Tools