How Hex to ASCII Decoding Works
Computers store text as sequences of bytes, and network captures, log files, and hex editors commonly display those bytes in hexadecimal. Each pair of hex digits (00 through FF) represents a single 8-bit byte (0 through 255). Standard 7-bit ASCII assigns printable English letters, digits, and punctuation to bytes 0x20 (32) through 0x7E (126), while UTF-8 extends those same byte values cleanly to multi-byte international characters and symbols.
How to Use This Hex to ASCII Converter
- Paste your hex byte string into the input box—spaces, commas, colons, hyphens, and
0xprefixes are handled automatically. - Read the decoded text immediately in the output panel and inspect each individual byte in the Byte-by-Byte Character Map below.
- Click Swap Direction to encode plain ASCII or UTF-8 text into hexadecimal, and choose your preferred output delimiter (Space, None, 0x prefix, or Comma).
All encoding and decoding runs strictly in your browser via the standard TextEncoder and TextDecoder APIs. Nothing is sent over the network.
Verified Hex to ASCII Examples
| Hexadecimal Bytes | Decimal Values | Decoded ASCII Text |
|---|---|---|
48 65 6C 6C 6F 20 57 6F 72 6C 64 |
72 101 108 108 111 32 87 111 114 108 100 |
Hello World |
41 42 43 |
65 66 67 |
ABC |
30 31 32 33 |
48 49 50 51 |
0123 |
68 65 78 63 6F 6E 76 65 72 74 65 72 |
104 101 120 99 111 110 118 101 114 116 101 114 |
hexconverter |
Common ASCII Hex Ranges to Remember
0x20(32): Space character (SPC).0x30–0x39(48–57): Digits0through9.0x41–0x5A(65–90): Uppercase lettersAthroughZ.0x61–0x7A(97–122): Lowercase lettersathroughz(notice uppercase and lowercase differ by exactly0x20, or bit 5!).0x09,0x0A,0x0D: Common whitespace control codes: Tab (TAB), Line Feed (LF), and Carriage Return (CR).
Practical Debugging Scenarios
- Inspecting packet payloads: Quickly read HTTP headers, MQTT topics, or serial UART frames copied from Wireshark or a logic analyzer.
- Checking line endings: Spot hidden
0D 0A(CRLF) vs0A(LF) byte sequences in the Byte-by-Byte Character Map. - Formatting C/Python byte literals: Switch to ASCII → Hex mode and select the
0x prefixorCommadelimiter to format byte arrays cleanly.
Need numeric base conversions alongside text? Head to the All-in-One Hex Converter, or inspect raw bits with the Hex to Binary Converter.