Generate truth table for boolean expression.. Truth Table Generator is a free online tool from the ToolsRift Math Calculators collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Loading Truth Table Generator…
How to use Truth Table Generator
Enter a boolean expression with variables and operators, and the generator builds the complete truth table for all input combinations.
Frequently asked questions
What is a truth table?
A table listing every possible combination of input values and the resulting output of a logical expression.
How many rows will it have?
2ⁿ rows for n variables — 2 variables give 4 rows, 3 variables give 8 rows, and so on.
Which operators can I use?
AND, OR, NOT and XOR, combined with parentheses and single-letter variables.
ToolsRift processes your files in your browser. We use cookies only for basic analytics and to support ads that keep every tool free. See our Cookie Policy.