UTF-8 Text to Hex Converter
Inspect the byte representation of text.
Result
How to use
- Paste the text you want represented as hexadecimal bytes and compare with a short known sample.
- Select Convert to generate the output.
- Review the output before copying it.
How it works
Inspect the byte representation of text. Encode the input as UTF-8 bytes and write each byte as two hexadecimal digits.
Formula or processing rules
Encode the input as UTF-8 bytes and write each byte as two hexadecimal digits.
Worked example
AB encodes as bytes 41 42 in hexadecimal.
| Measure | Value |
|---|---|
| Source text | AB |
| Result | 41 42 |
Pros and cons
Pros
Inspect the byte representation of text. The sample provides an immediate check of the expected output.
Cons
Unicode characters can occupy more than one byte. Hex is an encoding, not protection for sensitive text.
Limitations and troubleshooting
Check the required character encoding before comparing with an external byte dump.
Decode the hex result as a check
Frequently asked questions
Why can one character produce several byte pairs?
Some characters use multiple bytes in UTF-8. Hex shows the encoded bytes, so its length need not match the number of characters.
What rule does the UTF-8 Text to Hex Converter apply?
Encode the input as UTF-8 bytes and write each byte as two hexadecimal digits.
What should I see in the UTF-8 Text to Hex Converter example?
AB encodes as bytes 41 42 in hexadecimal.
What should I verify after using UTF-8 Text to Hex Converter?
Unicode characters can occupy more than one byte. Hex is an encoding, not protection for sensitive text.
Is my input stored by the tool?
The transformation is computed in the open page. The tool does not save the submitted text.