Binary Tools
Bitwise NOT
Perform bitwise NOT operation (Invert).
Updated 2025-12-01
Bitwise NOT
Invert all bits
Flip every bit in a binary value (0→1, 1→0) within a specified bit width.
The bit width determines how many bits are inverted. Leading zeros will be filled.
NOT Operation
~0 = 1
~1 = 0
Each bit is flipped to its opposite value.
Bitwise NOT (one's complement) inverts every bit. Combined with bit width, this creates a proper inversion within the specified range. Useful for creating masks, computing two's complement, and inverting flags. All processing happens locally in your browser.