Skip to content
SoftwareSolutions.net
Other Utilities

Hex to text

Turn hexadecimal byte codes into text.

Try it

Ready

Output

The result appears here.

About Hex to text

A hex to text converter turns hexadecimal byte codes into readable characters. Enter pairs such as 48 65 6C 6C 6F and the tool returns Hello. Hexadecimal is a base-16 notation that programmers and engineers use because each byte fits neatly into two digits. The converter reads each pair as a number from 0 to 255 and then maps it to a character.

Hex dumps appear in debugging output, network captures, file viewers and memory displays. Decoding them by hand is slow and error-prone, so the converter saves time when you need to see what text a dump contains.

How to use Hex to text

  1. Enter the hex byte pairs separated by spaces or commas.
  2. Check that each pair has one or two hexadecimal digits, from 0 to F.
  3. Read the characters the bytes produce.
  4. Check for control characters, which may not display clearly.

Reading hexadecimal

Each hex digit stands for four bits, so a byte is two digits. The letter A stands for 10, and F for 15. The pair 48 is 4 times 16 plus 8, which is 72, the code for the capital letter H.

Lowercase and uppercase hex digits mean the same value, so 6c and 6C both decode to the same character. The converter accepts either.

Checking the result

Hex output can contain bytes that are not text, such as image data or compressed content. A result full of unusual symbols suggests binary data rather than text, and decoding it as text will not reveal a message.

If the text looks garbled but partly readable, the bytes may use a different encoding, such as UTF-16 or a regional code page. Try another decoding route in that case.

Hex dumps often show a row of sixteen bytes with a column of addresses and a column of text on the right. Non-printing bytes appear as dots in that column. Copy only the hex part of the row, not the address or the text column, so the converter reads the data itself and not the labels.

Some data mixes text and binary. A file header, for example, may start with readable letters followed by numbers that are not characters. Decode the readable section, then look at the remaining bytes separately, since treating binary numbers as text will produce meaningless symbols.

Hex codes in web content, such as colour values, use the same notation but a different meaning. A colour code is not text, so decoding it will produce symbols. Only decode hex when you know the bytes represent characters.

Logs and debugging output often present hex with a space or a colon between each pair. Remove the separators or keep them, since the converter accepts spaces and commas, and check that each pair holds exactly two digits.

Frequently asked questions

Does the converter handle long hex strings with no spaces?

Please separate the byte pairs with spaces, so each pair is clear. Strings without spaces are not split reliably.

Why does a pair above 7F look wrong?

Values from 80 to FF are not basic ASCII. They may be part of a multi-byte character, so they can produce unexpected symbols.

Can I convert text back into hex?

This tool goes one way only. Use an encoder or the character codes to produce hex from text.

Related tools

Tools that pair well with this one.