WebTool

UTF-8 / Hex Converter

Free online UTF-8 to Hex converter: text to hex bytes (中 -> e4 b8 ad) and back, with byte validity checks — local.

Privacy: all processing happens locally in your browser. Your input never leaves your device.

What is UTF-8 / Hex Converter?

Analyzing network packets, hash values or binary protocols often means converting between strings and their hexadecimal byte representation. This tool encodes text to a hex byte string in UTF-8 (for example 中 -> e4 b8 ad) and converts hex back to text, validating that the byte sequence is legal UTF-8 so you never decode garbage.

How to Use

  1. Enter text or a hex string
  2. Choose the conversion direction
  3. Copy the result

FAQ

Why does one Chinese character produce 3 hex bytes?
Common Han characters take 3 bytes in UTF-8 — 中 is E4 B8 AD. In GBK they take 2 bytes, so keep the encoding scheme in mind.
What hex input formats are accepted?
Space- or comma-separated or continuous hex, optionally with 0x prefixes — the tool normalizes it automatically.

Related Tools

Last updated 2026-09-04