Text to Hex Converter
Encode plain text as space-separated hexadecimal bytes.
Quick answer: enter your details below and click Convert to Hex — your result appears instantly, right here in your browser. Nothing you enter is uploaded or stored.
T
Converters & Utilities
Enter your details below.
How to use
- Type or paste your text.
- Click Convert to Hex.
- Read the byte pairs from left to right.
- Copy the hex string for your log or test.
About this tool
Type any text and see each UTF-8 byte written as two hex digits, separated by spaces. It is useful for debugging encodings, checking what a system really received, or learning how characters map to bytes. Accented letters and emoji use more than one byte, so their hex output is longer than one pair per character.
Frequently asked questions
Why is an emoji longer than two hex digits?
UTF-8 encodes emoji with several bytes, so one visible character can produce several hex pairs.
Are uppercase and lowercase hex the same value?
Yes. Hex digits a to f mean the same in either case; this tool uses lowercase pairs.