🔒 100% Browser-LocalZero File UploadsNo Sign-UpFreeVerify privacy →

HEX to ASCII Converter

Convert hexadecimal byte sequences to readable ASCII or UTF-8 text and encode text back to HEX with space, 0x, \x, or colon formatting plus a byte-by-byte inspection table.

HEX to ASCII Converter

Samples:

Byte-by-Byte Inspector (13 bytes)

#Char / CtrlHEXDECBIN
0H0x487201001000
1e0x6510101100101
2l0x6C10801101100
3l0x6C10801101100
4o0x6F11101101111
5,0x2C4400101100
6SP0x203200100000
7W0x578701010111
8o0x6F11101101111
9r0x7211401110010
10l0x6C10801101100
11d0x6410001100100
12!0x213300100001

Debugging Hex Dumps, Serial Payloads & Network Packets

Developers frequently encounter raw hexadecimal dumps in packet captures, firmware logs, C string escapes (\x48\x65), and binary protocols. This tool normalizes common delimiters automatically and decodes both strict 7-bit ASCII and full UTF-8.

Auto-Normalized HEX Parsing

Accepts space-separated, compact, 0x-prefixed, \x C-escaped, percent-encoded, and colon/comma-delimited hex dumps.

UTF-8 & Strict 7-Bit ASCII Modes

Decode international UTF-8 payloads (Chinese, Japanese, Emoji) or enforce strict 0x00–0x7F ASCII debugging.

5 Output Delimiter Styles

Encode strings back to spaces (48 65), compact (4865), 0x48, \x48, or 48:65 in uppercase or lowercase.

Byte-by-Byte Inspector

Inspect each byte’s offset, printable character or control mnemonic (LF/CR/TAB/NUL), HEX, DEC, and 8-bit BIN.

How to Convert HEX and ASCII / UTF-8

  1. Pick conversion direction — Choose HEX → ASCII / UTF-8 to decode raw bytes, or ASCII / UTF-8 → HEX to generate hex literals.
  2. Paste hex dump or text — Drop raw logs, Wireshark streams, C escapes (\x48\x65), or Unicode strings. Delimiters are stripped automatically.
  3. Select decoding or output format — Switch between UTF-8 and Strict 7-bit ASCII decoding, or choose your preferred hex delimiter style.
  4. Inspect individual bytes and copy — Check hidden control characters (0x0A LF, 0x0D CR, 0x00 NUL) in the byte table and copy the converted output.

Essential ASCII Control & Character Reference

Each byte spans 0x00–0xFF (0–255). Standard 7-bit ASCII covers 0x00–0x7F, where 0x00–0x1F are non-printing control codes frequently seen in protocol debugging:

HEXDECCharacter / MnemonicMeaning in Logs & Protocols
0x099TAB (\t)Horizontal tab delimiter in TSV/CSV and indented config files
0x0A10LF (\n)Line Feed (Unix / Linux / macOS newline terminator)
0x0D13CR (\r)Carriage Return (paired with LF as 0x0D 0x0A in HTTP and Windows CRLF)
0x2032SPStandard ASCII space separator
0x30–0x3948–570–9Decimal digits 0 through 9
0x41–0x5A65–90A–ZUppercase English letters A through Z
0x61–0x7A97–122a–zLowercase English letters a through z (0x20 higher than uppercase)

Common Developer & Network Debugging Scenarios

Packet & Serial Frame Inspection

Decode Wireshark TCP payloads, MQTT messages, Modbus frames, and UART serial logs into readable ASCII strings.

Firmware & C/Python Escapes

Convert strings into \x.. or 0x.. byte arrays for C, Rust, Go, or Python tests without writing one-off scripts.

Hidden Line-Ending & NUL Checks

Spot stray 0x0D (CR), 0x00 (NUL), or UTF-8 BOM (EF BB BF) bytes that silently break parsers and auth signatures.

Hex-Encoded Config & JWT Troubleshooting

Verify raw hexadecimal secrets, API keys, and UTF-8 bytes locally without pasting credentials into third-party servers.

Inspecting binary payloads: compressed formats such as Gzip, PNG headers, or raw Protobuf contain bytes above 0x7F that are not valid UTF-8 and display as replacement glyphs (U+FFFD) in text view. Check their exact hex, decimal, and binary values in the byte table below.

Frequently Asked Questions

Which HEX input formats are accepted?

Space-separated (48 65), continuous (4865), 0x-prefixed (0x48 0x65), C-style escapes (\x48\x65), percent-encoded (%48%65), and colon/comma-delimited hex are all parsed automatically.

What is the difference between UTF-8 and Strict ASCII mode?

Strict 7-bit ASCII decodes bytes 0x00–0x7F only and marks bytes 0x80–0xFF as replacement characters, while UTF-8 decodes multi-byte Unicode text including Chinese, Japanese, and Emoji.

Why does odd-length hex show an error?

One byte equals 8 bits, represented by exactly 2 hexadecimal digits (00 to FF). An odd number of digits indicates a missing leading zero (write 0A instead of A) or truncated input.

How do I tell CRLF (Windows) from LF (Unix) line endings in HEX?

Look for 0D 0A in the byte table for Windows/HTTP CRLF versus a lone 0A for Unix/macOS LF.

Why did 0xEF 0xBB 0xBF appear at the start of my file hex?

EF BB BF is the UTF-8 Byte Order Mark (BOM). Many CSV tools add it for Excel, while strict JSON/shell parsers expect UTF-8 without BOM.

Why do multi-byte integers look reversed in hex dumps (Big-Endian vs. Little-Endian)?

ASCII and UTF-8 strings always read in transmission order left to right, so text is unaffected by CPU endianness. However, x86 and ARM CPUs store multi-byte integers in Little-Endian order (least significant byte first, so 0x1234 appears as 34 12), whereas TCP/IP network headers use Big-Endian (network byte order, 12 34).