CircuitGen
Boolean expression to gate-level circuit diagram
This logic circuit generator converts any boolean expression into an interactive gate-level diagram you can export as SVG or PNG. Type an expression using AND, OR, NOT, XOR, NAND, NOR, and XNOR gates, and see the corresponding circuit rendered instantly with natural or 2-input-only fan-in.
Operators: ' ~ ! (NOT) · . * & (AND) · + | (OR) · ^ (XOR) · @ (XNOR) · % (NAND) · # (NOR)Keywords: and, or, not, nand, nor, xor, xnor · Precedence: NOT → AND/NAND → XOR/XNOR → OR/NOR
Variables: any letter (A-Z, a-z). Use parentheses for grouping.