Input the structure
Paste a tree using familiar branches such as ├──, └── and │.
Turn a text-based directory tree into a real folder structure, downloadable ZIP archive, or setup script for Node.js, Bash and PowerShell.
Tree2Folder is a developer utility for turning text-based directory layouts into reproducible folders and files without manually creating every path.
Paste a tree using familiar branches such as ├──, └── and │.
Use the live output panel to generate Node.js, Bash or PowerShell setup code, or package the tree as a ZIP.
Run the selected script locally or extract the ZIP archive to create your project scaffold.
The parser reads the visible directory hierarchy and identifies paths by indentation.
File names containing an extension such as .js, .jsx,
.ts, .css or .json are treated as files,
while names without an extension are treated as directories. Keep indentation consistent
throughout the tree for predictable results.