Convert
Decimal → Hex
Type a decimal integer to see its hexadecimal, binary and octal forms. A fixed width pads the result and turns negative numbers into two’s complement.
Bit width
Examples
Hexadecimal
0xFF
8-bit · 1 bytes
FF
- Hexadecimal
- 0xFF
- Binary
- 0b11111111
- Octal
- 0o377
- Decimal (unsigned)
- 255