Unspaced hex string
776f726c64 is split into 77 6f 72 6c 64 and decodes to "world".
Hex to text converter — decode hexadecimal bytes into a readable string, free online.
About
Paste hexadecimal bytes from a log, a packet capture, a hex dump or a CTF challenge and read them as plain text. Spaced bytes, one long unspaced string, and 0x or \x prefixes all work, and the bytes are decoded as UTF-8 so non-English characters and emoji come out correctly.
Hex shows up wherever software displays raw bytes: network captures, cookie values, database blobs, crash dumps and escape sequences like \x48\x69 in source code. A quick tell that a hex string is text is that printable ASCII sits between 20 and 7e, so text-heavy hex is full of 4x, 5x, 6x and 7x pairs. Bytes are read as UTF-8; older Latin-1 data stores é as the single byte e9, which isn't valid UTF-8 on its own, so the converter reports an error rather than printing the wrong character — in UTF-8 the same é is c3 a9.
Examples
3 worked examples
776f726c64 is split into 77 6f 72 6c 64 and decodes to "world".
\x48\x69\x21 decodes to "Hi!" — the \x prefixes are removed and the bytes 48, 69 and 21 are read as H, i and !.
e2 82 ac decodes to the euro sign €, and f0 9f 98 80 decodes to the 😀 emoji.
FAQ
Quick answers to common questions about the Hex to Text Converter.
Paste the hex into the box above and click "Convert to text". Every two hex digits are read as one byte, and the bytes are decoded as UTF-8 text in your browser.
No. 48656c6c6f decodes to "Hello" just like 48 65 6c 6c 6f does — unspaced hex is split into two-digit bytes, as long as it has an even number of digits. Spaces, commas, semicolons and new lines also work as separators.
Yes. 0x48 0x69 and \x48\x69 both decode to "Hi" — the prefixes are stripped before decoding.
Either. 4F4B and 4f4b both decode to "OK", because hexadecimal digits aren't case-sensitive.
Usually one of three things: a character that isn't 0–9 or a–f, an odd number of digits in an unspaced run, or bytes that aren't valid UTF-8 (for example a lone e9 from older Latin-1 text). Check the input for stray characters or a missing digit.
Yes. f0 9f 98 80 decodes to 😀 and e2 82 ac decodes to €, since multi-byte UTF-8 sequences are joined back into single characters.
No. Hex to text treats each byte as a character code and shows the letters. To get the numeric value of a hex number — ff is 255 — use the hex to decimal converter.
Yes. Type in the Text box and click "Text to hex", or use the dedicated text to hex page.
Yes. Decoding happens entirely on your device and nothing is sent to a server. The tool is free, with no sign-up and no usage limit.
Did Hex to Text Converter work for you?