Directory Tree Generator
Show the structure of a folder as a neat tree, the way the tree command draws it, to put in a README, a report or a message. Choose a folder on your computer, a ZIP or TAR archive, or paste a list of paths; leave out folders like node_modules or .git, limit the depth, add sizes, and copy or download the result as text, Markdown, HTML, JSON or CSV. Everything happens in your browser: only the names and sizes of files are read, never their content, and nothing is uploaded.
Make a directory tree
Only the names and sizes are read; nothing is uploaded.
Paste a list of paths
Choose a folder, an archive or paste a list.
How to make a directory tree
- Choose a folder with Choose a folder, an archive with Choose a ZIP or TAR file, or paste paths (one a line) and press Make the tree.
- Choose the format and the style, and if you like a depth, folders to leave out (for example node_modules, .git, *.log) and sizes.
- Press Copy or Download.
Good to know
- Your browser may ask whether to "upload" the folder: that is its standard question for choosing a folder. The page only reads the names and sizes of the files; nothing leaves your computer.
- Empty folders do not show when you choose a folder (the browser lists files only); they do show from archives and from pasted paths ending in / or \.
- Pasted lists can come from find ., dir /s /b or a file manager. The part every line shares (such as C:\Users\me\project\) is taken off.
- Archives are read up to 2 GB; 7-Zip and RAR archives are listed by the Archive Extractor.
Privacy
Everything is done in your browser. Nothing is uploaded.