Bitwise Calculator

Compute AND, OR, XOR, NOT and shifts with arbitrary-size integers. Shift counts are 0–4096; negatives use signed semantics.

Convert in your browser · No sign-up

Compute AND, OR, XOR, NOT and shifts with arbitrary-size integers. Shift counts are 0–4096; negatives use signed semantics.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

How to use

  1. Compute AND, OR, XOR, NOT and shifts with arbitrary-size integers. Shift counts are 0–4096; negatives use signed semantics.
  2. Choose the options, then run the tool.
  3. Check the result, then copy or download it.

Example

0xff AND 0x0f = 15 = 0xf = 0b1111

Details and limitations

Compute AND, OR, XOR, NOT and shifts with arbitrary-size integers. Shift counts are 0–4096; negatives use signed semantics.

Processing stays in your browser.

FAQ

Supported inputs and limits

Compute AND, OR, XOR, NOT and shifts with arbitrary-size integers. Shift counts are 0–4096; negatives use signed semantics.

Format references

Tool page updated: