Folder Structure Generator
Turn a text tree into real folders and files (ZIP, Bash or PowerShell script), or make a ├── tree diagram of a folder on your computer for READMEs and docs.
Tool
About this tool
About Folder Structure Generator
Plan a project in plain text – indent with spaces or paste a ├── tree from a tutorial – and download it as a ZIP of empty folders and files, or as a mkdir/touch script for Linux and macOS or a PowerShell script for Windows. Going the other way, choose a folder on your computer and get a neat tree diagram (with sizes if you like) to paste into README files, documentation or support tickets.
How it works
Example
How to use this tool
- Choose what to do: text tree → folders, or folder → text tree.
- Type the tree or choose the folder.
- Download the ZIP or script, or copy the tree.
Frequently asked questions
Does it read my files?
Only their names and sizes in folder mode, in your browser. File contents are never read or uploaded.
Will the script overwrite files?
mkdir -p and touch keep existing files; New-Item -Force in PowerShell keeps folders but empties existing files – run it in a new folder.
Is my data uploaded?
No. Everything is processed in your browser and stays on your device.
Are my files uploaded by the Folder Structure Generator?
No. The Folder Structure Generator reads your files in your browser, so your data stays on your device. Very large files may be slow on older phones.