About the Text ↔ Hex Converter
Convert text to its hexadecimal byte representation using UTF-8, or decode hex back to text. Choose a separator (space, none, colon or comma) and upper- or lower-case digits.
When decoding, 0x prefixes, spaces, colons and line breaks are ignored, so you can paste hex dumps from debuggers, packet captures or byte-array literals.
How to use it
- Choose Encode or Decode.
- Paste text or hex.
- Copy the result.
Features
- UTF-8 encoding
- Custom separators and case
- Lenient hex input
Frequently asked questions
Why does one character produce several bytes?
UTF-8 uses one byte for ASCII and two to four bytes for other characters, so é becomes c3 a9 and ✓ becomes e2 9c 93.
Is my data uploaded anywhere?
No. All processing happens in JavaScript inside your browser tab. Your input is never sent to a server, logged or stored, so it is safe to use with internal or sensitive data.