Directory Tree Generator – Paste Paths, Get ASCII Tree

Paste a list of file or folder paths and instantly generate a clean ASCII directory tree (├── └── │) for README, docs and code review. Supports Windows and Unix separators, sorting options, copy and download. Runs entirely in your browser.

Generate a directory tree from paths

Paste one path per line (Windows \ or Unix / separators both work). Lines starting with # are ignored.

Tree preview
Paste some paths to generate a tree.

A path that appears as a prefix of other paths is treated as a folder; otherwise it is shown as a file. Duplicate paths are merged automatically. Nothing leaves your browser — the tree is generated locally.

🔗 Related Tools