Hex to Text Converter
Paste a hex string to read it as text, or type text to get its hexadecimal bytes. Set the separator and 0x prefix, then copy the result. It works on UTF-8 bytes and runs in your browser.
This hex to text tool works as both a hex string decoder and a text to hex converter, so you can go either way without switching pages. Paste something like 48 65 6c 6c 6f and read it as “Hello”, or type text and get its bytes as hexadecimal. When you encode, you can add spaces or colons between bytes and a 0x prefix, which is handy when you want ascii to hex output that drops straight into code. It reads UTF-8, so accented letters and emoji round-trip correctly, and it all happens in your browser.
How it works
- 1
Choose a direction
Pick Hex → Text to decode, or Text → Hex to encode. The output updates as you type.
- 2
Set the format
For encoding, choose the separator (space, colon or none), a 0x prefix, and upper or lower case.
- 3
Copy the result
Copy the decoded text or the hex string, or download it as a file.
Instant & 100% private — nothing is uploaded
Everything runs locally in your browser. Your code, text and files are processed on your own device and are never sent to a server — so there are no upload waits, no size limits from us, and nothing is ever stored or logged.
Frequently asked questions
- What does the hex string decoder do?
- It reads pairs of hex digits as bytes and turns them into readable text. Spaces, colons and 0x prefixes in the input are ignored, so most pasted formats just work.
- How do I convert text to hex?
- Switch to Text → Hex and type. Each character is encoded as its UTF-8 bytes, then shown in hexadecimal with the separator and prefix you picked.
- What do the 0x prefix and separators change?
- They only affect how the hex is written, not its value. A 0x prefix and byte separators make the output easier to paste into source code; “none” gives a solid run of digits.
- Does it handle non-ASCII characters?
- Yes. Because it works on UTF-8 bytes, a character like é becomes c3 a9 and decodes back correctly, so the round trip is lossless.
- Is my text sent to a server?
- No. Both the ascii to hex encoding and the decoding run locally in your browser.
More tools
More from the Hivly network
Free sister tools on our other sites.