Hex / Text Encoder & Decoder — Free Online Tool
Paste any UTF-8 text to see the raw hex byte values for every character, or decode a hex string back to its original text. Supports uppercase/lowercase hex digits and configurable byte separators (space, colon, or none). Ideal for debugging binary payloads, understanding UTF-8 encoding, and analyzing network traffic.
100% client-side. No uploads. Your data never leaves your browser.
How to use Hex / Text Encoder & Decoder
- Select 'Text → Hex' or 'Hex → Text' mode (auto-detected from input).
- Paste or type your input.
- Toggle uppercase and separator options if needed.
- Copy or download the output.
Frequently Asked Questions
Why does an emoji produce 8 hex digits?
Emoji are encoded in UTF-8 as 4 bytes each. Since each byte is two hex digits, a single emoji like 😀 becomes 8 hex characters: F0 9F 98 80.
What is the difference between hex and Base64?
Hex expands each byte to 2 characters (100% size increase). Base64 encodes 3 bytes into 4 characters (~33% increase). Hex is more readable for debugging; Base64 is more compact for transport.
Can I paste a hex dump with spaces or colons between bytes?
Yes. The decoder strips all whitespace and colon delimiters automatically, so '48 65 6c 6c 6f', '48:65:6c:6c:6f', and '48656c6c6f' all decode to 'Hello'.
Related tools
Related reading
Browse all free tools · theproductguy.in