PageyPagey
Menu
Theme
Theme

Text to hex

Turn text into its UTF-8 bytes written in hexadecimal, or hex back into text.

Nothing leaves your device.Free and unlimited, no account needed. This tool works in your browser, so nothing is uploaded.

Encode or decode

Text to hex converter, and hex to text

See the UTF-8 bytes of any text written in hexadecimal, with spaces, colons or nothing between them, or turn hex back into text. Free, and nothing leaves your device.

  1. 1

    Choose encode or decode.

  2. 2

    Type text, or paste hex.

  3. 3

    Copy the result.

Looking for one in particular? Hex to text.

Questions

Why does one letter give several bytes?

Text is turned into bytes as UTF-8. Letters in English take one byte each, accented letters two, and most emoji four.

Is Text to hex free?

Yes, and as often as you like. It works in your browser, so there is nothing to sign up for.

What happens to my files?

They stay on your device. Everything is worked out in your browser, so nothing you type or choose is uploaded.

Do I need to install anything?

No. It works in the browser on any computer, tablet or phone.

Can I use Text to hex from my own code?

You won't need to: every programming language has hashing, Base64 and URL encoding built in. This page is for quick jobs by hand.