What is a Markdown directory tree?
A Markdown directory tree (also called a folder tree generator or markdown tree structure) converts indented Markdown list items into an ASCII folder tree (├──, └──, │) and back. The output matches the classic GNU tree command and macOS terminal tree—ideal for README files, project structure docs, and documentation outlines.
Feature Overview
This directory tree generator enables bidirectional conversion between Markdown-formatted lists and ASCII tree structures. Editing and conversion run entirely in your browser; the tool is free to use.
How to Use
- Bidirectional Conversion: Edit Markdown format on the left, ASCII format on the right. Content automatically syncs between formats.
- Markdown Editing: Enter a Markdown-formatted list in the left input box, use Tab to indent, Shift+Tab to reduce indentation, use + or - as list item markers for each line.
- ASCII Editing: Edit the ASCII tree structure directly on the right side; changes will automatically update to corresponding Markdown format on the left.
- Quick Copy: Click the "Copy" button on either side to copy the content in the respective format to your clipboard.
Notes
- The input Markdown list should not start with spaces.
- Use the Tab key to easily adjust indentation levels.
- The generated tree structure automatically ignores empty lines.
- You can edit from either side, and the other side will update automatically.
FAQ (essentials)
What is a markdown tree generator?
It renders nested Markdown bullets as a plain-text ASCII directory tree, or converts a tree back into a list, using CommonMark list nesting rules.
Is it free? Is my data uploaded?
Yes, it is free. All editing and conversion happen locally in your browser; your directory content is never sent to a server.
Does the output match the tree command?
Yes. Connectors like ├──, └──, and │ follow the style of GNU tree and common terminal output, ready to paste into Markdown or a README.