digiwleea Tools
Learn Open the lab →

Logic gate simulator

digiwleea is a free, online logic gate simulator that runs in your browser. Drop in gates and transistors, draw wires between their pins, flip an input, and watch the signals light up across the circuit in real time. No sign-up, no install, and it is made for students learning how digital logic actually works.

Build a NOT gate, a NAND, an XOR, a full adder, or a flip-flop, then save each one as a reusable part and snap them together into bigger circuits. Read the truth table with one click, or run a clock and plot every signal over time.

Open the simulator free, in your browser, nothing to install
A = 1 B = 1 Q = 1 AND
an AND gate, both inputs high, output high

Try it right here: a live NAND gate

Below is a real 2-input NAND gate built from four CMOS transistors, running live in this page. Click inputs A and B to flip them and watch the transistors switch and the output change. This is exactly what you build, and go far beyond, in the full lab.

Open this exact NAND in the lab, editable →

What you can do with it

Why it is free and in your browser

The simulator runs entirely on your own machine as a web app, so there is no server to pay for and nothing to download. That keeps it free, fast, and private: your circuits stay in your browser unless you choose to sign in and sync them. It works on a laptop, a tablet, or a phone, and you can even install it to run offline.

It is built for students. The same tool that draws a single NOT gate scales up to a working 8-bit processor, so you can start at A AND B and end at fetch, decode, execute without ever switching apps.

How to use it

Example: an AND gate from two NMOS transistors

Suppose you want to see an AND function from first principles. Place two NMOS transistors in series between an input source and the output, and tie their gates to two input switches A and B. Current only reaches the output when both transistors conduct, that is, only when A = 1 and B = 1. Flip just one input low and the path breaks, so the output drops. That is exactly the AND truth table: the output is 1 only on the last row. Click Truth Table and the simulator confirms it. From there, add a CMOS inverter on the output and you have built a NAND, the universal gate that every other gate can be made from. And if you are curious how the transistors themselves switch, one level deeper, watch it in the interactive MOSFET simulator.

Frequently asked

Is this logic gate simulator free?

Yes. The simulator runs entirely in your browser at no cost, with no sign-up and nothing to install. You can build, save, and share circuits for free.

Do I need to install anything to simulate logic gates?

No. It is a web app, so it works in any modern browser on a laptop, tablet, or phone. There is no download and no plugin. You can also install it as an offline app if you want.

Can I build gates from transistors?

Yes. This is a switch-level simulator, so you wire NMOS and PMOS transistors into CMOS gates and watch them work, then save each gate as a reusable part and compose larger circuits like adders and registers.

Does it show a truth table?

Yes. One click computes the full truth table from your circuit's inputs and outputs. For circuits with a clock you can also plot every signal over time as a timing waveform.

Ready to build something? Open the lab now, or learn the theory first: the NAND gate, truth tables, and the full course from the transistor up. You can also generate a truth table from an expression or minimize logic with the Karnaugh map solver.

Open the simulator