Conversion Tools100% Client-Side

UTF-8 Text to Hexadecimal Bytes

Paste text to see the bytes produced by UTF-8 encoding. The converter writes each byte as two lowercase hexadecimal digits and separates the bytes with spaces. Basic Latin letters usually occupy one byte, while accented characters and emoji can occupy several. Use the result to inspect why a string takes more bytes than characters, or to prepare a byte sequence for a fixture that expects UTF-8 text.

Input
5 chars•1 lines
Output

Reverse tool

Hex to UTF-8

Decode hexadecimal byte pairs as UTF-8 text. Paste compact hex or separated bytes and inspect letters, punctuation, and multibyte characters locally.

Open Hex to UTF-8
Example input
48 65 6c 6c 6f
Example output
Hello

How to Use the UTF-8 to Hex Online

  1. 1Paste the text you want to encode. Include spaces or line breaks if those characters are part of the intended input.
  2. 2Read each two-digit group as one byte. The spaces between groups make the boundaries visible.
  3. 3Compare the result with any expected encoding in your fixture. Check Unicode characters when the byte count differs from the visible character count.
  4. 4Copy the bytes as hex. Use Hex to UTF-8 when you need to check the decoded wording.

Input & Output Examples

The final accented letter requires two UTF-8 bytes.

Input Sample
Café
Expected Output
43 61 66 c3 a9

The ASCII letter uses one byte, followed by four bytes for the emoji.

Input Sample
A🙂
Expected Output
41 f0 9f 99 82

Practical Developer Workflows

  • Prepare a UTF-8 byte fixture for testing how a parser reads accented letters or emoji.
  • Compare visually similar strings when their exact byte sequences need to match.
  • Inspect line breaks or other invisible characters in a short text value by reading the encoded bytes.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Each group is a byte. Some characters use one UTF-8 byte and others use several. A character composed of multiple code points can have additional byte sequences even when it looks like one symbol.

Explore Other Tools

12 suggested tools

View all tools