Decision Tree Tool
Build a Yes/No question tree to map out decision logic, troubleshooting steps or eligibility rules — then test it interactively by clicking through your own questions. Pro Mode adds custom branch labels, probabilities, icons, themes and SVG/PDF export.
Your decision tree is empty
Decision Tree Tool — Build and Test Yes/No Logic Visually
Complex decisions rarely come down to a single question — they're usually a chain of smaller Yes/No questions, each one narrowing down the path to a final answer. A decision tree makes that chain visible and testable, turning fuzzy reasoning into a clear, followable structure. Our free decision tree tool lets you build exactly that: start with a root question, branch into Yes/No paths, mark final answers as outcomes, and then actually walk through your own tree to check the logic holds up.
Simple Mode covers the complete core workflow: build branches, mark outcomes, drag to rearrange, auto-layout for a clean binary tree shape, and test your tree interactively. Switch to Pro Mode (free) for custom branch labels beyond Yes/No, branch probabilities, an icon library, colour themes, ready-made templates, and SVG/PDF export.
Why "Test My Tree" matters more than it sounds: it's easy to build a decision tree that looks complete on paper but has a logic gap you'd never notice just by looking at it — a missing branch, a question that doesn't actually distinguish its two paths, or an outcome that's reachable from contradictory conditions. Actually walking through your own tree by clicking Yes/No at each step, exactly the way an end user would, surfaces these problems immediately rather than after the tree has already been shared or used.
The Anatomy of a Decision Tree
Decision Tree vs Flowchart — Are They the Same Thing?
Not quite. A decision tree is technically a specific, constrained type of flowchart: every internal node is a question with exactly two paths, there are no loops back to earlier steps, and every path terminates in a defined outcome. A general flowchart is broader — it can represent sequential processes with no decisions at all, allow loops back to repeat earlier steps, and use multiple shape types for different kinds of actions beyond just questions. If your diagram is purely "answer this, then answer that, until you reach a result," it's a decision tree. If it involves a process with steps, loops, or multiple action types, a general flowchart — like our Flowchart Generator — is the better fit.
Decision Trees in Machine Learning
The same branching logic taught here also underlies one of the most widely used algorithms in machine learning. A machine learning decision tree automatically learns a branching structure from training data, where each internal node tests a feature of the data (for example, "is age greater than 30?"), each branch represents the result of that test, and each leaf represents a final classification or prediction. Our tool builds the human-designed version of this same structure — manually authored rather than learned from data — but understanding this shared concept is genuinely useful groundwork for students moving into data science or AI coursework later.
Where Decision Trees Are Used
Pro Mode — Six Advanced Features
How to Build Your Decision Tree
For more visual planning and logic tools, use this generator alongside our Flowchart Generator for broader process diagrams, our Mind Map Generator for open-ended brainstorming, our Task Priority Matrix for turning decisions into prioritised action, and our SWOT Analysis Generator for structured strategic thinking.
Frequently Asked Questions
Decision tree logic, structure and how this tool works
Edit the root question, select it and click "Add Yes/No Branches". Turn branches into more questions or click "Mark as Outcome" for final answers. Repeat until every path ends in a result. No signup needed — it saves automatically in your browser.
Mapping out Yes/No questions leading to outcomes — troubleshooting guides, eligibility checkers, academic and business decisions. The same branching structure is also foundational to machine learning classification algorithms.
A decision tree is a specific type of flowchart — exclusively branching questions with two paths each, no loops, every path ending in an outcome. A general flowchart can include sequential steps, loops, and other action types beyond just decisions.
ML decision trees automatically learn a branching structure from data — each node tests a feature, each branch is a test result, each leaf is a classification. Our tool builds the manually authored version of this same concept.
Most use exactly two — binary branching (Yes/No or any two mutually exclusive options) keeps the tree simple to follow and test. If a decision has more than two outcomes, it's usually clearer to split it into multiple binary questions.
Yes — click "Test My Tree" to walk through it interactively, answering each question with your path highlighted live on the diagram and a breadcrumb trail. This catches logic gaps before you finalise and share it.
Pro Mode (free) adds custom branch labels, branch probabilities, an icon library, 4 colour themes, 3 ready-made templates, and SVG/PDF export alongside PNG.
Yes — alongside image exports, there's a dedicated outline export converting your tree into clean, nested text showing branch labels, questions, outcomes and depth via indentation — ready to paste into a report or document.