Text to Hex
Convert text to hex instantly. For example, "Hi" becomes "48 69".
Text to Hexadecimal — quick reference
| Text | Hexadecimal |
|---|
How to use the Text to Hex
- Type or paste your text on the left.
- Read the hexadecimal result on the right.
- Copy the result, or check the reference table below.
About the Text to Hex
This tool converts text into Hexadecimal codes. Every character on a computer has a numeric code point — the letter A is 65, a space is 32 — and this converter shows those codes in Hexadecimal. Type on the left and the result appears instantly.
Worked example. Each character becomes its code point in Hexadecimal. The letter H is code point 72, which is 48, and i is 105, which is 69 — so "Hi" becomes "48 69".
The codes are separated by spaces, one per character, so you can read them straight across. This is the standard way to inspect or hand-build text at the byte level — useful when debugging an encoding, reading a hex dump, or writing an escape sequence. Everything runs in your browser, so nothing you type is uploaded. For the opposite direction use the Hexadecimal to Text converter, and see also text to binary and the ASCII converter.
Frequently asked questions
How does "Hi" convert to Hexadecimal?
"Hi" becomes "48 69": H is 48 and i is 69.
Are the codes separated by spaces?
Yes. Each character produces one Hexadecimal code, separated by a single space.
Does this work with letters, digits and symbols?
Yes. Every character with a Unicode code point is supported, including letters, digits, punctuation and spaces.
Is anything uploaded?
No. The conversion happens in your browser with JavaScript and nothing you enter leaves your device.

