Hex Encode/Decode
Convert text to hexadecimal, or decode hex back to text. Unicode-safe.
Convert text to hexadecimal, or decode hex back to text. Unicode-safe.
Type or paste text (or hex) into the box, then click Encode or Decode.
Yes - it uses TextEncoder/TextDecoder rather than a naive charCodeAt loop, so multi-byte Unicode characters round-trip correctly.
Lowercase hex pairs, one per byte, separated by spaces.
No, conversion runs entirely in your browser.
30 visits