CaseWren

UTF-8 Encoder & Decoder

See the bytes behind text in four formats, both directions.

e.g. 中 → \xE4\xB8\xAD
0 Characters · 0 Words · 0 Lines

About the UTF-8 Encoder & Decoder

A single Chinese character is three bytes; an emoji is four. This tool makes UTF-8 visible: type any text and watch it become byte sequences in the format your stack speaks — JavaScript-style \xNN escapes, URL percent-encoding, plain hex pairs, or decimal byte values.

Decoding runs in the same view: paste a byte sequence in the selected format and read the text it encodes. Malformed sequences — truncated multibyte characters, invalid hex — are rejected with a precise error instead of mojibake, which makes the tool handy for debugging encoding bugs in logs and packet captures.

How to use it

  1. 1Pick the byte format your data uses: \xNN, %NN, hex pairs or decimal.
  2. 2Type text to see its UTF-8 bytes in the left output.
  3. 3Or paste a byte sequence to decode it in the right output.

Frequently asked questions

Related tools

Search CaseWren tools

Search all 147 tools…