Hex to Text Converter — and Text to Hex

Convert hexadecimal to text and text to hex, both directions at once. UTF-8 aware, so accented and non-Latin characters round-trip correctly. Runs entirely in your browser — nothing you paste is sent anywhere.

Edit either box — the other updates live. Pasting hex accepts spaces, 0x/\x prefixes, commas, or no separators at all.

What "hex" means here

Computers store text as bytes, and each byte is an 8-bit number from 0 to 255. Hexadecimal (base 16) is just a compact way to write those numbers: two hex digits per byte. The letter H is the byte 72 in decimal, which is 48 in hex. So "Hello" becomes 48 65 6c 6c 6f.

Why UTF-8 matters

ASCII characters (A–Z, digits, basic punctuation) are one byte each, so the mapping looks one-to-one. But anything beyond ASCII — é, , , an emoji — is encoded as two to four bytes in UTF-8. A converter that assumes one byte per character mangles them. This tool encodes and decodes real UTF-8, so café turns into 63 61 66 c3 a9 and back again without loss.

Gotchas worth knowing

Frequently asked questions

How do I convert hex to text?

Paste the hex into the Hex box. The decoded text appears in the Text box instantly. Spaces, 0x prefixes and commas are all accepted, so you can paste hex in almost any format.

What is "48 65 6c 6c 6f" in text?

It's Hello. Each pair is one byte: 48→H, 65→e, 6c→l, 6c→l, 6f→o.

Does this work for emoji and Chinese characters?

Yes. They're encoded as multi-byte UTF-8 and round-trip correctly in both directions.

Need other text utilities? Browse all tools on the home page.