Experiment with Boolean algebra using this interactive Logic Gate Simulator. Connect
inputs to AND, OR, NOT, and XOR gates to visualize how digital circuits evaluate signals.
Try:
Preset Circuits
Palette
drag
onto canvas, or click then click canvas
Circuit
⠿
Truth Table
Advertisement
Presets
Click any preset card to load a famous circuit — half adder, full adder, SR latch,
multiplexer, decoder, and more. Click the orange INPUT switches to toggle 0/1 and watch the circuit respond
live.
Builder Mode
Drag a gate from the palette onto the canvas, or click a palette item then click the
canvas to place it. Drag from an output pin (right side) to an input pin (left side) to connect a wire.
Wires
Green wire = signal is 1. Gray wire = signal is 0. Click any wire to delete it. Click a
gate to select it, then click the red ✕ badge to delete the gate and its wires.
INPUT / OUTPUT
INPUT gates are toggle switches you click to set 0 or 1. OUTPUT gates are LEDs — green
when receiving a 1, dark when receiving a 0 or nothing.
Truth Table
Click ⊞ Truth Table to generate every input combination and the resulting
outputs for the current circuit — automatically detects all INPUT and OUTPUT gates.
Gate Types
AND, OR, NOT, NAND,
NOR, XOR, XNOR — every gate evaluates live as you change inputs or
rewire connections.
Advertisement
How to use
Open the tool and enter your data or select options.
Adjust settings to see real-time updates.
Copy the generated result to your clipboard.
Frequently Asked Questions
What is a logic gate?
A
logic gate is an idealized model of computation or physical electronic device implementing a Boolean function,
performing a logical operation on inputs to produce a single output.
What does an XOR gate do?
An
Exclusive-OR (XOR) gate outputs true only if exactly one of its inputs is true. If both are true or both are
false, it outputs false.
Can I build complex circuits?
This
tool is designed for educational exploration of basic logic sequences. You can chain a few gates together to see
immediate results.
Did you know?
Modern computer processors contain billions of microscopic logic gates constructed from transistors.
The NAND gate is considered a 'universal gate' because any other boolean function can be implemented using
only NAND gates.
George Boole formalized boolean algebra in 1854, over a century before it was used to design electronic
computer circuits.