T

Text Machine

Powerful text tools, in your browser

Text ↔ Hex Converter

Convert text to hexadecimal and hex back to text right in your browser. Full UTF-8 support means every character encodes correctly — choose lowercase or uppercase, and space-separated or continuous bytes.

Case

Separator

Text input
Hex output

Enter data above to see the converted result here.

How to use Text to Hex Converter

  1. 1

    Choose a direction

    Use the toggle to pick Text to Hex or Hex to Text. The swap button moves your result into the input so you can convert it back the other way.

  2. 2

    Enter your data

    Type or paste text, or paste a string of hex. The conversion runs automatically as you type, with full UTF-8 support for any character.

  3. 3

    Pick the format

    For hex output, choose lowercase or uppercase digits and a space between each byte or a continuous stream. When decoding, spaces, commas, and colons are all optional.

  4. 4

    Copy the result

    Review the converted output and copy it to your clipboard, ready to paste wherever you need it.

Frequently asked questions

How is text converted to hexadecimal?
Each character is encoded as UTF-8 bytes, and every byte is written as a two-digit hexadecimal number from 00 to FF. Plain English letters map to a single byte each, while accented characters, symbols, and emoji use two to four bytes.
Does this support emoji and non-English text?
Yes. Because the tool uses UTF-8, it handles every Unicode character — accented letters, Cyrillic, Greek, Chinese, Japanese, Arabic, emoji, and more. They are encoded to the correct multi-byte sequences and decode back exactly.
What hex formats does the decoder accept?
The Hex to Text decoder reads two-digit bytes and is forgiving about formatting. Spaces, commas, and colons between bytes are all ignored, so plain hex, space-separated bytes, and colon-separated dumps all work. Both lowercase and uppercase digits are accepted.
Why did I get a conversion error?
Decoding fails if the hex contains characters other than 0-9 and A-F, or if the number of digits is odd. Each byte needs exactly two hex digits, so remove any stray characters and make sure the length is even, then the conversion will succeed.
Is my data uploaded to a server?
No. All conversion happens entirely in your browser. Your text is never uploaded, logged, or stored, so it stays completely private and the tool keeps working even when you are offline.

Related tools

Keep going with these handy tools

Text to Binary Converter

Morse Code Translator

NATO Phonetic Alphabet Translator

Braille Translator

Caesar Cipher

Vigenère Cipher