Skip to main content
CalcChef

Hex to ASCII

Convert hex to ASCII text: 48 65 6C 6C 6F is Hello. Bytes are read as UTF-8, and odd digit counts or bad characters get an error. How it works

Use the Hex to ASCII

Text output
Enter hex to decode

Decoded as UTF-8: bytes 00–7F are one ASCII character each; accented and other non-ASCII characters take two to four bytes.

About the Hex to ASCII

48 65 6C 6C 6F is “Hello” in ASCII: each pair of hex digits is one byte, and bytes 00 to 7F are ASCII characters. This hex to ASCII converter reads the bytes as UTF-8, so accented letters and emoji written as two to four bytes decode too, and it also writes text back as hex.

Common ASCII codes in hex, decimal and binary

HexDecimalBinaryCharacter
09900001001TAB (horizontal tab)
0A1000001010LF (line feed)
0D1300001101CR (carriage return)
203200100000space
3048001100000
3957001110019
416501000001A
5A9001011010Z
619701100001a
7A12201111010z
7F12701111111DEL (delete)

As the byte inspector lists them. Codes 00 to 1F and 7F are control characters; 20 to 7E are the 95 printable characters.

Bytes per character in UTF-8

CharacterHex bytesNumber of bytes
A411
éC3 A92
€E2 82 AC3
😀F0 9F 98 804

Text to hex writes UTF-8, so only characters up to 7F take one byte. The tool reads and writes UTF-8 only.

How to use this tool

  1. Choose Hex → ASCII and paste the hex into Hex Input. Spaces, commas or dashes between bytes are optional.
  2. Read the text in Text Output (UTF-8). Pick URL Encoded, HTML Entities, C Escape or Base64 to see the same bytes in another form.
  3. Open Byte Inspector to see each byte in hex, decimal and binary with its control-character name.
  4. Choose ASCII → Hex to go the other way: Hello World becomes 48 65 6C 6C 6F 20 57 6F 72 6C 64.

Frequently asked questions

How do I convert hex to text?
Paste the hex into the input with Hex → ASCII selected. Every two hex digits are one byte, and the bytes are decoded as UTF-8: 48 65 6C 6C 6F gives Hello. Spaces, commas and dashes between bytes are ignored, so 48656C6C6F works too.
Why does it say there is an odd number of hex digits?
A byte needs two hex digits, so a total of 9 cannot be read: 48 65 6C 6C 6 shows “Odd number of hex digits (9)” and no output. Add or remove one digit. The tool does not guess a missing 0.
Does hex to ASCII work for é, € and emoji?
Yes, as UTF-8: C3 A9 is é (2 bytes), E2 82 AC is € (3 bytes) and F0 9F 98 80 is 😀 (4 bytes). Bytes above 7F are not ASCII on their own. A single E9, which is é in Latin-1, is not valid UTF-8, so it shows as the replacement character �.
What happens if the hex contains a character that is not a digit?
The tool lists the character with its position and shows no output. 48 65 6C 6C 6G reports “G” at character 14. Letters after F and punctuation other than a space, comma or dash are all errors.
Can I paste 0x48, \x48 or %48?
Yes. The tool detects 0x prefixes, \x escapes and %XX codes and shows a Detected format label. Use one notation per input: 0x48 0x69, \x48\x69 and %48%69 all decode to Hi.
Is the text sent anywhere?
The conversion runs in your browser and the page does not send the text to a server. The Share URL button copies a link that contains your input, so use it only when you want the text in the link.

Related Tools

View all tools