← All tools
// CONVERTER

Hex to Text online

Convert hexadecimal code to text and text to hex.

Hex to Text logo
by
CHUNKY
MUNSTER
HEX ↔ TEXT

Hex Encoding

How to Use hex-to-text

  1. Paste hex-encoded bytes (space-separated, no-separator, or 0x-prefixed) into the input.
  2. The tool decodes each byte to its ASCII or UTF-8 character.
  3. Switch to Encode mode to convert text to hex byte representation.
  4. Choose output format: uppercase or lowercase hex, with or without separators.

Hex dumps show binary data as pairs of hexadecimal digits, one pair per byte. Reading hex directly is a core skill in systems programming, CTF challenges, network protocol debugging, and digital forensics. This tool decodes hex byte sequences to readable text and encodes text to hex, supporting ASCII and UTF-8 character sets.

Hex Dumps in Practice

Network packet captures, binary file headers, and memory dump tools all show data in hex. The HTTP/2 frame header, for example, is 9 bytes — shown in Wireshark as 00 00 17 01 04 00 00 00 01. A hexdump like 48 65 6C 6C 6F decodes to "Hello" (H=0x48, e=0x65, l=0x6C, l=0x6C, o=0x6F). This tool handles any hex sequence, with or without spaces, and with any common prefix format.

Frequently Asked Questions

What is a hex dump?

A representation of binary data where each byte is shown as two hexadecimal digits. The xxd, hexdump, and Wireshark tools all produce hex dumps. The format is universally readable across languages and platforms.

How do non-printable characters appear in the output?

Characters with ASCII values below 32 or above 126 are non-printable. The tool shows them as their C-style escape sequences (\n, \t) where known, or as \xHH for others.

Can I decode UTF-8 hex sequences?

Yes — enable UTF-8 mode. UTF-8 characters above U+007F use multi-byte sequences: 2 bytes for U+0080–U+07FF, 3 bytes for U+0800–U+FFFF, 4 bytes for U+10000+. The decoder assembles these correctly.

How do I use this for CTF (capture-the-flag) challenges?

Many CTF challenges provide hex-encoded ciphertext, shellcode, or flags. Paste the hex and decode to text. If the result is still binary, try further decoding (Base64, XOR, etc.).

See also the Binary to Text converter, ASCII Table, and the XOR Encryptor.