Skip to content
TabKiwiTabKiwi

Hex Encoder

Convert text into its UTF-8 bytes written as hexadecimal, with your choice of separator.

DeveloperRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Each character is turned into its UTF-8 bytes and every byte is shown as two hex digits, so an emoji becomes four bytes while plain English letters stay one byte each. Choose spaces, colons, no separator, 0x prefixes or \x escapes to match the format your code or protocol expects. Encoding happens on your device as you type.

How to use Hex Encoder

  1. Type or paste text into the input box.
  2. Choose a byte separator and letter case.
  3. Copy the hex output.
  4. Use Swap to turn the hex back into text and check it.

Frequently asked questions

Why does one character produce several bytes?

Characters outside basic ASCII, such as accented letters, symbols and emoji, take two to four bytes in UTF-8.

Which separator should I pick?

Use \x for string literals in C, Python or JavaScript, 0x for byte arrays, colons for MAC-style dumps and no separator for compact hashes.

More Developer tools

View all 91 →