Skip to content
digiwleea Tools
Learn Open the lab →

Free digital logic tools

Simulate circuits, simplify logic, and convert numbers. Free in your browser, with no sign-up.

Interactive simulators

Play with the real thing: build and run circuits, and drop below them to the transistor and the CPU cycle.

Logic gate simulator Build circuits from transistors and gates, flip the inputs, and watch the signals flow live. Free and online, made for students. Open the simulator → CPU simulator Watch a CPU run a real program, one step at a time: fetch, decode, execute. See the program counter, instruction register, ALU, and accumulator work together as the answer builds up. Open the simulator → Memory (latch) simulator How does a circuit remember a bit with nothing moving? Set an SR latch, release the input, and watch the bit hold itself through feedback. The origin of registers and RAM. Open the simulator → Binary addition walkthrough How does a computer add? Step through binary addition one column at a time and watch the carry ripple left, then try your own numbers. The full adder, made visible. Open the walkthrough → Binary subtraction walkthrough Subtract binary numbers column by column and watch the borrow ripple left, then see the two's complement method a computer uses. Try your own numbers. Open the walkthrough → Binary multiplication walkthrough How does a computer multiply with no multiplication table? Shift and add: watch a shifted copy get added for each 1 bit of the multiplier, then try your own numbers. Open the walkthrough → How do logic gates work? Meet NOT, AND, OR, XOR, and NAND. Click each gate's inputs and watch the output lamp and truth table respond. The handful of rules every computer is built from. Open the walkthrough → How does binary work? Click the bits of an 8-bit number, or press +1 to count and watch the carry roll over. See that binary is just a sum of powers of two, the way every computer stores a number. Open the walkthrough → How do computers store negatives? Two's complement made clear: the top bit's place value is -128, so the number can go below zero. Toggle bits or flip the sign, and watch invert-and-add-one negate a number. Open the walkthrough → MOSFET simulator One level below the switch: drag the gate voltage on a real transistor cross-section and watch the inversion channel form and conduct. The field effect, made visible. Open the simulator →

Logic & boolean tools

Work with gates, truth tables, and boolean expressions, and minimize them.

Logic gates practice Endless questions with instant feedback: gate outputs, naming a gate from its truth table, tracing small circuits and filling whole truth tables. Start practicing → Digital electronics viva questions 41 viva and interview questions with short answers, from gates to flip-flops, counters and memory, each linked to a live circuit. Revise the questions → Boolean algebra practice Simplify expressions, pick the equivalent form and name the law, with every answer checked by truth table and a minimal answer shown. Start practicing → Truth table generator Type a boolean expression with AND, OR, NOT, XOR and friends, and get the full truth table for every input combination. Open the generator → Karnaugh map solver Simplify logic of up to six variables: fill a 2 to 6 variable K-map (with don't-cares) and get the minimized sum of products and product of sums, grouped for you. Open the K-map solver → 5 and 6 variable K-map solver A logic simplification tool for five or six variables: two or four maps side by side, the groups that cross them, and the minimal SOP and POS, with a worked example of each. Simplify 5 or 6 variables → Boolean algebra calculator Type a boolean expression with up to 8 variables (A to H) and get its minimal sum-of-products form, computed from the truth table with Quine-McCluskey. Open the simplifier → Logic gate calculator and circuit generator Type a Boolean expression and get a live gate circuit, drawn as written or as its minimal sum of products, checked on every truth table row. Open the generator → NAND and NOR gate converter Turn any Boolean expression into a circuit of only NAND gates or only NOR gates, from its minimal SOP or POS, checked on every row. Convert an expression → Truth table to Boolean expression Click in a truth table of up to 6 variables, with don't cares, and get its minterms, maxterms, canonical and minimal SOP and POS, and a live circuit. Open the converter → Bitwise calculator Compute AND, OR, XOR, NOT, logical and arithmetic shifts and rotates on numbers in decimal, hex, or binary, with a per-bit breakdown that shows the logic gate behind each column. Open the calculator → Bit masking calculator Build a mask for one bit or a field, then set, clear, toggle, test or extract those bits, with the C expressions. Open the calculator →

Numbers & bases

Convert, encode, and calculate across binary, decimal, hex, and more.

Binary game Flip eight bits to make a number, read bytes in decimal and hex, and beat your best time. Ten questions a round, getting harder as you go. Play the game → Binary converter Convert between binary, decimal, and hexadecimal instantly. Type in any box and the others update, with place values shown. Open the converter → Binary fraction converter Convert decimals like 10.625 or 0.1 to binary with every multiply-by-2 step and the repeating bits, and binary fractions back to exact decimal. Convert a fraction → Binary codes A decimal number in 8421 BCD, 2421, 84-2-1, excess-3, Gray and ASCII, with the code table and which codes are weighted or self-complementing. Compare the codes → Number base converter Convert between binary, octal, decimal, and hexadecimal live, plus any base from 2 to 36. Big numbers stay exact. Open the base converter → Two's complement calculator Convert decimal to two's-complement binary at 8, 16, or 32 bits and back, with the invert-and-add-1 steps and the value range. Open the calculator → One's complement calculator Invert the bits: decimal to one's complement and back at 4 to 32 bits, both zeros, and addition with the end-around carry. Open the calculator → Hex calculator Add, subtract, multiply or divide hexadecimal numbers, with the carries, borrows and partial products shown and the answer in decimal and binary. Open the calculator → Binary calculator Add, subtract, multiply, or divide binary numbers, with the result in binary, decimal, and hex, and the column-by-column carries a full adder computes. Open the calculator → Text to binary converter Turn text into 8-bit binary per character (and hex), or paste binary to decode it back to text. UTF-8 safe, both directions. Open the converter → IEEE 754 floating point converter Convert a decimal number to its 16-bit, 32-bit or 64-bit float bit pattern and back, with sign, exponent, and mantissa broken out. Handles zero, infinity, NaN, and subnormals. Open the converter → Gray code converter Convert a number to reflected binary Gray code and back, with the XOR derivation and a demo of consecutive values changing exactly one bit. Open the converter → Hamming code calculator Encode up to 64 data bits with every parity check shown, then flip a bit and watch the syndrome find and fix it. SECDED option. Open the calculator → CRC calculator CRC-8, CRC-16 and CRC-32 of text or hex with catalogue presets or a custom CRC, plus the polynomial long division step by step. Open the calculator → BCD converter Decimal to BCD and back, binary to BCD with every double dabble step, plus excess-3 and packed BCD bytes. Open the converter → Booth multiplier Multiply two signed binary numbers with Booth's algorithm and see A, Q and Q-1 after every add, subtract and shift, plus the Booth recoding. Open the calculator → Restoring division calculator Divide two binary numbers with the restoring or non-restoring algorithm and see A and Q after every shift, subtract and restore. Open the calculator → ASCII table The full 128-code ASCII table with decimal, hex, octal, and binary, plus a lookup that finds any character, code, or control name like LF. Open the table →

New to this? Start with the theory: binary numbers, truth tables, the NAND gate, and Karnaugh maps. Or jump straight into the lab and build something.

How digiwleea compares

New here from another logic simulator or course? See how digiwleea is different, and why it goes all the way from a transistor to a working CPU.

Build parts from logic gates

Step-by-step guides that build the core logic parts from gates, each with a live circuit you can toggle and open in the lab.