Truth Table Generator

Truth Table Generator

Generate truth tables for logical expressions using boolean variables.

Last updated: June 2026 | By Patchwork Team

Truth table
Results shown below
ABResult
FFF
FTF
TFF
TTT

What Is A Truth Table?

A truth table lists every possible input combination and the resulting logical output.

How To Generate A Truth Table

  1. Enter the variable names.
  2. Type the logical expression.
  3. Read the completed table below.

Frequently Asked Questions

Which operators are supported?

Use &&, ||, !, and XOR-style ^ expressions.

Can I use more than two variables?

Yes. The table grows to cover every possible combination.

Related Tools