Convert text to its UTF-8 bytes in hex and back. It helps inspect invisible characters, BOMs, CRLF line breaks or emoji, which take several bytes.
Decoding accepts spaces, colons and a 0x prefix; it requires an even number of digits and warns when the bytes are not valid UTF-8.
How to use it
- Choose Encode or Decode.
- Paste the text or hex bytes.
- Press Run.
Example
Año 2025 ✓ 41 c3 b1 6f 20 32 30 32 35 20 e2 9c 93 Limitations
- UTF-8 only: no conversion to other encodings like Latin-1.
- For non-text bytes use Base64 with hex output or the file hash tool.
FAQ
- Why does “ñ” take two bytes?
- In UTF-8, characters beyond ASCII take 2 to 4 bytes. “ñ” is c3 b1.
- Does it accept a leading 0x?
- Yes, and spaces or colons between bytes too.