Skip to content

Free flowchart, diagram and chart makers

Tree Diagram Maker

What is a tree diagram maker? It is a browser tool that draws a branching tree diagram from boxes or an indented outline. You get eight templates, branch probabilities, and PNG, SVG or PDF download, with no account or sign-up and nothing uploaded. Free includes 3 PNG, SVG or PDF exports a month.

Open on Diagram Smith

This embed was switched off for this website. Open on Diagram Smith

Need a diagram maker inside your own docs or course site? Embedding it is free. Embedding options

The tree diagram maker draws a branching tree diagram in your web browser. A tree diagram starts from one item at the root and splits into branches, and each branch can split again. This tree diagram creator builds that structure from boxes, connections and branch labels, and it works as a tree chart maker or tree graph maker when you only need a clean hierarchy. There is no account or sign-up, and nothing is uploaded.

Use it to show how something divides into parts, to list every outcome of a series of choices, or to work out probabilities. The editor opens with a sample tree that classifies animals, and the Templates menu holds eight tree diagram templates, from coin flips to product categories. If the structure is already written down, type it as an indented outline and the diagram is drawn for you.

At a glance

A tree diagram starts from one item at the root and splits into branches, and each branch can split again. A probability tree is a tree diagram where each branch is labelled with the chance of that outcome.

  • The Templates menu holds eight tree diagram templates, from coin flips to product categories.
  • Free includes 3 PNG, SVG or PDF exports a month.
  • Dragged boxes snap to a 10-pixel grid, and holding Alt allows free movement.
  • Branch probabilities can be written as fractions (1/2), decimals (0.5) or percentages (50%).
  • There is no account or sign-up, and nothing is uploaded.

Last checked:

Tree diagram maker example

How to use the tree diagram maker

  1. Open the editor. It loads with a sample tree that classifies animals. To start from a different layout, open the Templates menu and choose one of the eight templates, such as Three coin flips, Two free throws at 70% or Branching tree: product categories.
  2. Double-click a box to edit its text. Press Enter to save, Shift+Enter for a line break, or Esc to cancel.
  3. Double-click empty space to add a new item there. To add a connected box, select a box and click one of the four + buttons on its sides.
  4. Connect two boxes by dragging one of the small blue dots at the edge of a box onto another box. Drop the dot on empty space to create a new connected box.
  5. Click Text to open the outline box. Type one item per line and indent child items with two spaces or a tab. To label a branch, add a bar and the label after the item, such as Heads | 1/2.
  6. Open the Auto layout menu and choose top to bottom or left to right. The tree is arranged and the lines are routed for you.
  7. Drag boxes to move them. They snap to a 10-pixel grid, and holding Alt allows free movement. Use Ctrl/Cmd plus the mouse wheel to zoom, or use the zoom and Fit buttons in the toolbar.

Delete removes the selection and Ctrl+Z undoes. Your work is saved automatically in this browser, and the Saved menu keeps named copies.

What is a tree diagram?

A tree diagram is a diagram that starts from one item at the root and splits into branches, and each branch can split again. It shows how something divides into parts, lists all possible outcomes of a sequence of choices or events, and helps you work out probabilities.

A classification tree, such as the sample animals tree, starts with a broad group at the top and splits it into smaller groups until each item sits at the end of a branch. For a sequence of choices, each path from the root to the end of a branch is one complete outcome. If you choose a lunch with soup, salad or sandwich and then a drink, every combination is one path. Counting the ends of the branches gives you the number of outcomes, which is why the Choices template is useful for counting.

What is a branching tree diagram?

A branching tree diagram is a tree in which every item splits into two or more branches, so the drawing fans out from one root. A hierarchy such as product categories is a branching tree with no numbers on it. A probability tree is a branching tree whose branches carry chances. The Branching tree: product categories template shows the first kind: one shop, three groups and eight sub-categories, 12 boxes in all. Type a new line indented under any box to add a branch to it.

How do you calculate probabilities on a tree diagram?

A probability tree is a tree diagram where each branch is labelled with the chance of that outcome. Chances can be written as fractions (1/2), decimals (0.5) or percentages (50%). The probabilities of the branches leaving any one point must add up to 1, because one of those outcomes has to happen.

To draw one, start by drawing a branch for each possible outcome of the first event and write its probability on it. From the end of each branch, draw the outcomes of the next event with their probabilities, and repeat for any further events. To find the probability of a whole sequence, multiply the probabilities along its path. To find the probability of an outcome that can happen in more than one way, add the results of the paths that give that outcome.

For example, a bag holds 3 red and 2 blue marbles, and you draw two without replacement. The first draw gives red 3/5 and blue 2/5. If the first marble is red, the second draw gives red 2/4 and blue 2/4. The path red then red is 3/5 × 2/4 = 3/10. Red then blue is also 3/10, blue then red is 2/5 × 3/4 = 3/10, and blue then blue is 2/5 × 1/4 = 1/10. These four results add up to 1. The probability of at least one red is the sum of the three paths that include red, which is 9/10.

The Three coin flips template shows the same rule on a longer tree: every one of its 8 paths has probability 1/2 × 1/2 × 1/2 = 1/8. In the Two free throws at 70% template the labels are percentages, and the four paths come to 49%, 21%, 21% and 9%. The chance of scoring at least once is 49% + 21% + 21% = 91%.

The tool can check this for you. When the branch labels are probabilities, a table under the diagram lists every path from the first item to the end of a branch, with its probability and the total of all paths.

Path (Two free throws at 70%)Probability
Scores, then scores again49%
Scores, then misses21%
Misses, then scores21%
Misses, then misses9%

Frequently asked questions

What is a factor tree?

A factor tree splits a number into two factors, then splits each factor again, until only prime numbers are left at the ends of the branches. For 60, one tree gives 60 = 6 × 10, then 6 = 2 × 3 and 10 = 2 × 5. So 60 = 2 × 2 × 3 × 5.

Can I make a tree diagram from text?

Yes. Click Text and type an indented outline with one item per line. A line indented under another line becomes its child, using two spaces or a tab per level, and a leading - or * is ignored. Several top-level lines make several separate trees. The diagram redraws as you type, and any changes you make in the drawing update the text.

Can I export a tree diagram as PNG, SVG or PDF?

Yes. The Export menu offers a PNG image, a PNG at 2x, a PNG at 4x (print quality), an SVG (vector) file and a PDF. You can also copy the image to the clipboard. Files are cropped to the diagram, have a white background and carry no watermark. Free includes 3 PNG, SVG or PDF exports a month. Choose the 4x PNG or the SVG if you need a sharp image for print.

What does the warning about branches not adding up to 1 mean?

When the branch labels are probabilities, the tool checks the branches leaving each item. If they do not add up to 1, a warning appears. This usually means one label is mistyped or a branch is missing. Check that the branches from each point cover every possible outcome.

Is there a free tree diagram template?

Yes. The Templates menu has eight, and each one is fully editable. Two coin flips, Three coin flips, Two free throws at 70% and Marbles from a bag are probability trees. Choices suits counting outcomes, Factor tree of 60 suits prime factors, and Classifying animals and Branching tree: product categories suit sorting items into groups. Pick the closest one and change the text.

Can I use my tree diagrams commercially?

Yes. Tree diagrams you make here are yours to use for personal, school and commercial work, including reports, slides, books and printables you sell. No credit is required. The only thing you may not do is copy the tool or the site itself to run a competing service; see the terms.

How do I calculate the probability of a path on a tree diagram?

Multiply the probabilities along the path from the root to the end of a branch. For 3 red and 2 blue marbles drawn without replacement, red then red is 3/5 × 2/4 = 3/10. If an outcome can happen in more than one way, add the results of those paths.