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
- Enter text or a hex string
- Choose the conversion direction
- 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
Base64 Encoder / DecoderFree online Base64 encoder and decoder built on UTF-8 bytes — non-Latin text and emoji round-trip cleanly, all local.URL Encoder / DecoderFree online URL encoder and decoder following RFC3986 percent-encoding, with clear errors for truncated % sequences.Unicode Escape ConverterFree online Unicode escape converter: text to \uXXXX and back, with correct UTF-16 surrogate pairs for emoji.HTML Entity Encoder / DecoderFree online HTML entity encoder and decoder: named, decimal and hex forms, both ways — show code safely, fight XSS.
Last updated 2026-09-04