Directory Tree

支持每行一条路径或空格/Tab 缩进两种输入,输出 ASCII 目录树。

What Is the Directory Tree Generator?

The directory tree generator converts a list of paths (one per line) or indented text into a readable ASCII directory tree, perfect for showing project structures or organizing directory information.

Key Features

  • Support input as a list with one path per line
  • Support indented text with spaces or tabs
  • Automatically detect the input style and build the tree
  • Output a standard ASCII tree with one-click copy

Use Cases / Notes

Great for documenting project structures or marking directory levels in code comments. Path separators and indentation are normalized automatically, and directories are sorted first.

How to Use

  1. Paste a list of paths or indented text
  2. Click Generate Tree to build it automatically
  3. Review and copy the resulting ASCII tree