Base16 Encoder/Decoder
Convert text to/from hex with customizable case, separators, and prefix formats.
Format Options
Separator:
Prefix:
Chars: 0Bytes: 0
Chars: 0
About This Tool
Base16 (also known as hexadecimal encoding / Hex) is the most fundamental binary-to-text encoding scheme, mapping each byte to two hex characters (0-9, A-F). It is widely used in debugging, network protocol analysis, data transfer, and low-level programming. This tool supports bidirectional conversion between UTF-8 text and hex strings. When encoding, you can freely choose case, separator (none/space/colon/dash), and prefix (none/0x/0X/\x). When decoding, it intelligently detects and auto-removes various prefixes and separators. All processing runs locally in your browser for data privacy.
Features
- 🔄 Bidirectional: Convert text to hex and hex to text
- 🔠 Case Toggle: Choose uppercase or lowercase hex output
- 📐 Separator Options: None, space, colon, or dash separators
- 🏷️ Prefix Formats: None, 0x, 0X, or \x prefix styles
- 🧹 Smart Decode: Auto-detects and removes prefixes and separators
- ⚡ Live Conversion: Instant output as you type
- 🔄 Quick Swap: One-click swap between input and output
- 🛡️ Privacy First: 100% local browser processing, no data uploads