Skip to content

BranchLogic

Free online decision tree maker. Write a tree in YAML, upload it, and click through the questions step by step in your browser.

A decision tree app turns a set of questions and answers into a guide anyone can follow. Here you describe the tree as plain text, load it from a file in a standard format (YAML or JSON), and the app walks you through it one question at a time.

Features

  • Define a tree in YAML or JSON: an id, title, description, and steps with text and labeled connections
  • Upload by file picker, drag and drop, or paste, with schema validation and a YAML editor with inline hints
  • Follow a tree one step at a time with buttons for each answer, a breadcrumb trail, Back and Reset
  • Connections can point at any step, so a tree can loop back to an earlier question
  • Built-in sample trees such as Journey to Work, What for Dinner and Weekend Activity
  • Copy a ready-made prompt with the schema to have an LLM draft a tree from a plain-English description

How it works

A tree is one file. It has an id (lowercase letters, numbers and dashes), a title, a description, and a steps map. Every tree needs a step named root, which is where the walkthrough starts. Each step has some text and a list of connections. Each connection has a dstId, the step it leads to, and a text label that becomes the button. A step with no connections is an outcome.

id: printer-help
title: Printer won't print
description: Quick checks before calling support
steps:
  root:
    text: Is the printer powered on?
    connections:
      - dstId: queue
        text: Yes
      - dstId: power
        text: No
  power:
    text: Plug it in and turn it on, then try again.
    connections:
      - dstId: root
        text: Start over
  queue:
    text: Is there a stuck job in the print queue?
    connections:
      - dstId: clear
        text: Yes
      - dstId: support
        text: No
  clear:
    text: Cancel the job and print again.
  support:
    text: Contact your IT or support team.

Open the upload page, paste this in or drop the file on it, and the tree is added. The editor checks it against the schema as you type and tells you what is wrong. If a connection points at a step that does not exist, or the root step is missing, the upload is rejected with a message. If a connection has no label, its button says "Continue".

Use cases

  • Troubleshooting guides: walk someone through "is it plugged in?" style checks
  • Triage and support scripts: route a question to the right answer or team
  • Onboarding: step a new teammate through "which process applies to me?"
  • Everyday choices: what to have for dinner, what to do this weekend, which movie genre to watch
  • Teaching: show how a conditional flow works with a tree you can click through
  • Loops and retries: send the reader back to an earlier question when an answer does not fit

Who it's for

Anyone who wants an interactive flowchart-style guide for troubleshooting, triage, onboarding or everyday choices, without drawing diagrams.

FAQ

Is there an app that creates a decision tree from a standard file format?

Yes. Write the tree in YAML or JSON and upload it as a .yaml or .json file, drop it on the upload page, or paste the text. The app validates it against a JSON schema and then lets you click through it.

Do I need an account, and does it cost anything?

No account, and it is free to use. There is nothing to sign up for.

Where are my trees stored?

In your browser's local storage on your device. There is no backend, so the trees you upload are not sent to a server.

Can I share a tree with someone else?

Not by link. A tree is stored in the browser that uploaded it, so a link to it only works in a browser that already has that tree. To share one, send the YAML or JSON file and have them upload it.

Can a tree loop back to an earlier question?

Yes. A connection can point at any step in the tree, including one you have already visited. The Back and Reset buttons and the breadcrumb trail help you move around.

Can I export a tree?

There is no export button. Keep your YAML or JSON file as the source and upload it again whenever you need it.

Can an AI write the tree for me?

Yes. Describe your tree in plain English on the upload page and copy the generated prompt, which includes the schema. Paste it into an LLM, then upload the YAML it returns.

Privacy

No backend and no account. Trees you upload are stored in your browser only.

Open the app

Questions or feedback about BranchLogic (Decision Tree Generator)? Get in touch.

Support

Find BranchLogic useful?

BranchLogic has no paywall. A tip helps keep it running and pays for what we build next.

Checkout opens on Stripe, where you can change the amount. Why tips?

  • Free online contact card and QR code maker: share one link so people can call, text, email, or message you, or save your vCard.

  • Free online prose rewriter that trims wordy, repetitive writing with fixed rules and shows every edit as a diff. No account and no AI model.

  • Knickknack builds home and lock screen widgets for Android: photo slideshows, live content from any link, notes, and trackers you update with a tap. No account to create.