Convert any value across binary, octal, decimal, and hexadecimal while running common bitwise and shift operations. Perfect for debugging encodings or verifying masks.
FAQ
Which radices are supported?
Binary, octal, decimal, and hex are supported. Choose the input base and the other representations update instantly.
How can I run bitwise operations?
Select an operator, then provide the second operand or shift amount. Choose 32-bit or 64-bit width to match your target environment. Use the interpretation menu to toggle between unsigned and signed (two's complement); the decimal output and range validation follow your choice.
How it’s calculated
- The input is parsed according to the selected radix (bin/oct/dec/hex) and converted to an internal unsigned integer.
- When you choose “signed”, the decimal view interprets the same bit pattern in two’s complement for the selected width (32/64‑bit).
- Bitwise AND/OR/XOR operate on the internal binary value after masking to the chosen width; NOT flips every bit inside the mask.
- Shifts move the bit pattern and fill with zeros; the “signed vs unsigned” option only affects the decimal interpretation, not the underlying bits.
- All views (bin/oct/dec/hex) are rendered from the same internal value to keep results consistent across representations.