Hex to ASCII converter

Paste hexadecimal bytes to decode them into readable text. Every two hex digits are one byte; the byte value is looked up as an ASCII (or UTF-8) character — 48 65 6C 6C 6F spells Hello.

How to convert hex to ASCII manually

  1. Split the hex into pairs: 48 69.
  2. Convert each pair to decimal: 4×16 + 8 = 72; 6×16 + 9 = 105.
  3. 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.

HexCharHexCharHexChar
20space41A61a
21!42B62b
2E.43C63c
3004DM6Dm
3995AZ7Az

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.