Developer Tools

Bitwise calculator.

AND, OR, XOR, NOT and bit shifts on 8, 16, 32 or 64-bit values. Enter decimal, hex, binary or octal, see the signed and unsigned result and the bits lined up. Runs in your browser.

Advertisement

Input

Result

Enter values, then press Calculate.

How it works

Sources: MDN, JavaScript operators (see <<, >>, >>>); Wikipedia, Bitwise operation. Related: Two's Complement Calculator, IEEE 754 Float Converter, Binary Converter.

Advertisement
Advertisement
Listening…