Hex Reference
0xAB in Binary = 10101011
Hex 0xAB converts to binary 10101011. Decimal: 171. Octal: 253.
Quick Answer
Hex
AB
Binary
10101011
Decimal
171
Octal
253
How to Convert 0xAB to Binary — Step by Step
1
Separate the two hex digits
0xAB = high nibble A + low nibble B
2
Convert each digit to 4 binary bits
Hex A = 1010 (decimal 10)
Hex B = 1011 (decimal 11)
3
Concatenate the 4-bit groups
1010 + 1011 = 10101011
0xAB in All Number Systems
| Hex (Base 16) | AB (0xAB) |
| Binary (Base 2) | 10101011 (1010 1011) |
| Decimal (Base 10) | 171 |
| Octal (Base 8) | 253 |
| ASCII | Non-printable |
Convert Any Hex Value Instantly
Use the full converter with step-by-step math, ASCII table, and two's complement support.
Open Full Hex to Binary ConverterExplore Other Popular Converters
Binary to Decimal Binary to Hex Binary to Octal Binary to ASCII Negative Binary to Decimal Decimal to Binary Decimal to Hex Decimal to Octal Hex to Binary Hex to Decimal Hex to Octal Hex to ASCII Octal to Binary Octal to Decimal Octal to Hex ASCII to Binary ASCII to Hex ASCII to Decimal Binary Cheat Sheets