Skip to content
Hex Calculator

Bitwise Tools

Run AND, OR, XOR, and NOT bitwise operations on hex values, with aligned binary output showing exactly which bits changed at a given width.

Bitwise Tools

About Bitwise Tools

Bitwise operations work on the individual bits of a value rather than its numeric value as a whole. This category runs AND, OR, XOR, and NOT on hex values at an explicit bit width, with aligned binary output so you can see exactly which bits changed.

Further reading: Bitwise operation — Wikipedia

Frequently Asked Questions

Why does bit width matter for bitwise operations?

A bitwise NOT on 0xF at 4-bit width gives 0x0, but the same NOT at 8-bit width gives 0xF0 — the result depends entirely on how many bits are involved.

What's XOR commonly used for?

Toggling specific bits, simple checksums, and swapping values without a temporary variable — it's one of the most widely used bitwise operations in low-level programming.