Mini Game · Digital Logic · Computer Science

Logic Gate Simulator

Drag gates from the palette onto the canvas, connect them with wires, toggle inputs, and watch signal propagation in real time.

Inputs
IN Input
Gates
AND AND
OR OR
NOT NOT
NAND NAND
NOR NOR
XOR XOR
XNOR XNOR
Output
Output LED
Actions
Mode:
Drag gates from the palette → click inputs to toggle 0/1 → switch to Wire mode to connect gates

Selected Component

Click a component on the canvas to inspect it.

Truth Tables

AND
ABOUT
000
010
100
111

Keyboard Shortcuts

SSelect mode
WWire mode
DDelete mode
DelDelete selected
EscCancel wire

CS Connection

Logic gates are the physical implementation of Boolean algebra. Every CPU, memory cell, and digital circuit is built from combinations of AND, OR, and NOT gates — NAND alone is functionally complete.