Hex ↔ UTF-8 Encoder & Decoder
Encode plain text as UTF-8 hex bytes, decode flexible hex strings (spaces, line breaks, commas, 0x prefixes), and inspect decimal byte values. Nothing is uploaded.
100% local — your data never leaves this device
Encoding uses UTF-8. Decoding strips everything that is not a hex digit, so spaced groups, commas, 0x prefixes, and line breaks are all fine.
Byte view
Encode or decode to see UTF-8 length and decimal bytes.
How to use Hex Encoder & Decoder
- 1Type or paste text and click Text → hex to see each UTF-8 byte as two hex digits.
- 2Paste a hex dump and click Hex → text to recover the original string.
- 3Choose separator and letter case for hex output; the byte view shows length and decimal values.
- 4Use Swap to chain steps; Copy sends the output to your clipboard.
Privacy
Encoding and decoding use TextEncoder, TextDecoder, and simple parsing in your browser only. No network requests are made.
🔒 Processed locally in your browser. Your input is never sent to a server.