123024.com · UTF-8

UTF-8 Hex Converter

UTF-8 is the most common character encoding on the web: Latin letters are usually 1 byte; common Chinese characters are often 3. Turning text into a hex byte sequence shows what is stored and transmitted — useful for mojibake, packet captures, and protocol debugging.

What it solves

When a capture tool shows bytes like e4 b8 ad e6 96 87, this tool can restore readable text. You can also inspect UTF-8 bytes for a string to check length, truncation, or wrong decoding.

Everything runs in the browser. If results look wrong, check for stray spaces or commas, or whether the source is actually GBK or another encoding.

Tips

  • UTF-8 is encoding, not encryption — do not confuse it with Base64 or hex dumps as security.
  • A BOM (EF BB BF) at the file start can make the first character look wrong — watch for it when debugging.