▶ TrainingGet Pro

Hex to Text Converter

Hexadecimal is a compact way to write the bytes inside a computer. This converter turns hex into readable text and text into hex.

Open the Hex to Text Converter ↗

Opens Unscramble Words 4U, our free word-puzzle site, in a new tab. Free, with no sign-up.

What it does

Two linked boxes do the work: put hex in the Hex box and the text appears in the Text box, or type text to see its hex. For example, Cat is 43 61 74. The converter is forgiving about input, coping with bytes split by spaces, written as one long run, prefixed with 0x, or split with commas or colons. If you give it an odd number of digits, it adds a 0 at the front so every byte has two digits.

Two options shape the output: spaces between bytes (on by default) and capital letters for A to F, so 6E or 6e. Neither changes the meaning. Hexadecimal is base 16, with the ten ordinary digits plus A–F standing for the values 10 to 15. Each hex digit covers four bits, so two make a byte, from 00 to FF. Text is handled as UTF-8, so accented letters and emoji take more than one byte.

Screenshot of the Hex to Text Converter on Unscramble Words 4U, ready to use
The Hex to Text Converter as it first appears on Unscramble Words 4U.Tip: Web colour codes are hex too: #FF0000 means full red, no green and no blue. A lovely way into hex for art and computing.

How to use it

  1. Paste hexadecimal into the Hex box, with or without spaces, commas, colons or 0x.
  2. Read the decoded text in the Text box.
  3. To encode, type in the Text box instead.
  4. Choose whether you want spaces between bytes and capital letters for A–F.
  5. Use Copy text or Copy hex, or Clear to start again.
Screenshot of the Hex to Text Converter showing results for the example “48 65 6c 6c 6f”
Example: we entered “48 65 6c 6c 6f” to show the kind of result you get.Tip: Hex is a quarter the length of the same data in binary, which is why programmers prefer it.

More tips

Ideas for the classroom and home learning

Questions

What text is 43 61 74?

Cat. 43 is capital C, 61 is small a and 74 is small t.

Do I need to remove 0x or commas?

No. The converter ignores those along with spaces and colons.

Why did a 0 appear at the start?

Each byte needs two hex digits, so an odd count gets a leading 0 to line up.

Is hex a code for hiding things?

No. It is just another way to write numbers, and anyone can convert it.

Open the Hex to Text Converter ↗

Opens Unscramble Words 4U, our free word-puzzle site, in a new tab. Free, with no sign-up.

Hexadecimal represents data; it does not protect it. Never treat it as a way to keep information private.

Related

← All word games and codes