Convert plain text to hexadecimal instantly in your browser. Each character's Unicode code point encoded as a hex byte. Swap to Hex→Text in one click. Client-side.
The Text to Hex converter encodes each character in the input string to its hexadecimal representation using `charCodeAt`. Each character's UTF-16 code unit is written as a two-digit hex pair, space-delimited. Both editors are live — swap to Hex→Text with one click.
QIs the output UTF-8 or UTF-16 hex?
The conversion is based on charCodeAt() which returns the UTF-16 code unit. For ASCII characters (0-127) the result is identical to UTF-8 hex.
QIs my data sent to a server?
No. All conversion runs in your browser.