← All tools

Text to Hex and Hex to Text

Convert UTF-8 text or a local text file to hex bytes. Decode spaced, comma-separated, prefixed or continuous hex.

text-to-hex-converterLOCAL WORKSPACE

Enabling local controls…

Input

Up to 100,000 UTF-16 units.

Text and files stay in your browser.

UTF-8 bytes

Enter text or numbers to see the result.

How to use this tool

Choose a direction, then paste input or open a local text file in encode mode.

When not to use it

Each byte takes two hex digits. One Unicode character can take several UTF-8 bytes.