Number & Data
Perform AND, OR, XOR, NOT, SHL, and SHR operations on hex values. Results in hex, decimal, and binary.
Operand A (Hex) and Operand B (Hex). Values can be plain (AB12) or prefixed (0xAB12).AND, OR, XOR, NOT, SHL, or SHR — to run it immediately.SHL/SHR, set the Shift amount (0–256). NOT and shifts only use Operand A, so Operand B is ignored.Hex, Decimal, and Binary. Everything recalculates live as you type.Copy Hex to copy the result to your clipboard.Use OR to turn bits on and AND with a mask to turn them off — the everyday pattern behind permission and status flags.
XOR reveals which bits differ between two values, handy for checksums, change detection, and toggling individual bits.
See the exact hex, decimal, and binary of any mask in one place, so you always know which bits are set.
SHL by n multiplies by 2n, SHR divides — the same fast shifts used in low-level code.
Backed by JavaScript BigInt, results never overflow at word size, unlike native number operations.
Everything runs in your browser. Nothing is uploaded, logged, or sent to a server — safe for sensitive values.
It applies bitwise operators — AND, OR, XOR, NOT, SHL, and SHR — to hex values and shows the result as hex, decimal, and binary.
AND keeps bits set in both operands, OR keeps bits set in either, XOR keeps bits that differ, NOT flips every bit, and SHL/SHR shift bits left or right by the shift amount.
Numbers use two's complement, so NOT of a positive value flips its sign bit too, producing a negative result. For example, NOT 0x0F is -0x10.
NOT only inverts one value, and SHL/SHR need just one operand plus a shift amount, so the second operand isn't used for those operations.
Yes. It uses JavaScript BigInt for arbitrary-precision math, so results won't silently wrap or overflow at a word size.
Hex digits 0–9 and a–f (case-insensitive), with an optional 0x prefix. Empty or non-hex input clears the result rather than showing a wrong value.
No. All calculation happens locally in JavaScript. Your values are never sent to, stored on, or logged by any server.