Skip to content
ToolsLeb ToolsLeb

Hex to ASCII Converter

Convert hexadecimal byte values back into readable ASCII text.

Words Limit/Search : 4000

Upload File

Share on Social Media:

The Hex to ASCII converter turns hexadecimal byte values back into readable text. It accepts all the common formats: space-separated pairs (48 65 6c 6c 6f), a continuous string (48656c6c6f), 0x-prefixed bytes (0x48 0x65) and colon-separated bytes (48:65:6c). Paste your data or upload a .txt file, and you'll get the decoded text (Hello, for those examples) ready to copy or download.

How it works

Every character in ASCII has a number from 0 to 127, and hexadecimal is a compact way of writing those numbers: each byte is exactly two hex digits, from 00 to FF. The converter reads two digits at a time, turns each pair into a number, and looks up the matching character.

HexDecimalCharacter
2032(space)
30–3948–57digits 0–9
41–5A65–90A–Z
61–7A97–122a–z
0A, 0D10, 13line feed, carriage return

A handy pattern: upper- and lowercase letters differ by exactly 0x20. 41 is "A" and 61 is "a".

Where hex-encoded text turns up

  • Network captures and logs. Tools like Wireshark and tcpdump show packet contents as hex; decoding a chunk reveals HTTP headers, hostnames or protocol commands.
  • Debugging and memory dumps. Hex editors and debuggers display raw bytes, and decoding a string of them confirms what a program actually stored.
  • Encoded identifiers. Some APIs, QR payloads, smart-card data and blockchain transaction fields store short text as hex.
  • CTF puzzles and learning. Hex is one of the first encodings every security challenge and computing course uses.

When the output looks wrong

  • Strange symbols or blanks: bytes below 20 are control characters, and bytes above 7F aren't standard ASCII. The data may be binary (an image, compressed data) rather than text.
  • Accented letters split into two odd characters: the source text is probably UTF-8, where characters like "é" use two bytes (C3 A9). Each byte is decoded separately here.
  • "Input is not valid Hex": check for letters beyond F, stray characters, or a continuous string with an odd number of digits, meaning a digit is missing somewhere.

Hex is an encoding, not encryption. Anyone can reverse it, so never treat hex-encoded data as hidden or secure.

Frequently Asked Questions

Any common format works: space-separated pairs (48 65 6c 6c 6f), one continuous string (48656c6c6f), 0x-prefixed bytes (0x48 0x65), or colon-separated bytes (48:65:6c). Each byte must be two hex digits; a stray odd digit in a continuous string is rejected, so you are told instead of getting garbled text.

Printable ASCII characters fall in the hex range 0x20 to 0x7E (32 to 126 in decimal) — values outside this range are typically control characters or extended/non-ASCII bytes.

Common when debugging network traffic, reading raw memory dumps, or decoding data that's been represented in hexadecimal for storage or transmission.

Non-printable byte values are typically shown as a placeholder or omitted, since they don't correspond to a standard readable ASCII character.