Binary Simulator

Binary Simulator

Click the bits to build a binary number and watch it convert to decimal and hex live, or simulate AND / OR / XOR / NOT / ADD / shift operations between two binary numbers below.

Bit Toggle Simulator 0 bits set
Binary
00000000
Decimal
0
Hex
00
Binary Operations Simulator
Result (bin)
Result (dec)

How These Operations Work

AND / OR / XOR compare each pair of bits at the same position: AND is 1 only if both bits are 1, OR is 1 if either bit is 1, XOR is 1 if the bits differ.

NOT flips every bit in A (0 becomes 1, 1 becomes 0).

ADD performs binary addition with carry, just like decimal addition but base 2.

Shift Left / Right moves every bit in A one position, filling the empty slot with 0 — equivalent to multiplying or dividing by 2.

The Binary Simulator is a web app that lets you learn about and play with binary numbers, conversions, and operations. The reason why I have created it is because it is a great way to view and work with binary data, whether you’re a student just starting out, a developer brushing up on low-level issues, or just someone who is curious.

What is the Binary Simulator?

Binary Simulator

Key Features of the Binary Simulator

How to Use the Binary Simulator

FAQs

Do you want to try other tools? Visit the homepage.