ToolNimba

๐Ÿ”ค Hex to Text Converter with Steps

Shihab Mia By Shihab Mia ยท Updated 2026-07-18

Spaces, commas and 0x prefixes are ignored. Only the digits 0-9 and a-f are read, in pairs.

Decoded text
Hi
Characters
2
Hex bytes
2
Cleaned hex
4869
First code point
72
Each hex pair, its decimal code point and the character it decodes to
Hex pair Decimal Character

This hex to text converter turns any hexadecimal string into readable text in one step, so 48 69 becomes Hi and 48 65 6c 6c 6f becomes Hello. It reads the hex two characters at a time, treats each pair as one byte, converts that byte to a code point, and joins the characters into a string. Spaces, commas and 0x prefixes are stripped automatically, everything runs in your browser, and each pair is shown with its decimal value and decoded character so you can check the work.

What is the Hex to Text Converter?

Hexadecimal, usually shortened to hex, is a base 16 number system. It uses the ten digits 0 to 9 and then the six letters a to f to stand for the values 10 to 15. Two hex digits together can count from 00 up to ff, which is 0 to 255 in decimal, and that is exactly the range of a single byte. Because one byte holds one character in ASCII and in the first block of Unicode, hex is a compact and popular way to write text as raw bytes: every character becomes a neat two-digit code.

Converting hex to text reverses that packing. You split the hex string into pairs of digits, turn each pair into a number, then look up the character that has that number as its code point. Take 48: the digit 4 is worth 4 times 16, which is 64, and the digit 8 is worth 8, so 48 in hex is 72 in decimal. Code point 72 is the capital letter H. Do the same for 69 (6 times 16 plus 9 = 105, the letter i) and you have decoded Hi. The converter above performs this pair by pair and prints each step in the table.

The method never changes no matter how long the input is. For 48 65 6c 6c 6f the five pairs decode to 72, 101, 108, 108 and 111, which are H, e, l, l and o, spelling Hello. Separators such as spaces and commas are only there to make the hex easier to read, so the tool removes them before pairing the digits. It also removes any 0x prefixes, the marker many programming languages put in front of a hex number, so 0x54 and 54 are treated the same.

Two rules keep the conversion honest. First, only the characters 0-9 and a-f are valid hex, so anything else is flagged as an error. Second, the cleaned string must have an even number of digits, because every character needs exactly two. An odd length means a digit is missing or an extra one slipped in, and the tool tells you the digit count so you can find the problem rather than silently decoding the wrong bytes. Hex letters are not case sensitive, so 6C and 6c decode to the same character.

When to use it

  • Decoding a hex dump from a file, packet capture, or debugger back into readable text.
  • Reading hex values copied out of source code, config files, or a database column.
  • Checking a homework or exam answer when converting hexadecimal to characters by hand.
  • Turning a hex-encoded token, message, or log line into plain text to see what it says.

How to use the Hex to Text Converter

  1. Paste or type your hexadecimal into the input box, or tap one of the example buttons.
  2. Read the decoded text at the top; it updates instantly as you type.
  3. Check the table to see each hex pair, its decimal code point, and the character it becomes.
  4. Use the Copy button to grab the decoded text or the cleaned hex for use elsewhere.

Formula & method

text = the characters whose code points are each 2-digit hex pair. For a hex pair with digits d1d0, the code point is d1x161 + d0x160, and the character is String.fromCodePoint of that value. Example: 48 = 4x16 + 8 = 72 = H, and 69 = 6x16 + 9 = 105 = i, so 48 69 decodes to Hi.
Hex 48 69 to Text48694x16 + 86x16 + 9= 72= 105code pointcode point= "Hi"

Worked examples

Convert the hex 48 69 to text.

  1. Remove the space so the digits become 4869.
  2. Split into 2-digit pairs: 48 and 69.
  3. Convert 48: 4x16 + 8 = 72, which is code point 72, the letter H.
  4. Convert 69: 6x16 + 9 = 105, which is code point 105, the letter i.
  5. Join the characters in order.

Result: The hex 48 69 decodes to the text Hi.

Convert the hex 48 65 6c 6c 6f to text.

  1. Strip the spaces to get 48656c6c6f, then split into pairs: 48, 65, 6c, 6c, 6f.
  2. Convert 48 to 72 (H) and 65 to 101 (e).
  3. Convert 6c to 108 (l), and the second 6c to 108 (l) again.
  4. Convert 6f to 111 (o).
  5. Join the five characters in order.

Result: The hex 48 65 6c 6c 6f decodes to the text Hello.

Common characters with their hex, decimal, and binary code points

CharacterHexDecimalBinary
space203200100000
0304800110000
9395700111001
A416501000001
H487201001000
Z5A9001011010
a619701100001
i6910501101001
z7A12201111010

Hex digit values in base 16

Hex digitDecimal valueBinary (4 bits)
000000
110001
770111
881000
991001
A101010
B111011
C121100
D131101
E141110
F151111

Common mistakes to avoid

  • Leaving an odd number of hex digits. Every character needs exactly two hex digits, so the cleaned string must have an even length. An odd count means a digit was dropped or added. Recount the pairs, or add a leading 0 to a value written as one digit.
  • Splitting the digits in the wrong place. Pairs are read from the left in fixed groups of two: 4869 is 48 then 69, never 4, 86, 9. If separators are inconsistent, remove them all first and then split every two digits.
  • Treating hex letters as case sensitive. The letters a to f stand for the same values whether written in upper or lower case, so 6C and 6c both decode to the letter l. Do not change a character just because the case differs.
  • Forgetting to strip the 0x prefix. Many languages print hex with a 0x marker, as in 0x48. That prefix is not part of the value and must be removed before pairing, otherwise the 0 and x get read as data. This tool strips 0x automatically.

Glossary

Hexadecimal
A base 16 number system using the digits 0-9 and the letters a-f, where each position is worth sixteen times the one to its right.
Byte
A group of 8 bits, written as exactly two hex digits. One byte holds a value from 0 to 255 and, in ASCII, one character.
Code point
The number assigned to a character in a character set. Hex to text turns each byte value into the character with that code point.
ASCII
A character set that maps the values 0 to 127 to letters, digits, punctuation, and control codes. The letter H is 72, or 48 in hex.
Nibble
Half a byte, that is 4 bits, written as a single hex digit. Two nibbles make one byte and one character.
0x prefix
A marker such as 0x placed in front of a number to show it is written in hexadecimal. It is a notation, not part of the value.

Frequently asked questions

How do you convert hex to text?

Split the hex into 2-digit pairs, turn each pair into a decimal number, then read the character with that code point. For example 48 becomes 72, which is H, and 69 becomes 105, which is i, so 48 69 is Hi.

What does 48 69 mean in hex?

The hex 48 69 decodes to the text Hi. The pair 48 is code point 72 (the letter H) and the pair 69 is code point 105 (the letter i).

What is 48 65 6c 6c 6f in text?

The hex 48 65 6c 6c 6f decodes to Hello. The five pairs map to 72, 101, 108, 108 and 111, which are H, e, l, l and o.

Why does my hex give an error?

A hex to text conversion fails if the value contains characters other than 0-9 and a-f, or if the digit count is odd. Every character needs exactly two hex digits, so an odd length means one is missing or extra.

Do spaces and 0x prefixes matter?

No. Spaces, commas, and 0x prefixes are only there to make hex readable, so this converter strips them before pairing the digits. So 0x48 0x69, 48 69, and 4869 all decode to the same text.

Is hex to text the same as hex to ASCII?

For values 00 to 7f they match, because those bytes are ASCII characters. This tool reads each byte as a Unicode code point, so it also handles the full 00 to ff range the same way a byte string is decoded.