Free tools & games for everyone
Free · No sign-up · No accounts
Build logic from AND, OR, NOT, XOR, NAND, NOR and XNOR gates, flip the inputs to see the output, and get the full truth table at once.
Output: ?
AND, OR, NOT, XOR, NAND, NOR, XNOR. Short forms work too: & | ! ^.| Tab | Move to the input buttons |
|---|---|
| Space or Enter | Switch the input under the focus |
| Brackets | Use ( ) to group, for example NOT (A OR B) |
A NAND A (it acts like NOT A).Gate rules: AND is 1 only when both inputs are 1; OR when at least one is 1; NOT flips its input; XOR when exactly one is 1; NAND, NOR and XNOR are the opposites of AND, OR and XOR. The truth table tries every one of the 2n input combinations (up to 8 inputs, 256 rows). The "output is 1 for" line lists those rows as a sum of products, where A' means NOT A. Nothing is saved or sent.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product