Number Base Converter
Convert between Binary, Octal, Decimal, and Hexadecimal instantly
Input
Valid digits for base 10: 0–9
BinaryBase 2
1111 1111
11111111
OctalBase 8
0o377
DecimalBase 10
255
HexadecimalBase 16
0x00FF
Bits Required
8
Decimal Value
255
ASCII Char
> 127
Nibbles
2
Bitwise Operations
Integer inputs only (0 – 2³²)
= 0b 0011 1100
= 0b 1101
A AND B
12
0b 1100
0x C
A OR B
61
0b 0011 1101
0x 3D
A XOR B
49
0b 0011 0001
0x 31
NOT A
4,29,49,67,235
0b 1111 1111 1111 1111 1111 1111 1100 0011
0x FFFFFFC3
NOT B
4,29,49,67,282
0b 1111 1111 1111 1111 1111 1111 1111 0010
0x FFFFFFF2