Using the Hex to Text Converter
The Hex to Text Converter turns hexadecimal bytes into text. The field starts as 48656c6c6f. Choose Convert to text. The label above the headline reads Text. The headline is Hello. The text under the headline is Hello. The bytes line is 5, because the ten hex digits are five bytes. Spaces between bytes are ignored. 48 65 6c 6c 6f is Hello as well, and the bytes line is still 5. The bytes are read as UTF-8. 48 is H, 65 is e, 6c is l, 6c is l, and 6f is o.
An odd number of digits is rejected. 48656c6c6 is nine digits, and the headline reads Enter an even number of hex digits. A blank field, a single digit, a character that is not a hex digit, and a string longer than 10000 hex digits after spaces are removed use that same message. The page removes spaces first, then requires an even count of digits from 0 through 9 and a through f. Upper-case letters are accepted, because the field is read in lower case before the pairs are decoded. 48656C6C6F is Hello.
Each pair of digits is one byte. The bytes are read as UTF-8. A byte sequence that is not UTF-8 text is rejected with Enter hex that decodes as UTF-8 text. The rejection replaces the headline and clears the bytes line. A successful headline is the text itself. The bytes line is the number of bytes, which is half the number of hex digits after spaces are removed. The same hex always produces the same text. Convert 48656c6c6f twice and the headline stays Hello.
Copy result copies the text. For the sample, that copy is Hello. Reset returns the field to 48656c6c6f and the headline to Enter hex. The text and the bytes line are cleared. Copy before you reset if you still need Hello. Convert to text again after a reset when you want the headline Hello back. The waiting line Enter hex is not decoded text. The page reads the digits you paste. It does not fetch them from anywhere else.
A multi-byte character uses more than one pair. c3a9 is the UTF-8 character é, the headline is é, and the bytes line is 2. That is two pairs, an even count, and the bytes are valid UTF-8. FF is also an even count, one pair, and it is rejected with Enter hex that decodes as UTF-8 text because that byte is not UTF-8 text. The sample 48656c6c6f stays the check you return to. Ten digits, five bytes, headline Hello. Spaces may stay in the field for reading. 48 65 6c 6c 6f is the same five bytes. Upper-case pairs follow the same split. 48 65 6C 6C 6F is Hello after the letters are read in lower case, and the bytes line is 5. The page does not keep those spaces in the headline.
What the Five Bytes Spell
The headline is the UTF-8 text of the bytes you typed in hex. 48656c6c6f is Hello. The text under the headline matches. The bytes line is 5. The label above a successful headline reads Text. The steps say to remove spaces, read each pair of digits as a byte, and show the UTF-8 text. The field stays as you typed it, so 48656c6c6f remains available for another conversion or for a copy of the original digits.
Spaces between bytes are ignored, including a line break between pairs. 48 65 6c 6c 6f is still five bytes and still Hello. The spaces are not characters in the headline. They only separate the digits for you. An odd number of digits never becomes a shortened text. The page rejects the field instead. Hello in the headline means every pair decoded and the bytes were valid UTF-8.
How 48656c6c6f Becomes Hello
The page removes whitespace, rejects anything that is not an even run of hex digits, and decodes each pair to a byte. 48, 65, 6c, 6c, and 6f are the five bytes. Read as UTF-8, they are H, e, l, l, and o, so the headline is Hello and the bytes line is 5. Upper-case A through F are folded to lower case first, so the same pairs with capital letters still spell Hello. The sentence of the result is the text itself. Copy result copies Hello.
Escapes written with a backslash are a different notation for characters. The Unicode to Text turns \u escapes into characters. \u0048\u0065\u006c\u006c\u006f is Hello. Characters that are already text stay as typed. That page reads \u followed by four hex digits, and \u{hex}. Use it when the field contains those escapes. Use this page when the field is hex bytes such as 48656c6c6f and the bytes should be read as UTF-8. The headline here is Hello.
What the Decoder Will Not Assume
The page does not treat a 0x prefix as part of the digits. 0x48656c6c6f contains an x, which is not a hex digit, so the field is rejected with Enter an even number of hex digits. Type 48656c6c6f. The page also does not read the digits as a single integer. 48656c6c6f is five bytes, not one large number turned into a word by another rule. The bytes line is 5 because there are five pairs.
The bytes are read as UTF-8. A sequence that is not UTF-8 text fails with Enter hex that decodes as UTF-8 text. FF is one byte and an even number of digits, and it is rejected as text because it is not UTF-8 text. The page does not replace a bad byte with a question mark. It rejects the field. Spaces between valid pairs are ignored. Spaces do not repair an odd count or a non-hex character. c3a9 shows a character that is not a single ASCII letter. The bytes line is 2, not 1, because UTF-8 uses two bytes for é. 48656c6c6f stays five ASCII bytes and the headline Hello. Both successful results are text. The page uses the same UTF-8 reading for each of them.
Hello From 48656c6c6f
Leave the field as 48656c6c6f and choose Convert to text. The headline is Hello. The bytes line is 5. Convert again. The headline stays Hello. Type 48 65 6c 6c 6f and convert. Spaces between bytes are ignored, the headline is Hello, and the bytes line is 5. Type 48656C6C6F and convert. The headline is Hello. Type 48656c6c6 and convert. That is an odd number of digits, so the headline reads Enter an even number of hex digits. Restore 48656c6c6f and confirm Hello.
Binary digits that spell a number are a different reading. The Binary to Decimal Converter converts a binary number to decimal. 1010 is 10. Each digit doubles the place of the digit on its right. That page does not convert other bases. Use it when the digits are 0 and 1 and you want the decimal value. Use this page when the digits are hex bytes and 48656c6c6f should be Hello.
Even Hex Digits That Decode as UTF-8
After spaces are removed, the field must be an even number of hex digits, at least one pair, and at most 10000 digits. Enter an even number of hex digits covers a blank field, an odd count, a non-hex character, and a string past that cap. The page does not drop the last digit of an odd count, and it does not skip a bad character. Enter hex that decodes as UTF-8 text covers bytes that are not UTF-8 text, including FF. The bytes line is cleared in both cases.
A successful bytes line is half the digit count after spaces are removed. 48656c6c6f has ten digits and a bytes line of 5. 48 65 6c 6c 6f has the same ten digits once the spaces are ignored, so the bytes line is still 5 and the headline is still Hello. Two hex digits are one byte. c3a9 is two bytes and the UTF-8 character é, so the headline is é and the bytes line is 2. The page shows that character because the bytes are valid UTF-8.
Hex People Read as Another Base
A common miss is to leave an odd digit on the end. 48656c6c6 is rejected. An odd number of digits is rejected even when the first eight digits would have been part of Hello. Another miss is to keep a 0x prefix. The x is not a hex digit. Another miss is to expect spaces to appear in the headline. Spaces between bytes are ignored. Another miss is to expect a bad byte to be shown with a replacement character. The page rejects non-UTF-8 text. Another miss is to read 48656c6c6f as a single decimal integer. The page reads pairs of digits as UTF-8 bytes, and the headline is Hello.
The other direction, from a whole number to binary digits, is a different page. The Decimal to Binary Converter converts a whole number to binary. 10 is 1010. 0 is 0. The range is 0 through 2147483647. Use it when you have a whole number and want binary digits. Use this page when you have hex bytes and want text. 48656c6c6f is Hello, not a binary rendering of a decimal 10.
Spaces, Case, an Odd Count, and Two Bytes
Convert 48656c6c6f and confirm the headline is Hello and the bytes line is 5. Convert 48 65 6c 6c 6f and confirm Hello again. Convert 48656C6C6F and confirm Hello again. Convert 48656c6c6 and confirm the headline reads Enter an even number of hex digits. Convert FF and confirm the headline reads Enter hex that decodes as UTF-8 text. Convert c3a9 and confirm the headline is é and the bytes line is 2. Restore 48656c6c6f and confirm the bytes line is 5.
Type 0x48656c6c6f and convert. The headline reads Enter an even number of hex digits, because x is not a hex digit. Clear the field and convert. The headline is the same message. Put 48656c6c6f back and convert once more. Copy Hello if the sample is the text you want to keep. Spaces between bytes can stay in the field for your own reading. They are ignored, and the headline is still Hello.
Keeping the Hex Beside the Text
Copy result copies the text, which is Hello for the sample. The field still holds 48656c6c6f until you edit it or reset. If you need both, copy the field yourself and then copy the result. Write the bytes line in the same note when the text is long. For the sample, the note is 48656c6c6f, Hello, and 5 bytes. Reset clears the text and returns the headline to Enter hex, so the note is the record of that conversion.
A general base change can sit beside that note when the digits were never meant as UTF-8 text. The Number Base Converter converts a whole number from one base to another. Bases run from 2 to 36. Digits above 9 use the letters A through Z. 255 in base 10 is FF in base 16. 1010 in base 2 is 10 in base 10. Use that page when you want a number in another base. Use this page when 48656c6c6f should be Hello.
Pairs of Digits, Read as UTF-8
Every successful run removes spaces, reads an even number of hex digits as bytes, and shows the UTF-8 text. 48656c6c6f is Hello. The bytes line is 5. Spaces between bytes are ignored. An odd number of digits is rejected. The bytes are read as UTF-8, and a sequence that is not UTF-8 text is rejected rather than patched. Upper-case hex digits are accepted. A 0x prefix is not.
Checks Before You Copy the Text
Count the hex digits after you ignore the spaces. The count should be even, and half of it should match the bytes line. For 48656c6c6f, the count is 10 and the bytes line is 5. The headline should be Hello. For 48 65 6c 6c 6f, the spaces do not change either figure. An error headline means no text was produced. Enter an even number of hex digits and Enter hex that decodes as UTF-8 text name the two failures. Fix the field and convert once.
Roman numerals are another notation for whole numbers, not for these bytes. The Roman Numeral Converter converts a whole number from 1 to 3999 into Roman numerals, or a Roman numeral into a number. 2024 becomes MMXXIV. IV becomes 4. Use that page when the symbols should be Roman. Use this page when the input is hex bytes and the bytes should be read as UTF-8. 48656c6c6f is Hello.