Binary & Hex
Binary, Hex, Octal and Decimal Converter
Convert between number bases
Type in any field — every other base updates instantly. Arbitrarily large integers are supported.
Byte view
Bit length
8
Bytes needed
1
Padded hex
B6
Quick reference
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 1 | 1 | 1 | 1 |
| 2 | 10 | 2 | 2 |
| 4 | 100 | 4 | 4 |
| 8 | 1000 | 10 | 8 |
| 10 | 1010 | 12 | A |
| 15 | 1111 | 17 | F |
| 16 | 10000 | 20 | 10 |
| 32 | 100000 | 40 | 20 |
| 64 | 1000000 | 100 | 40 |
| 100 | 1100100 | 144 | 64 |
| 128 | 10000000 | 200 | 80 |
| 255 | 11111111 | 377 | FF |
| 256 | 100000000 | 400 | 100 |
| 1024 | 10000000000 | 2000 | 400 |
Frequently Asked Questions & How-To
Type into the binary, octal, decimal or hexadecimal field and the other three update on the same keystroke, so conversion works in every direction at once.
Values are parsed as arbitrary-precision integers, so long register dumps and 64-bit values convert exactly instead of losing precision.
The byte view shows bit length, how many bytes the number needs and its zero-padded hexadecimal form, which is handy when packing binary formats or debugging protocols.
Popular searches this page answers
- binary to hex
- hex to binary
- binary to decimal
- decimal to binary
- hex to decimal
- decimal to hex
- octal to binary
- binary converter
- hexadecimal converter
- base 2 to base 16
- number base converter