Hex to Text & Text to Hex Converter
Convert text to hexadecimal and hex back to text, UTF-8 aware — 100% in your browser.
About Hex to Text & Text to Hex Converter
Convert readable text into hexadecimal byte values, or paste hex and turn it back into text. Encoding uses UTF-8, so accented characters, emoji and other Unicode are represented as the correct multi-byte sequences. Choose how the hex is formatted — space-separated, continuous, colon-separated, or with 0x / \x prefixes — and pick upper or lower case.
Decoding is tolerant: it ignores spaces, colons, newlines and 0x / \x prefixes, so you can paste hex from almost any source. Everything runs locally in your browser and nothing is uploaded.
Text to hex
Hi!
48 69 21
Decoding 48 69 21 returns 'Hi!'.
Frequently asked questions
Is the conversion UTF-8 aware?
Yes. Text is encoded to UTF-8 bytes before being turned into hex, and hex is decoded as UTF-8, so Unicode characters and emoji round-trip correctly.
What hex formats can it read?
It accepts continuous hex, space- or colon-separated bytes, and 0x or \x prefixes. Any non-hex separators are ignored automatically.
Why do I get an 'odd number of digits' error?
Each byte is two hex digits, so the cleaned input must have an even length. An odd count means a digit is missing or mistyped.
Is my data uploaded anywhere?
No. All encoding and decoding happens locally in your browser.