Truth Table Generator — Boolean Logic
Generate a full truth table from a boolean expression (AND/OR/NOT/XOR/→/↔), up to 8 variables. Client-side.
Operators: AND & · OR | · NOT ! · XOR ^ · → (implies) · ↔ (iff). Variables are single letters.
| Result | |
|---|---|
How to use
- 1 Type a boolean expression using variables and operators.
- 2 Use AND, OR, NOT, XOR, → (implies) or ↔ (iff), and parentheses.
- 3 The complete truth table (all 2ⁿ rows) is generated instantly.
Why use this tool
- Full truth table for any boolean/propositional-logic expression.
- Supports up to 8 variables and standard logical operators.
- Runs entirely in your browser.
Frequently asked questions
What operators are supported?
AND (&), OR (|), NOT (!), XOR (^), implication → (->), and biconditional ↔ (<->). Words (AND, OR, NOT, XOR) and symbols both work.
What is operator precedence?
NOT binds tightest, then AND, then XOR, then OR, then →, then ↔. Use parentheses to override.
How many variables can I use?
Up to 8 (256 rows). Variables are single letters such as A, B, C.
What does the truth table show?
Every combination of true/false values for the variables, with the resulting value of the whole expression.
What is Truth Table Generator?
A truth table generator parses a boolean (propositional-logic) expression and lists the result for every combination of its variables’ truth values.
Truth Table Generator is a free math utility by Zerethon Tools. Generate a full truth table from a boolean expression (AND/OR/NOT/XOR/→/↔), up to 8 variables. Client-side. Runs entirely in the browser — no signup, no upload.
- Category
- Math
- Pricing
- Free
- Privacy
- Browser-based
- Signup
- Not required
Privacy
Your data never leaves your browser unless explicitly stated. Truth Table Generator runs entirely client-side — no server upload, no logging, no tracking of your input.
Related tools
Percentage Calculator
Three-in-one percentage calculator: X% of Y, X as a % of Y, and % increase/decrease. Instant, client-side.
Open toolScientific Calculator
Online scientific calculator — trig, log, powers, roots, factorial, π/e, DEG/RAD, with a proper expression parser. Client-side.
Open toolFraction Calculator
Add, subtract, multiply and divide fractions with automatic simplification, decimal and mixed-number output. Client-side.
Open toolCombinations & Permutations Calculator
Exact nCr, nPr and n! with big-integer precision. Client-side, no signup.
Open toolBuild, share, and grow on Zerethon Social
Free signup. Earn points, collect achievements, and connect with creators worldwide.