Encode and decode Hex strings instantly
Hexadecimal (hex) encoding is a method of representing binary data using base-16 numbering system. Each byte (8 bits) of data is represented as two hex digits (0-9, A-F). For example, the letter "A" (ASCII 65) becomes "41" in hex.
Hex encoding is useful for: debugging binary data, analyzing network packets, working with memory dumps, color codes in web design (#RRGGBB), encoding binary data in text formats, cryptocurrency addresses, and when you need a human-readable representation of binary data.
Hexadecimal uses 16 characters: digits 0-9 (representing values 0-9) and letters A-F (representing values 10-15). Sometimes lowercase a-f is also used. Each hex digit represents 4 bits (half a byte), so two hex digits represent one byte (8 bits).
Hex is more compact than binary (4x smaller) but less compact than Base64 (33% larger). Hex is easier for humans to read than binary and is commonly used in debugging. Unlike Base64, hex doesn't use special characters, making it URL-safe.
Yes, hex encoding can represent any character including Unicode and special characters. Each character is converted to its Unicode code point (UTF-8 encoding), then each byte of that encoding is converted to hex. This ensures all characters are properly represented.
Common uses include: color codes in CSS/HTML (#FFFFFF for white), memory addresses in debugging, bitmask operations, encoding binary files, cryptographic hashes (MD5, SHA), MAC addresses, and representing raw binary data in logs or configuration files.
No! All processing happens locally in your browser. We don't store, save, or transmit your data to any servers. Your content remains completely private and secure.
Yes, 100% free! No registration required, no hidden fees, and no limitations on usage. You can use it as much as you need for any type of hex encoding or decoding.