Hexadecimal (HEX) is a base-16 numeral system used to represent binary data in a human-readable format. Each hexadecimal digit represents 4 bits (half a byte), so a byte can be represented by two hexadecimal digits.
When to use HEX encoding: HEX encoding is commonly used in programming and computer science for various purposes, including:
Supported HEX formats for decoding:
Plain
- Simple uppercase or lowercase hex characters (DEADBEEF or deadbeef)With Dashes
- Pairs separated by dashes (DE-AD-BE-EF)With 0x Prefix
- Each byte has 0x prefix (0xDE 0xAD 0xBE 0xEF)With Colons
- Pairs separated by colons (DE:AD:BE:EF)With Spaces
- Pairs separated by spaces (DE AD BE EF)