Developer tools

Text to Hex Converter

Encode text as hexadecimal UTF-8 bytes or decode a hex byte sequence back to text.

Enter your details

Free tool

Runs in your browser. Your text is not uploaded for processing. Use trusted offline software for secrets, especially when third-party advertising or browser extensions are active.

How to use this tool

Choose encode or decode. Encoding converts the exact text to UTF-8 bytes and displays two lowercase hex digits per byte. Decoding accepts complete hex pairs with optional whitespace and rejects invalid UTF-8. It is a text conversion, not an arbitrary binary-file decoder.

A WORKED EXAMPLE

Try these values

Hello becomes 48656c6c6f. The character é becomes c3a9 because its UTF-8 representation uses two bytes.

Common questions

Does my input leave this page?

The tool processes its input in your browser. It does not send the text to our server for calculation. If advertising is enabled, third-party ad scripts also run on the page; use a trusted offline tool for secrets.

Can I use the result in my project?

Yes. Check the example and limitations first, and test the output with the system that will consume it.

Something doesn’t add up? Report an issue · Methods & corrections