Hex ↔ Text Converter
Convert text to UTF-8 hexadecimal bytes and back — compact, spaced, or with 0x / \x prefixes.
Convert text to UTF-8 hexadecimal bytes and back — compact, space-separated, 0x-prefixed or \x-escaped formats. Paste hex from debuggers, packet captures or code and read the text instantly.
How to use the Hex to Text Converter
- Type text (or paste hex) into the input.
- Choose the direction and hex format.
- Copy the result — invalid hex is reported clearly.
Frequently asked questions
How do I convert hex to text?
Paste the hex string and click Hex → Text. Compact (48656c6c6f), spaced, 0x-prefixed and \x-escaped formats are all accepted.
How do I convert text to hex?
Type the text and click Text → Hex — each character becomes its UTF-8 byte value in hexadecimal.
What does 48 65 6c 6c 6f mean?
It's 'Hello' — 0x48 is 'H', 0x65 is 'e', and so on, per ASCII/UTF-8 encoding.
Does it handle emoji and non-ASCII text?
Yes — conversion uses UTF-8, so emoji and other scripts become their multi-byte hex sequences.
Fun facts about Hex to Text Converter
- Hexadecimal (base-16) uses digits 0-9 and letters A-F — it's widely used in computing because each hex digit represents exactly 4 bits (one nibble).
- Windows maps a shared system data page (KUSER_SHARED_DATA) at the fixed address 0x7FFE0000 in every process.
- HTML color codes use hexadecimal — #FF0000 is red, #00FF00 is green, and #0000FF is blue, each pair representing the red, green, and blue channels.
- The 0x prefix for hexadecimal literals comes from C; its predecessor B only had octal (a leading 0), which is why a leading 0 still means octal in C.
- Hex editors display files as raw hexadecimal bytes — they're essential tools for reverse engineering, data recovery, and debugging binary formats.