Text to Hex Converter
Encode plain text into a hexadecimal string instantly.
Plain Text Input:
Hex Output:
How to Encode Text to Hex Online
Type or paste plain text into the box above and it converts to a hexadecimal string instantly. The text is UTF-8 encoded first, then each byte is represented as a two-digit hex pair separated by a space, so accented letters, symbols, and emoji all encode correctly.
Example
Typing Hello encodes to 48 65 6c 6c 6f.
Common Use Cases
- Generating hex test data for network protocols, firmware, or low-level programming.
- Embedding a short message as hex bytes in a config file or memory dump.
- Creating hex-encoded strings for puzzles, CTF challenges, or escape rooms.
FAQs
Why is each character shown as two hex digits?
A single byte (8 bits) is always represented by exactly two hex digits, since each hex digit covers 4 bits — so two digits together cover a full byte's range of values.
Does this support special characters and emoji?
Yes — the input is UTF-8 encoded before conversion, so accented letters, symbols, and emoji encode correctly, sometimes producing multiple hex byte pairs per character.
Does this tool also decode hex back to text?
This page is encode-only, for a simpler, focused experience. Use our separate Hex to Text tool if you need to convert a hex string back into plain text.
