Hex to Text Converter

Convert hex bytes to text and text to hex — UTF-8, in your browser.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Hex to text converter

Convert hexadecimal byte sequences into readable UTF-8 text, or encode text into hex. It is useful for reading hex dumps, debugging protocols and data files, or producing a hex representation of a string. Hex input is forgiving — 0x prefixes plus spaces, colons, semicolons and commas are all stripped automatically before decoding.

How it works

In Hex to Text mode the tool removes separators and prefixes, splits the remaining digits into pairs, reads each pair as one byte (0–255), and decodes the whole byte array as UTF-8 using the browser’s TextDecoder in strict mode — so invalid byte sequences are flagged rather than mangled. In Text to Hex mode it runs the reverse: TextEncoder turns the text into UTF-8 bytes, and each byte is written as a two-digit, zero-padded hex value.

Example

Decoding 48 65 6c 6c 6f gives Hello:

HexByteCharacter
4872H
65101e
6c108l
6c108l
6f111o

Encoding café the other way gives 63 61 66 c3 a9 — note the é is two bytes (c3 a9) because it is outside ASCII.

Everything runs in your browser with built-in TextEncoder and TextDecoder APIs — nothing is uploaded. For other encodings, try the Base64 decoder.

Ad placeholder (rectangle)