Convert between hexadecimal, decimal, binary, and octal number systems with our free Hex Converter. Supports conversion of hex color codes, memory addresses, and large numbers. Essential for web developers working with CSS colors, programmers debugging memory dumps, and network engineers analyzing packet data.
Enter a hexadecimal value (e.g., FF, 1A2B, #FF5733).
Or enter a decimal, binary, or octal number to convert to hex.
View instant conversions to all number bases.
Copy results with one click.
Hexadecimal (hex) is a base-16 number system using digits 0-9 and letters A-F. Each hex digit represents 4 binary bits, making it a compact way to represent binary data. For example, hex FF = decimal 255 = binary 11111111.
Hex color codes (#RRGGBB) represent colors using three pairs of hex digits: Red (00-FF), Green (00-FF), Blue (00-FF). For example, #FF0000 is pure red, #00FF00 is green, #0000FF is blue, #FFFFFF is white.
The 0x prefix indicates a hexadecimal number in programming languages like C, Java, JavaScript, and Python. For example, 0xFF represents the decimal value 255.