Skip to content

Text to Hex Converter

Encode text as UTF-8 bytes, rendered as two hexadecimal digits per byte. One visible character can produce several bytes.

Conversion runs only in this browser. Input and output are not uploaded.

Input size: 0 B.

Settings

How this converter works

Text is encoded to UTF-8 bytes and each byte is rendered with exactly two hexadecimal digits.

  • Lowercase, spaced output is the default.
  • Case, separator, and 0x prefix affect formatting only.
  • The complete output is retained for large accepted inputs.

Frequently asked questions

Why does emoji use several pairs?

UTF-8 represents many characters with multiple bytes.

Does this output Unicode code points?

No. It outputs UTF-8 bytes only.

Using this tool

Encode text as UTF-8 hex

Render each UTF-8 byte as two hexadecimal digits with case, separator, and optional `0x` formatting controls.

Input and output

Example: `Hi` becomes `48 69`; `é` requires two byte pairs in UTF-8.

Important behaviour

Formatting choices do not change the underlying bytes, and the complete generated output remains available to copy or download.

Keep in mind

This route outputs UTF-8 bytes, not Unicode code-point notation.

Conversion is performed in the browser. Copying or downloading happens only when you choose those actions.

🔗 Related tools

Other Helpful Tools

A few related projects that pair well with this tool. Fast, focused, and privacy-friendly.