UTF-8 Encoder

Your data never leaves your browser

Show the UTF-8 byte sequence (hex) for any text string.

Brie — Bug Reporting Tool

Dealing with encoding issues in production?

Brie captures the full network request/response chain so you can see exactly where encoding breaks.

About UTF-8 Encoder

Encode any text to its UTF-8 byte representation displayed as hex pairs. Uses the browser's built-in TextEncoder API to accurately produce the standard UTF-8 encoding for every character, including multi-byte Unicode characters, emojis, and CJK scripts.

How to use

  1. Paste or type your text into the input panel.
  2. The UTF-8 hex byte sequence appears in the output panel.
  3. Each byte is shown as a two-digit hex value separated by spaces.

More Encoding / Decoding

Frequently Asked Questions

FAQs about UTF-8 Encoder

What is UTF-8 encoding?

UTF-8 is a variable-length character encoding that can represent every character in the Unicode standard. ASCII characters use one byte; characters with higher code points use two, three, or four bytes.

Why do some characters produce more than one byte?

UTF-8 uses between 1 and 4 bytes per character. Basic Latin (ASCII) characters are 1 byte, extended Latin and most scripts are 2–3 bytes, and emoji and rare characters are typically 4 bytes.

What does the output format look like?

Each byte is shown as a two-character hexadecimal value (00–FF) separated by spaces. For example, the letter "A" encodes to 41, and "€" encodes to E2 82 AC.

Is UTF-8 the same as Unicode?

No. Unicode is the character set (assigning a code point to every character). UTF-8 is one of several encodings that represent Unicode characters as bytes. UTF-16 and UTF-32 are alternatives.

Is my data safe?

Yes. All encoding is done locally in your browser using the built-in TextEncoder API.