Data Tools

AND, OR, XOR, and Shift Calculator

Run AND, OR, XOR, left shift, and right shift on two operands in your browser. Decimal, hex, and binary inputs stay linked, and results show in all three bases—useful for protocol debugging and mask checks.

BitwiseBinaryDeveloper

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Verify flag masks in protocol or firmware notes
  • Compare shift results across bases
  • Teach or double-check bitwise homework quickly

How to use

  1. Enter operands in decimal, hex, or binary
  2. Choose an operation
  3. Copy the result

Example input and output

A & B

12 & 10

Result

8 (0b1000)

FAQ

What integer range is supported?

Values are treated as 32-bit signed integers; overflows are reported instead of wrapping silently.

Can I mix input bases?

Yes. Changing one base updates the others for the same operand.

Tools

Related tools

Continue with another translated tool for a nearby task.

Number Base Converter

Number Base Converter for Binary, Octal, Decimal, and Hex

Available

Convert numbers between binary, octal, decimal, and hexadecimal locally in your browser. Useful for embedded debugging, bitwise checks, and address inspection.

Radix Converter Developer

Binary Text Converter

Binary, Octal, Decimal, Hex Text Converter

Available

Convert UTF-8 text to and from binary, octal, decimal, or hexadecimal byte representations, with optional spacing. Useful for inspecting encodings and restoring capture fragments. Conversion stays in the browser.

Binary Encoding Radix

ASCII Hex Converter

ASCII Hex Converter — Byte Stream Reference Tool

Available

Convert ASCII text and hexadecimal byte streams in your browser with optional separators for packet decoding, protocol debugging, and low-level string comparison.

ASCII Hex Encoding