Directory tree generator
Create ASCII or Unicode directory trees from file paths and outlines.
About Directory tree generator
Describe a project structure without running a command-line tree utility. Paste paths or write a small indented outline; the generator merges shared directories and draws the connecting branches for you.
Steps, example, and limitations
How to use it
- Paste one file path per line, or select outline mode and use two spaces or one tab per level. A trailing slash marks a folder.
- Choose a root label, ASCII or Unicode branches, sorting and optional file/folder counts.
- Copy the tree as text or fenced Markdown, or export it for a document or README.
Example
Input
src/index.js src/style.css README.md
Result
project ├── src/ │ ├── index.js │ └── style.css └── README.md
Things to know
- The tool reads only the pasted paths or the text file you open. It does not scan your computer or create folders.
- Use up to 1,500 paths and 20 levels. Parent-directory segments and skipped outline levels are rejected rather than interpreted as filesystem operations.
- Repeated paths merge into the same branch. A trailing slash is needed to distinguish an empty directory from a file when there are no child paths.