Free Online Text to Hex Converter

Text to Hex Converter online: convert text to hex instantly, with UTF-8 support, an explanation and examples.

Converter

Base64, UTF-8, UTF-16, ANSI, Hex & Every Format In Between

Convert text between any two encodings, directly - no plain-text stopover required

Result

Results are provided for informational purposes only and may contain errors. Please verify important information independently. Use of this tool is at your own risk.

How to encode text as hex

Encode text as hex instantly: type or paste text and the hex version appears as you type. Text is handled as UTF-8, so accents, emoji and every script work.

  1. Type or paste your input, such as Hello, into the box above.
  2. The result appears right away: Hello becomes 48656C6C6F.
  3. Copy the result, or choose from 30 encodings in the From and To boxes.

How hex works

Each character is turned into its UTF-8 bytes, and each byte is written as two hexadecimal digits. Plain English letters are one byte; accented letters and other scripts take two to four.

Text to hex examples

TextHex
Hello48656C6C6F
Hello, World!48656C6C6F2C20576F726C6421
4Dev.Net344465762E4E6574
a+b=c?612B623D633F
café636166C3A9
100% free313030252066726565

Text and hex explained

Plain text is read and written as UTF-8, so accents, emoji and every writing system are supported.

In hex, every byte of the text is written as two hexadecimal digits, from 00 to FF.

Frequently asked questions

Is hex a form of encryption?

No. It only changes how the data is written, and anyone can reverse it without a key. Never use it to hide passwords or secrets.

Which character set is used?

UTF-8, the standard of the web. Accents, emoji and non-Latin scripts are encoded as their UTF-8 bytes and decoded back exactly.

Why does decoding give an error?

The input is not valid for the chosen encoding: a missing or extra character, a line break in the middle, or text that was encoded differently. Check that you copied the whole value.

Is this tool free?

Yes, it's free to use. No signup, no email required. Get results on this page.

How do I get my result?

Use the tool on this page. Your result appears here; no email delivery is required.