Text → HEX
Encode text into hexadecimal
Choose spacing, per-line, or continuous output. Select uppercase or lowercase HEX.
HEX output
Hex string and per-character details.
Text to HEX converter
Use this text to hex converter to encode any string into hexadecimal bytes. Good for debugging, networking, encoding lessons, and quick dev checks. Keywords: text to hex converter, encode string as hex, online text to hex tool.
How text to hex works
We encode your text to bytes using UTF-8, then render each byte as a two-digit hex value. Example: “Hello” → 48 65 6C 6C 6F.
How to use this converter
- Paste your text into the input box.
- Pick the hex format (spaces, continuous, or per-line) and letter case.
- Click Convert to HEX.
- Copy the hex string or review the character-to-byte table.
FAQ – Text to HEX
What encoding do you use?
UTF-8 by default.
Will emojis and non-English chars work?
Yes, UTF-8 encodes them as multi-byte hex sequences.
What’s the difference between continuous vs spaced hex?
Continuous has no separators; spaced shows each byte separated for readability.
Is this free?
Yes—no login required.
Does this work on mobile?
Yes, fully responsive.