Hex to String Converter
Decode hex bytes to ASCII text or string — and back. Pick a direction and type.
Edit
0 bytes | 0 printable | 0 control | 0 non-ASCII
Output
0 bytes | 0 printable | 0 control | 0 non-ASCII
ASCII Table
Universal ASCII reference for the local 7-bit range, values 0-127. It includes control codes, printable characters, decimal values, and hexadecimal values.
| Dec | Hex | Char | Description |
|---|
How to Convert Hex to String
Paste any hex-encoded bytes into the Hexadecimal box and select ASCII ← HEX — or switch the active panel and type directly. The converter instantly decodes your bytes to string on the left. No software to install; nothing leaves your browser.
Bytes to ASCII: Supported Input Formats
This hex to string decoder normalises any common byte notation automatically:
- Space-separated —
48 65 6C 6C 6F→ Hello - 0x prefix —
0x48 0x65 0x6C 0x6C 0x6F - Colon-separated —
48:65:6C:6C:6F - Dash-separated —
48-65-6C-6C-6F - No separator —
48656C6C6F
When Do You Need Bytes to String Conversion?
- Network analysis — packet captures show payloads as hex; convert bytes to string to read HTTP headers or protocol messages.
- Binary file inspection — magic bytes identify file types:
FF D8 FFis JPEG,89 50 4E 47is PNG. - Embedded systems — microcontrollers often output data in hex; converting bytes to ASCII reveals sensor readings or log messages.
- Debugging — hex dumps from debuggers, memory profilers, or database BLOBs become readable once decoded.
- Cryptography — keys, nonces, and cipher outputs are frequently encoded as hex before being passed between systems.
Bytes to String — FAQ
- What does "hex to string" mean?
- Hexadecimal is a base-16 number system where each byte is written as two digits (00–FF). Converting
hex to string means mapping those bytes back to their ASCII characters. For example,
48 65 6C 6C 6Fdecodes toHello. - How do I convert bytes to ASCII?
- Every printable ASCII character has a byte value from 0x20 (space) to 0x7E (~). Paste hex bytes above and the tool performs the lookup for every byte in one step — no code required.
- What is bytes to string conversion used for?
- Common uses include reading network packet captures, debugging binary file headers, inspecting memory dumps, decoding embedded system output, and verifying string literals stored as hex in source code.
- Does this handle non-ASCII bytes?
- Yes — any byte 0x00–0xFF is accepted. Bytes outside the printable ASCII range are shown as a middle dot (·) by default. Uncheck the option in the panel to display the raw character instead.
- Is my data private?
- Completely. All conversion runs in JavaScript inside your browser. Nothing is sent to a server.