How hex encoder & decoder works
Hexadecimal encoding represents every byte of input as two hex digits (0-9, a-f or A-F). This is the most common way to inspect raw bytes — in hex dumps, debuggers, network captures, and source code — because every byte maps to exactly two characters.
Enter text to encode it to hex, or paste hex to decode it back to text. Choose lowercase or uppercase output, add a single leading 0x prefix, add per-byte 0x prefixes (e.g. 0x48 0x65), or separate bytes with spaces. When decoding, all 0x / \x prefixes and whitespace are stripped automatically, so you can paste formatted hex straight from a dump.
Hex encoding is an encoding, not encryption — it provides no security and anyone can reverse it. Use it to inspect, share, and transport raw bytes. All processing happens in your browser using built-in UTF-8 conversion.