Text to Hex Converter

Convert text to hexadecimal, one byte at a time. UTF-8 aware, with upper or lower case and a choice of byte separator.

Independently verified for accuracy

Calculator by Toolsloft ↗
Hex
48 65 6c 6c 6f

Convert text into hex, one two-digit value per byte. Choose upper or lower case digits and pick the separator, whether you want spaces between bytes or none at all. Non-ASCII characters like accents and emoji are encoded as UTF-8 bytes so nothing is lost.

How this is calculated

The text is encoded to UTF-8 bytes, and each byte is written as a fixed two-digit base-16 value (00 to ff). Bytes are joined with the delimiter you choose. Using UTF-8 keeps the output consistent with byte-level tools and lets it round-trip back to the original text.

How to use

  1. Type or paste the text you want to encode.
  2. Choose upper or lower case and the byte separator.
  3. Copy the hex output.

Examples

  • ASCII: Hi becomes 48 69
  • Accented letter: é becomes c3 a9 (two UTF-8 bytes)

FAQ

How are emoji and accented characters handled?
They are encoded as UTF-8, which can be several bytes per character, so each byte shows as its own two-digit hex value.
Can I get the output without spaces?
Yes. Set the separator to none and the bytes are joined into one continuous hex string.

Embed this calculator

Add this free calculator to your own site. Copy the code and paste it where you want it to appear.