How to convert hex to ASCII manually
- Split the hex into pairs:
48 69. - Convert each pair to decimal: 4×16 + 8 = 72; 6×16 + 9 = 105.
- Look up 72 and 105 in the ASCII table: H, i.
Shortcut: uppercase letters run from 41 (A) to 5A (Z), lowercase from 61 (a) to 7A (z), and digits from 30 (0) to 39 (9). A space is 20.
Hex to ASCII table (printable)
The most-used rows; the full ASCII table lists all 128 codes with binary and octal.
| Hex | Char | Hex | Char | Hex | Char |
|---|---|---|---|---|---|
| 20 | space | 41 | A | 61 | a |
| 21 | ! | 42 | B | 62 | b |
| 2E | . | 43 | C | 63 | c |
| 30 | 0 | 4D | M | 6D | m |
| 39 | 9 | 5A | Z | 7A | z |
Hex to ASCII in code
Python: bytes.fromhex("48656c6c6f").decode()
JavaScript: new TextDecoder().decode(Uint8Array.from("48656c6c6f".match(/../g), h => parseInt(h, 16)))
Linux / macOS shell: echo 48656c6c6f | xxd -r -p
Excel: =CHAR(HEX2DEC("48")) for one byte.
Frequently asked questions
What does 00 mean in hex to ASCII?
00 is the NUL control character. It isn’t printable and often marks the end of a string in C.
Why do I see � characters?
The bytes aren’t valid UTF-8 text — they may be binary data, a different encoding (such as Windows-1252) or an odd number of hex digits.
Is ASCII hex the same as Unicode?
For codes 00–7F, yes. Above that, Unicode characters are stored as multi-byte UTF-8 sequences, which this decoder handles.
Keep going
Last reviewed 28 November 2026. Conversions run entirely in your browser.